From: Michael Stapelberg Date: Mon, 13 Aug 2012 11:39:58 +0000 (+0200) Subject: pango: divide by PANGO_SCALE to get a "normal" font size X-Git-Tag: 4.3~73 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=125bf09e70866f4e4c91fc4b48dee5ae9d0c374a;p=i3%2Fi3 pango: divide by PANGO_SCALE to get a "normal" font size --- diff --git a/libi3/font.c b/libi3/font.c index 08725844..23d7420d 100644 --- a/libi3/font.c +++ b/libi3/font.c @@ -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