Load custom font

Jérémie Bergeron <[email protected]> Wed, 8 Jun 2022 13:27:48 +0000
Newsgroups gmane.comp.python.windows
Message-ID <DM4PR03MB61572BB60C74AFF2EB8B81CDCEA49@DM4PR03MB6157.namprd03.prod.outlook.com>
Hi,

Is it possible to get the family name of a font and/or any other information from the naming table from a font file?

Something like that:
font = win32ui.loadFont(pathToTheFont)
familyName = font.getNameId(1)

Have a nice day

_______________________________________________
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32