findsystem — Phatch v0.2 documentation

### Navigation

- index
- modules |
- next |
- previous |
- Phatch v0.2 documentation »
- other »

# findsystem

Find system fonts (only works on Linux and Win32 at the moment)

`other.findsystem.` `findFonts`(paths=None)

  Find fonts in paths, or the system paths if not given

  XXX Doesn’t current support OS-X system paths

`other.findsystem.` `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

`other.findsystem.` `win32FontDirectory`()
  Get User-specific font directory on Win32

`other.findsystem.` `win32InstalledFonts`(fontDirectory=None)
  Get list of explicitly installed font names

### Navigation

- index
- modules |
- next |
- previous |
- Phatch v0.2 documentation »
- other »