[gtksourceview] map: fix font name



commit 5d21847ef20ba1ae120ad5bde36875cbb76a9f2c
Author: Christian Hergert <chergert redhat com>
Date:   Sat Jun 19 11:40:49 2021 -0700

    map: fix font name
    
    It doesn't matter too much since it is the only font in the map, but at
    least make sure we use the same name as our provided font.

 gtksourceview/gtksourcemap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtksourceview/gtksourcemap.c b/gtksourceview/gtksourcemap.c
index af18fbdf..53afe23a 100644
--- a/gtksourceview/gtksourcemap.c
+++ b/gtksourceview/gtksourcemap.c
@@ -240,7 +240,7 @@ load_override_font (GtkSourceMap *map)
        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), map_font_config);
        gtk_widget_set_font_map (GTK_WIDGET (map), font_map);
-       font_desc = pango_font_description_from_string ("Builder Blocks 1");
+       font_desc = pango_font_description_from_string ("BuilderBlocks 1");
 
        g_assert (map_font_config != NULL);
        g_assert (font_map != NULL);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]