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

Previous topic

events

Next topic

formField