From 83f6eec57b2118d1a1f00bb5b487b969b3d0ac46 Mon Sep 17 00:00:00 2001 From: Stanislav Grinkov <43956-stanislavgrinkov@users.noreply.gitlab.gnome.org> Date: Sun, 13 Aug 2023 09:56:39 +0600 Subject: [PATCH] app: set the blank font name for the standard font instead of 'Standard' to fix the issue when 'Standard' can be actual font from the list or a font which starts with. (ie. Standard Symbols PS) Fixes: #3104 (GNOME/Gimp tracker) --- app/text/gimpfont.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/text/gimpfont.c b/app/text/gimpfont.c index 7c73e7176c..0571308afa 100644 --- a/app/text/gimpfont.c +++ b/app/text/gimpfont.c @@ -347,7 +347,7 @@ gimp_font_get_standard (void) { g_set_weak_pointer (&standard_font, g_object_new (GIMP_TYPE_FONT, - "name", "Standard", + "name", "", NULL));; gimp_data_clean (standard_font);