From b177ace2c3e0eedcdb62212bdaeb00a04dfb9c45 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Sun, 15 Jan 2006 11:40:21 +0000 Subject: [PATCH] yes it is --- render/font.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/render/font.c b/render/font.c index cb767671..2a1872e0 100644 --- a/render/font.c +++ b/render/font.c @@ -129,8 +129,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_absolute_size(out->pango_font_description, + pango_font_description_set_size(out->pango_font_description, tmp_int*PANGO_SCALE); } -- 2.45.2