From 125bf09e70866f4e4c91fc4b48dee5ae9d0c374a Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Mon, 13 Aug 2012 13:39:58 +0200 Subject: [PATCH] pango: divide by PANGO_SCALE to get a "normal" font size --- libi3/font.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5