summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@comhem.se>2006-01-15 11:39:55 +0000
committerMikael Magnusson <mikachu@comhem.se>2006-01-15 11:39:55 +0000
commit425dc318088b4c675cc0d7e6d75c6ff552cee448 (patch)
tree8f84b91dfc15bca5a1fcc2e11839d5896cd795a5 /render
parentb287b126ccebe8f65b90cba8191b720fdb901d49 (diff)
fix pixelsize when using pango (set_size != set_absolute_size)
Diffstat (limited to 'render')
-rw-r--r--render/font.c2
1 files changed, 1 insertions, 1 deletions
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);
}