Missing Fonts

From Leo's Notes
Revision as of 06:20, 1 September 2019 by Leo (talk | contribs) (Text replacement - "Category:Linux{{Navbox Linux}}" to "{{Navbox Linux}}Category:Linux")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This page was last edited on 1 September 2019, at 06:20.

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