[Lazarus] GTK2 font size smaller

cobines cobines at gmail.com
Wed Dec 8 20:07:25 CET 2010


2010/12/8 zeljko <zeljko at holobit.net>:
> Have you tried gtk2 Font.Height vs qt Font.Height or  Font.Size ?

I have used Font.Size. With Font.Height the font has the same size on
LCLQT and LCLGTK2 but it is smaller than in other applications.


> Please try r28646, there was problem with font calculation when lfHeight < 0
> and Size > 0.
> Now font sizes/heights (any) looks same across gtk,gtk2 and qt.

Yes, after this commit when I set Font.Size now the size is the same
in LCLGTK2 and LCLQT, and also the same as in non-Lazarus
applications.
Thanks!

--
cobines




More information about the Lazarus mailing list