[gtksourceview] styleschemeprevie: set text height to 4px
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] styleschemeprevie: set text height to 4px
- Date: Tue, 12 Oct 2021 18:50:05 +0000 (UTC)
commit f67d5fc858ac419aa014c647d14ba563e8cfc3dd
Author: Christian Hergert <chergert redhat com>
Date: Tue Oct 12 11:08:48 2021 -0700
styleschemeprevie: set text height to 4px
At 3px we get some weird separation between characters.
gtksourceview/gtksourcestyleschemepreview.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtksourceview/gtksourcestyleschemepreview.c b/gtksourceview/gtksourcestyleschemepreview.c
index 54aec7e1..6b3cd2de 100644
--- a/gtksourceview/gtksourcestyleschemepreview.c
+++ b/gtksourceview/gtksourcestyleschemepreview.c
@@ -103,7 +103,7 @@ load_override_font (GtkSourceView *view)
#endif
css_provider = gtk_css_provider_new ();
- gtk_css_provider_load_from_data (css_provider, "textview, textview text { font-family:
BuilderBlocks; font-size: 6pt; }", -1);
+ gtk_css_provider_load_from_data (css_provider, "textview, textview text { font-family:
BuilderBlocks; font-size: 4px; }", -1);
g_once_init_leave (&initialized, TRUE);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]