font_manager.py x11FontDirectory()

x11FontDirectory() uses '/usr/sbin/chkfontpath' if available, to find system
font directories.
I believe chkfontpath was developed to work with the old X server method
of font handling and is now obsolete, and gives unreliable results.

On my system (Fedora 4) chkfontpath lists subdirectories of
    /usr/X11R6/lib/X11/fonts/
    /usr/share/fonts/
but fails to list
    /usr/share/fonts/bitstream-vera

I propose deleting the use of chkfontpath, and simply using:
X11FontDirectories = [
    "/usr/X11R6/lib/X11/fonts/TTF/",
    "/usr/share/fonts/"
    ]

Also, fontconfig (part of the newer font handling system than makes chkfontpath
obsolete) provides utilities to query fonts:
'fc-list' lists the available fonts,
'fc-cache -v' (as root) lists the font directories.

Steve

Send instant messages to your online friends http://au.messenger.yahoo.com