Re: Font debugging code

Поиск
Список
Период
Сортировка
От Andreas Pflug
Тема Re: Font debugging code
Дата
Msg-id 3F8EA1B5.6040609@pse-consulting.de
обсуждение исходный текст
Ответ на Re: Font debugging code  ("Dave Page" <dpage@vale-housing.co.uk>)
Список pgadmin-hackers
Dave Page wrote:

>
>
>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



В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Raphaël Enrici
Дата:
Сообщение: Re: SSL detection bug is back under debian...
Следующее
От: "Adam H. Pendleton"
Дата:
Сообщение: Re: SSL detection bug is back under debian...