[python-win32] Fonts behaving differently - The plot thickensa bit

Roger Upole rupole at hotmail.com
Sun Mar 6 23:23:44 CET 2011


"Greg Ewing" <greg.ewing at canterbury.ac.nz> wrote in message news:4D7401E6.2070103 at canterbury.ac.nz...
> 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

213 was the first build without the negation.

       Roger





More information about the python-win32 mailing list