fonts — Phatch v0.2 documentation

### Navigation

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

# fonts

`lib.fonts.` `basename`(font_file)

`lib.fonts.` `collect_fonts`()
  Collect a list of all font filenames.

`lib.fonts.` `example`()

`lib.fonts.` `font_dictionary`(filename=None, force=False)
  Path specification for the font dictionary, cached

`lib.fonts.` `font_names`(filename=None)

`lib.fonts.` `locate_files`(command)

`lib.fonts.` `merge`(*paths)

`lib.fonts.` `name`(x)

  Split camelcase filenames and ensure title case.

      >>> name('ArialBlack italic')
      'Arial Black Italic'

`lib.fonts.` `set_font_cache`(user_fonts_path, root_fonts_path, user_fonts_cache_path, root_fonts_cache_path)
  Expose global variables

### Navigation

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