Home
Docs
Install
ttfquery
ttfquery.findsystem
Find system fonts (only works on Linux and Win32 at the moment)
Functions
findFonts
(
paths = None
)
Find fonts in paths, or the system paths if not given
XXX Doesn't current support OS-X system paths
linuxFontDirectories
(
)
Get system font directories on Linux/Unix
Uses /usr/sbin/chkfontpath to get the list of system-font directories, note that many of these will *not* be truetype font directories.
If /usr/sbin/chkfontpath isn't available, uses returns a set of common Linux/Unix paths
win32FontDirectory
(
)
Get User-specific font directory on Win32
win32InstalledFonts
(
fontDirectory = None
)
Get list of explicitly *installed* font names