diff options
| author | Mikael Magnusson <mikachu@comhem.se> | 2006-01-15 11:39:55 +0000 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@comhem.se> | 2006-01-15 11:39:55 +0000 |
| commit | 425dc318088b4c675cc0d7e6d75c6ff552cee448 (patch) | |
| tree | 8f84b91dfc15bca5a1fcc2e11839d5896cd795a5 /render/font.c | |
| parent | b287b126ccebe8f65b90cba8191b720fdb901d49 (diff) | |
fix pixelsize when using pango (set_size != set_absolute_size)
Diffstat (limited to 'render/font.c')
| -rw-r--r-- | render/font.c | 2 |
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); } |
