[gnome-builder] pango: fix font rendering on GTK+ 3.21
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] pango: fix font rendering on GTK+ 3.21
- Date: Thu, 28 Apr 2016 23:57:01 +0000 (UTC)
commit 23b78f1c2b2e6c62264da914b7bb9d5289e4b2b1
Author: Christian Hergert <christian hergert me>
Date: Thu Apr 28 16:56:49 2016 -0700
pango: fix font rendering on GTK+ 3.21
Previously, this worked fine due to things not being implemented correctly
for font-sizing in lower layers. But this is fixed now, and so the bug
is pretty obvious.
libide/util/ide-pango.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/util/ide-pango.c b/libide/util/ide-pango.c
index ea4e13e..c1f974d 100644
--- a/libide/util/ide-pango.c
+++ b/libide/util/ide-pango.c
@@ -179,7 +179,7 @@ ide_pango_font_description_to_css (const PangoFontDescription *font_desc)
gint font_size;
font_size = pango_font_description_get_size (font_desc) / PANGO_SCALE;
- ADD_KEYVAL_PRINTF ("font-size", "%dpx", font_size);
+ ADD_KEYVAL_PRINTF ("font-size", "%dpt", font_size);
}
return g_string_free (str, FALSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]