mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 04:39:36 +02:00
Gtk2: use pango_font_description_set_absolute_size() instead of pango_font_description_set_size().Now font sizes are same like in qt and gtk under linux.
git-svn-id: trunk@28446 -
This commit is contained in:
parent
d34e4eb1c0
commit
d500a9f47b
@ -1438,7 +1438,7 @@ begin
|
||||
aSize := -MulDiv(lfheight, 72, ScreenInfo.PixelsPerInchY) * PANGO_SCALE
|
||||
else
|
||||
aSize := lfHeight * PANGO_SCALE;
|
||||
pango_font_description_set_size(PangoDesc, aSize);
|
||||
pango_font_description_set_absolute_size(PangoDesc, aSize);
|
||||
end;
|
||||
|
||||
// create font
|
||||
|
Loading…
Reference in New Issue
Block a user