]> Dogcows Code - chaz/openbox/commitdiff
fix pixelsize when using pango (set_size != set_absolute_size)
authorMikael Magnusson <mikachu@comhem.se>
Sun, 15 Jan 2006 11:39:55 +0000 (11:39 +0000)
committerMikael Magnusson <mikachu@comhem.se>
Sun, 15 Jan 2006 11:39:55 +0000 (11:39 +0000)
render/font.c

index f46bb660cdb2b7aded0da3be6c9589dda71598dc..cb76767154a632f04d7c04da4c449d7b7177c70c 100644 (file)
@@ -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);
     }
 
This page took 0.023864 seconds and 4 git commands to generate.