pango: divide by PANGO_SCALE to get a "normal" font size

This commit is contained in:
Michael Stapelberg 2012-08-13 13:39:58 +02:00
parent d7b11bde28
commit 125bf09e70
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ static bool load_pango_font(i3Font *font, const char *desc) {
LOG("Using Pango font %s, size %d\n", LOG("Using Pango font %s, size %d\n",
pango_font_description_get_family(font->specific.pango_desc), 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 /* We cache root_visual_type here, since you must call