[python-win32] Fonts behaving differently with Py3/216
Greg Ewing
greg.ewing at canterbury.ac.nz
Fri Mar 4 03:31:36 CET 2011
I recently tried running PyGUI on Python 3 using
pywin32 build 216, and a couple of things are
not working quite the same way as they were with
Python 2 and build 213.
1) The default font used for control labels etc.
is slightly smaller.
2) When I calculate the width of a piece of text
using DC.GetTextExtent() I get a value that is
too small, and doesn't match the actual size of
the text as it is drawn.
Anyone have any idea what might have changed,
and what I can do about it?
--
Greg
More information about the python-win32
mailing list