Skip to content
Prev 386902 / 398502 Next

Monospaced font not shown correctly (Xubuntu 20.04)

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 does this give you (the matches for the default "sans" and "serif" 
on Cairo-based devices) ... ?

fc-match Times
fc-match Helvetica

If those are .ttf or .otf fonts then that would explain why "sans" and 
"serif" still work.

A workaround is to specify the family name for a non-Type-1 monospaced 
font, e.g., "Courier New" (?), or install a non-Type-1 Courier 
replacement (and specify that).

Hope that helps.

Paul
On 20/01/21 3:48 am, Viechtbauer, Wolfgang (SP) wrote: