[python-win32] Fonts behaving differently - The plot thickens a bit

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Mar 6 22:51:34 CET 2011


Roger Upole wrote:

> The conversion in win32ui has changed since 212.  At one time it
> was negating the height that was passed in:
> 
> if (PyInt_Check (v))
>     pLF->lfHeight = -PyInt_AsLong(v);

Ah, that explains it all!

> You can also extract the version embedded in the pyd's using
> win32api.GetFileVersionInfo.

That sounds great, thanks.

Do you happen to know exactly which version the change was
made in, so I can get the version test right?

-- 
Greg


More information about the python-win32 mailing list