Missing Fonts: Difference between revisions

From Leo's Notes
This page was last edited on 1 September 2019, at 06:20.
m Text replacement - "{{highlight|lang=bash" to "{{highlight|lang=terminal"
m Text replacement - "Category:Linux{{Navbox Linux}}" to "{{Navbox Linux}}Category:Linux"
 
(One intermediate revision by the same user not shown)
Line 14: Line 14:
http://stackoverflow.com/questions/2568408/pango-warning-failed-to-choose-a-font-expect-ugly-output
http://stackoverflow.com/questions/2568408/pango-warning-failed-to-choose-a-font-expect-ugly-output


[[Category:Linux]]
{{Navbox Linux}}[[Category:Linux]]

Latest revision as of 06:20, 1 September 2019

If your machine is headless, chances are you will not have any fonts installed. X11 programs will therefore be rendering characters as square boxes.

You'll most likely also see the error message:

Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='common'

Fix this by installing the missing X11 fonts:

dnf -y install xorg-x11-font\*

See Also

http://stackoverflow.com/questions/2568408/pango-warning-failed-to-choose-a-font-expect-ugly-output