From 425dc318088b4c675cc0d7e6d75c6ff552cee448 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Sun, 15 Jan 2006 11:39:55 +0000 Subject: [PATCH] fix pixelsize when using pango (set_size != set_absolute_size) --- render/font.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.45.2