Skip to content

msaUtils Module

.fonts


Functions

findSystemFonts async

findSystemFonts(
    fontpaths=None, fontext="ttf"
) -> List[str]

Search for fonts in the specified font paths.

If no paths are given, will use a standard set of system paths, as well as the list of fonts tracked by fontconfig if fontconfig is installed and available. A list of TrueType fonts are returned by default with AFM fonts as an option.

RETURNS DESCRIPTION
ret

List[str] of fname of fontfiles in path

TYPE: List[str]


Last update: September 24, 2022
Created: September 24, 2022