List all fonts filename

Moi15 Moi <[email protected]> Fri, 23 Dec 2022 09:29:17 -0500
Newsgroups gmane.comp.python.windows
Message-ID <CAKoyp4N5N2ZkiZj0+Dw=Fq+coNk76SxgC9fG846ygeKhk-8MXw@mail.gmail.com>
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

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