FontFile.createFromTrueTypeFileName Function

Create a FontFile from a FontType.TrueType file on disk.

createFromTrueTypeFileName(fileName: string): FontFile

Parameter Type Description
fileName string The absolute path to the font file.

Returns - FontFile

Defined in

Last Updated: 18 January, 2025