Re: [python-win32] Load custom font

2022-06-09 Thread Steven Manross
: [python-win32] Load custom font Here’s a more windows centric approach and it foreaches through all the Windows fonts: ** It’s interesting that it says that it was last modified today… odd, but whatever from win32com.client.dynamic import Dispatch ids

Re: [python-win32] Load custom font

2022-06-09 Thread Steven Manross
9/‎2022 ‏‎11:16 AM From: python-win32 On Behalf Of Jérémie Bergeron Sent: Wednesday, June 8, 2022 6:28 AM To: python-win32@python.org Subject: [python-win32] Load custom font 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?

Re: [python-win32] Load custom font

2022-06-09 Thread Steven Manross
ow.com/questions/24085996/how-i-can-load-a-font-file-with-pil-imagefont-truetype-without-specifying-the-ab HTH Steven From: python-win32 On Behalf Of Jérémie Bergeron Sent: Wednesday, June 8, 2022 6:28 AM To: python-win32@python.org Subject: [python-win32] Load custom font Hi, Is it possible

[python-win32] Load custom font

2022-06-09 Thread Jérémie Bergeron
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 mailin