Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 1.78 KB

File metadata and controls

29 lines (24 loc) · 1.78 KB

FindSystemFontsFilename

FindSystemFontsFilename - CI Build Status FindSystemFontsFilename - Version FindSystemFontsFilename - Python Version FindSystemFontsFilename - Coverage

This tool allows you to get the font filename on your system. It will collect TrueType (.ttf), OpenType (.otf), TrueType Collection (.ttc) and OpenType Collection (.otc) font format.

It uses some APIs to find the font filename:

Installation

pip install FindSystemFontsFilename

How to use it

from find_system_fonts_filename import get_system_fonts_filename, FindSystemFontsFilenameException

try:
    fonts_filename = get_system_fonts_filename()
except FindSystemFontsFilenameException:
    # Deal with the exception
    pass