summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@comhem.se>2006-01-15 11:40:21 +0000
committerMikael Magnusson <mikachu@comhem.se>2006-01-15 11:40:21 +0000
commitb177ace2c3e0eedcdb62212bdaeb00a04dfb9c45 (patch)
tree6db64c42a8261317fae8e46c5f06def168a0dc03
parent425dc318088b4c675cc0d7e6d75c6ff552cee448 (diff)
yes it is
-rw-r--r--render/font.c3
1 files changed, 1 insertions, 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);
}