After installing fontconfig-2.1-2mdk, gnome2 programs (e.g. gedit,
gconf-editor) refuse to start:

$ gedit
No fonts found; this probably means that the fontconfig
library is not correctly configured. You may need to
edit the fonts.conf configuration file. More information
about fontconfig can be found in the fontconfig(3) manual
page and on http://fontconfig.org

strace(1) reveals that programs are reading the cache, and fc-list
returns 511 entries (lower than before).

I note that the cache files contain what looks suspiciously like garbage
as the charset entry for each font, but I'm not sure if that's the
problem.  The previous version of fontconfig did the same.

Running fc-cache -v as root doesnt' help:

# fc-cache -v -f
fc-cache: "/usr/X11R6/lib/X11/fonts": caching, 0 fonts, 9 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/encodings": caching, 0 fonts, 1 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/encodings/large": caching, 0 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/Speedo": caching, 0 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/TTF": caching, 34 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/Type1": caching, 29 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/mdk": caching, 0 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/misc": caching, 55 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/75dpi": caching, 397 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/100dpi": caching, 397 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/drakfont": caching, 348 fonts, 0 dirs
fc-cache: "/usr/share/fonts": caching, 0 fonts, 5 dirs
fc-cache: "/usr/share/fonts/default": caching, 0 fonts, 2 dirs
fc-cache: "/usr/share/fonts/default/Type1": caching, 35 fonts, 0 dirs
fc-cache: "/usr/share/fonts/default/ghostscript": caching, 19 fonts, 0 dirs
fc-cache: "/usr/share/fonts/afms": caching, 0 fonts, 1 dirs
fc-cache: "/usr/share/fonts/afms/adobe": caching, 0 fonts, 0 dirs
fc-cache: "/usr/share/fonts/override": caching, 0 fonts, 0 dirs
fc-cache: "/usr/share/fonts/ttf": caching, 0 fonts, 2 dirs
fc-cache: "/usr/share/fonts/ttf/western": caching, 9 fonts, 0 dirs
fc-cache: "/usr/share/fonts/ttf/decoratives": caching, 30 fonts, 0 dirs
fc-cache: "/usr/share/fonts/otf": caching, 0 fonts, 1 dirs
fc-cache: "/usr/share/fonts/otf/mdk": caching, 3 fonts, 0 dirs
fc-cache: "/root/.fonts": no such directory, skipping
fc-cache: succeeded

The first line of /usr/X11R6/lib/X11/fonts/TTF/fonts.cache-1 is:
"luximb.ttf" 0 "Luxi Mono:style=Bold:slant=0:weight=200:spacing=100:inde
x=0:outline=True:scalable=True:charset=  |>^1!|>^1!P0oWQ!!!!#|>^1!|>^1!|
>^1!!!!%#|>^1!|>^1!|>^1!|>^1!!!K?&   !!!)$&olY4     9;*l$ !!!.% !!!!j 9W
Ilj!!!#R   !!#0GMBc)1<QKQc!!!!5  !!!W5  !!#3H !!$<n      !!#6I!dOjM     
!!!!G !!+?j!!!!)       !!+Qp!!!(w       !!+fv     9WIlj  !!+lx       P0o
WR!!+u{!!!!)       :lang=aa|af|ast|ay|bi|br|bs|ca|ch|co|cs|da|de|en|eo|e
s|et|eu|fi|fj|fo|fr|fur|fy|gd|gl|gv|ho|hr|hu|ia|id|ie|io|is|it|ki|kl|la|
lb|lt|lv|mg|mh|mt|nb|nl|nn|no|ny|oc|om|pl|pt|rm|ro|se|sk|sl|sma|smj|smn|
so|sq|sv|sw|tn|tr|ts|vo|vot|wa|wen|wo|xh|yap|zu:fontversion=78643"

(I have folded it and run it through cat -v)


Liam

PS: http://www.linux-mandrake.com/en/cookerfaq.php3 needs to be updated
    to mention bugzilla if that's now the perferred reporting method.

-- 
Liam Quin, W3C XML Activity Lead, [EMAIL PROTECTED], http://www.w3.org/People/Quin/
http://www.holoweb.net/~liam/
Ankh's list of IRC clients: http://www.valinor.sorcery.net/clients/

Reply via email to