|
From: | Jan D. |
Subject: | Re: -urw-* font is always used |
Date: | Sat, 18 Oct 2003 19:44:08 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 |
Ognyan Kulev wrote:
Kim F. Storm wrote:"Jan D." <address@hidden> writes:By chance, I just got the same problem (but not in Emacs), that just empty boxes where shown. There seems to be some bugs in fontconfig, removing ~/.fonts.cache* fixed it for me.AFAIK Emacs doesn't use Fontconfig in rendering window content, only in rendering menus, etc (--with-gtk). I think window content is always rendered with the good old X core fonts.
Fontconfig is just a font selection mechanism. If you are running XFree86 4.3.0, you have fontconfig in there. But that version is older than the version that Gnome wants.
My problem (I think) was that I started an Emacs that used the Gnome libraries (i.e. GTK and newer fontconfig), and then the other non-GTK apps used the older fontconfig. These apps then displayed empty boxes, because the newer fontconfig wrote a ~/.fonts.cache-1 that the older fontconfig apparently did not understand. Or it can just be a bug in fontconfig that corrupts ~/.fonts.cache-1.
If it happens again, you can always try to remove ~/.fonts.cache-1 and restart Emacs, to see if you have the same problem.
Jan D.
[Prev in Thread] | Current Thread | [Next in Thread] |