With icon font = 18pt Tahoma:
2003-10-16 14:18:01 INFO : Using fontmetrics 7/16, 18 Point 2003-10-16 14:18:01 INFO : Native Description '0;-24;0;0;0;400;0;0;0;1;0;0;0;0;Tahoma' 2003-10-16 14:18:01 INFO : Draw size of 'M': w=19, h=29, descent 5, external lead 0. 2003-10-16 14:18:01 INFO : Draw size of 'g': w=13, h=29, descent 5, external lead 0. 2003-10-16 14:18:01 INFO : Draw size of 'Mg': w=32, h=29, descent 5, external lead 0.
Regards, Dave.
Huh, that's bloody wrong.
Did you by any chance define wxDIALOG_UNIT_COMPATIBILITY to 1? This means backwards compatibility, meaning silly wrong calculation. Is the 'I'd like random values' option.
When you step from frmMain into GetCharWidth(), the code in wx/src/msw/window.cpp Line 5574 needs to be executed, or the wrong font is evaluated. Actually, commenting out this part of code doesn't make any sense at all...
Regards, Andreas
---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings
