Re: Font debugging code

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

> -----Original Message-----
> From: Andreas Pflug [mailto:pgadmin@pse-consulting.de]
> Sent: 16 October 2003 13:05
> To: pgadmin-hackers
> Subject: [pgadmin-hackers] Font debugging code
>
> Hi friends,
>
> I added some font debugging code to frmMain, all you folks
> that suffer from bad looking/calculated dialogs, please check
> the debugging info that's written to the log file and post
> the values if there's something going wrong.
> Usually, the metrics for dialog recalculation should be the
> average width of the character 'g', and the height of all
> debugging output shouldn't differ at all.

With icon font = 8pt Tahoma:

2003-10-16 14:14:25 INFO   : Using fontmetrics 7/16, 8 Point
2003-10-16 14:14:25 INFO   : Native Description
'0;-11;0;0;0;400;0;0;0;1;0;0;0;0;Tahoma'
2003-10-16 14:14:25 INFO   : Draw size of 'M': w=8, h=13, descent 2,
external lead 0.
2003-10-16 14:14:25 INFO   : Draw size of 'g': w=6, h=13, descent 2,
external lead 0.
2003-10-16 14:14:25 INFO   : Draw size of 'Mg': w=14, h=13, descent 2,
external lead 0.

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.


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

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