fix pixelsize when using pango (set_size != set_absolute_size)
Mikael Magnusson mikachu@comhem.se
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
render/font.c
→
render/font.c
@@ -130,7 +130,7 @@
if (FcPatternGetInteger(match, "pixelsize", 0, &tmp_int) != FcResultTypeMismatch) { /* TODO: is PANGO_SCALE correct ?? */ - pango_font_description_set_size(out->pango_font_description, + pango_font_description_set_absolute_size(out->pango_font_description, tmp_int*PANGO_SCALE); }