Re: [R] Monospaced font not shown correctly (Xubuntu 20.04)

2021-01-20 Thread Rasmus Liland
On 2021-01-20 12:29 +0100, Wolfgang Viechtbauer wrote: > > That looks like a more elegant solution, not requiring hardcoding paths. > Thanks for the suggestion! Thanks, no problem R __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see

Re: [R] Monospaced font not shown correctly (Xubuntu 20.04)

2021-01-20 Thread Rasmus Liland
On 2021-01-20 09:45 +, Viechtbauer, Wolfgang (SP) wrote: > And to conclude this little saga (that nobody is probably reading, but at > least then there is a solution in the archives): > > Adding the following to ~/.config/fontconfig/fonts.conf worked for me: > > > > > > >

Re: [R] Monospaced font not shown correctly (Xubuntu 20.04)

2021-01-20 Thread Viechtbauer, Wolfgang (SP)
rrell; r-help@r-project.org >Subject: Re: [R] Monospaced font not shown correctly (Xubuntu 20.04) > >Ah, nevermind. X11Fonts() is only for Xlib. > >I'll see if I can figure out how to get 'fc-match Courier' to point to a >otf/ttf font. I guess this is explained here: >https://www

Re: [R] Monospaced font not shown correctly (Xubuntu 20.04)

2021-01-20 Thread Viechtbauer, Wolfgang (SP)
R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Viechtbauer, >Wolfgang (SP) >Sent: Wednesday, 20 January, 2021 9:44 >To: Paul Murrell; r-help@r-project.org >Subject: Re: [R] Monospaced font not shown correctly (Xubuntu 20.04) > >Dear Paul, > >Thanks for the helpful repl

Re: [R] Monospaced font not shown correctly (Xubuntu 20.04)

2021-01-20 Thread Viechtbauer, Wolfgang (SP)
-*-*-%d-*-*-*-*-*-*-*") X11(family="mono") plot(1) Best, Wolfgang >-Original Message- >From: Paul Murrell [mailto:p...@stat.auckland.ac.nz] >Sent: Wednesday, 20 January, 2021 0:37 >To: Viechtbauer, Wolfgang (SP); r-help@r-project.org >Subject: Re: [R] M

Re: [R] Monospaced font not shown correctly (Xubuntu 20.04)

2021-01-19 Thread Paul Murrell
Hi The switch to XUbunutu 20.04 may mean a switch to Pango > 1.44 (it does on Ubuntu 20.04), which means loss of support for Type 1 fonts (on Cairo-based graphics devices). The Courier fonts (the default for "mono" on Cairo-based devices) that you found are all Type 1 (.pfb) fonts. What

[R] Monospaced font not shown correctly (Xubuntu 20.04)

2021-01-19 Thread Viechtbauer, Wolfgang (SP)
Hi all, On my system (Xubuntu 20.04), using par(family="mono") is not rendered correctly. The same issue was raised here: https://stackoverflow.com/questions/64207220/rendering-plot-in-r-with-mono-spaced-family-font-does-not-display-characters-any Using par(family="monospace") does work: