Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pango-WARNING **: failed to choose a font, expect ugly output

I'm getting this error when starting anything that uses the Pango library. I'm using Kubuntu 9.10. I've done 'sudo apt-get --reinstall install' on libgtk* libcairo* libpango* and fontconfig, with no luck.

Could someone point me in the right direction? Thanks.

like image 249
Andrew Avatar asked Apr 02 '10 18:04

Andrew


2 Answers

I did a lot of searching on this and never found a decent answer. My issue involved running virt-manager (an xwindows based utility) on a remote server. I have all the fonts on my xwindows box but not on the remote host.

the i ran 'yum install xorg-x11-font*' on the remote host everything worked fine.

like image 163
devnull Avatar answered Sep 26 '22 04:09

devnull


I ran into this on Amazon Linux, with the minimal set of X packages necessary to run vncserver, and had to install dejavu-sans-fonts and dejavu-serif-fonts.

like image 31
lawrence Avatar answered Sep 23 '22 04:09

lawrence