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:
zeljko 2010-11-24 10:07:46 +00:00
parent d34e4eb1c0
commit d500a9f47b

View File

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