[python-win32] List all fonts filename

Tim Roberts timr at probo.com
Wed Jan 4 02:51:20 EST 2023


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 Win32 API 
can be accessed through pywin32.

-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the python-win32 mailing list