Skip to content

moi15moi/FindSystemFontsFilename

Repository files navigation

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