Re: [python-win32] List all fonts filename

2023-01-05 Thread Tim Roberts
Moi15 Moi wrote: My goal is to list all the filename of the font installed without listing the file in those 2 folders: - C:\Windows\Fonts - %userprofile%\AppData\Local\Microsoft\Windows\Fonts I found a way to do it directwrite:

Re: [python-win32] List all fonts filename

2023-01-03 Thread Tim Roberts
On 1/3/23 6:13 PM, moi15moismokerlolilol wrote: I don't wanna list the family name. Then what do you want?  Do you understand how Windows arranges fonts?  "Arial" is a font family.  "Tahoma" is a font family.  You can enumerate all of the fonts using the WIn32 API, and everything in the

Re: [python-win32] List all fonts filename

2022-12-30 Thread Tim Roberts
On 12/23/22 6:29 AM, Moi15 Moi wrote: Is it possible to list all the fonts filename with pywin32? From what I can see, it is possible with the GetFontData  from GDI. GetFontData is certainly available in

[python-win32] List all fonts filename

2022-12-29 Thread Moi15 Moi
Hi, Is it possible to list all the fonts filename with pywin32? >From what I can see, it is possible with the GetFontData from GDI. Here is an example in c++: