[python-win32] Load custom font
Jérémie Bergeron
jeremiebergeronlol at outlook.com
Wed Jun 8 09:27:48 EDT 2022
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/python-win32/attachments/20220608/8f05b934/attachment.html>
More information about the python-win32
mailing list