]> git.sur5r.net Git - i3/i3/commitdiff
pango: divide by PANGO_SCALE to get a "normal" font size
authorMichael Stapelberg <michael@stapelberg.de>
Mon, 13 Aug 2012 11:39:58 +0000 (13:39 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Mon, 13 Aug 2012 11:39:58 +0000 (13:39 +0200)
libi3/font.c

index 08725844e09298ba98a3d339350072e8cdfd72da..23d7420de33fb805e486500435f8dff3d338aa3d 100644 (file)
@@ -45,7 +45,7 @@ static bool load_pango_font(i3Font *font, const char *desc) {
 
     LOG("Using Pango font %s, size %d\n",
         pango_font_description_get_family(font->specific.pango_desc),
-        pango_font_description_get_size(font->specific.pango_desc)
+        pango_font_description_get_size(font->specific.pango_desc) / PANGO_SCALE
         );
 
     /* We cache root_visual_type here, since you must call