[Lazarus] GTK2 font size smaller

cobines cobines at gmail.com
Tue Dec 7 18:54:17 CET 2010

After recent changes to LCLGTK2 font size calculations the font with
the same size seems smaller.  As zeljko has explained in another

>>Yes, I've changed gtk2 font calculation to be same as on other widgetsets (it
>>was wrong).


But the font size is inconsistent between widgetsets. Look at attached
screenshot. The left form is from GTK2 widgetset, right from QT4.
Fonts on GTK2 with same size are smaller than on QT4. The "Sample GTK2
text" is Liberation Serif pt.12 from "medit" non-lazarus GTK2 app. The
"Sample QT4 text" is from "qtconfig" non-lazarus QT4 app. You can
compare them on the right hand side of the screenshot. There is no
difference in font size between non-Lazarus GTK2 and QT4 apps but
there is a difference between LCLGTK2 and LCLQT4 apps. And there is a
difference between non-Lazarus GTK2 app and Lazarus GTK2 app.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fontsize.png
Type: image/png
Size: 26519 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20101207/424b0d1a/attachment-0002.png>

More information about the Lazarus mailing list