[python-win32] List all fonts filename

Moi15 Moi moi15moismokerlolilol at gmail.com
Fri Dec 23 09:29:17 EST 2022


Hi,
Is it possible to list all the fonts filename with pywin32?

>From what I can see, it is possible with the GetFontData
<https://learn.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-getfontdata>
from
GDI.

Here is an example in c++:
https://stackoverflow.com/questions/16769758/get-a-font-filename-based-on-the-font-handle-hfont

Have a nice day
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/python-win32/attachments/20221223/5f39a0f3/attachment.html>


More information about the python-win32 mailing list