From: Mikael Magnusson Date: Sun, 15 Jan 2006 11:39:55 +0000 (+0000) Subject: fix pixelsize when using pango (set_size != set_absolute_size) X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=425dc318088b4c675cc0d7e6d75c6ff552cee448;p=chaz%2Fopenbox fix pixelsize when using pango (set_size != set_absolute_size) --- diff --git a/render/font.c b/render/font.c index f46bb660..cb767671 100644 --- a/render/font.c +++ b/render/font.c @@ -130,7 +130,7 @@ static RrFont *openfont(const RrInstance *inst, gchar *fontstring) 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); }