[gnome-builder] editor: keep sizing closer to it was previously
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] editor: keep sizing closer to it was previously
- Date: Wed, 13 Oct 2021 00:42:01 +0000 (UTC)
commit 0f21fd63cdc92b1b4a024d6efb5ad6fa4b601e5a
Author: Christian Hergert <chergert redhat com>
Date: Tue Oct 12 17:41:44 2021 -0700
editor: keep sizing closer to it was previously
src/libide/editor/ide-editor-page.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/libide/editor/ide-editor-page.c b/src/libide/editor/ide-editor-page.c
index 69264b1d9..38b315097 100644
--- a/src/libide/editor/ide-editor-page.c
+++ b/src/libide/editor/ide-editor-page.c
@@ -79,7 +79,8 @@ ide_editor_page_load_fonts (IdeEditorPage *self)
font_map = pango_cairo_font_map_new_for_font_type (CAIRO_FONT_TYPE_FT);
pango_fc_font_map_set_config (PANGO_FC_FONT_MAP (font_map), localFontConfig);
gtk_widget_set_font_map (GTK_WIDGET (self->map), font_map);
- font_desc = pango_font_description_from_string ("Builder Blocks 3"); /* 3pt is 4px */
+ font_desc = pango_font_description_from_string ("BuilderBlocks");
+ pango_font_description_set_absolute_size (font_desc, (96.0/72.0) * 2 * PANGO_SCALE);
g_assert (localFontConfig != NULL);
g_assert (font_map != NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]