Font management under win32

Neil Hodgson nyamatongwe+thunder at gmail.com
Wed Sep 28 20:37:09 EDT 2005


Stefano Masini:

> Indeed, win32gui does contain an EnumFontFamilies (without the
> trailing "Ex") function, but I found no usage example, and I couldn't
> figure out how to use LOGFONT handles (since such a thing is required
> as the first parameter to the call). So I decided to punt on it and
> ask for wiser support.

    This section of the documentation looks confusing as it appears to 
be providing LOGFONT objects rather than ENUMLOGFONT objects which 
include the name which I suspect is what you are after. ctypes will 
allow you to call the Win32 API directly and may be easier to use.

    Neil



More information about the Python-list mailing list