[python-win32] GDI+ text rendering screwed up
greg.ewing at canterbury.ac.nz
Fri Mar 20 02:05:02 CET 2009
I'm trying to use GDI+ (via ctypes) to draw text.
It works for some fonts but messes up with others.
Using Times, for example, it seems to be using the
glyphs for one character earlier in the code sequence,
so that "Times" comes out as "Shldr" -- except that it
uses the widths of the original characters for positioning.
Can someone please run the attached code and tell me
whether it works for them or not? And any ideas on what
I could be doing wrong to cause this?
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the python-win32