[python-win32] Problem accessing GetFontData in Windows API
whatyoulookin at yahoo.com
Fri Jan 22 23:03:53 CET 2010
I'm trying to access the following function from the Windows API:
I'm sure I'm drastically over simplifying, but I'm testing it like this:
This of course errors out with "AttributeError: function 'GetFontData' not found".
Does anyone have any tips on how I might access this function? I need to resolve the font face name (for example, "Arial") as returned by wxPython, to the Windows filename (for example, c:\windows\fonts\arial.ttf) as required by the Image module, and it looks like GetFontData() from the Windows API is the solution.
More information about the python-win32