[epiphany/gnome-3-36] GNOME font settings should apply to serif fonts
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/gnome-3-36] GNOME font settings should apply to serif fonts
- Date: Sun, 14 Jun 2020 13:26:40 +0000 (UTC)
commit ce5dc911258baf4b019179f3d942bed86d234d76
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sat Jun 13 18:57:22 2020 +0000
GNOME font settings should apply to serif fonts
Incredibly, we were accidentally ignoring system font settings for serif
fonts if custom fonts were ever enabled in the past.
Fixes #1231
(cherry picked from commit 4542273400d1a798be1f04170f6d90a6c66cd9db)
embed/ephy-embed-prefs.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/embed/ephy-embed-prefs.c b/embed/ephy-embed-prefs.c
index 3415f4141..804a5f589 100644
--- a/embed/ephy-embed-prefs.c
+++ b/embed/ephy-embed-prefs.c
@@ -351,6 +351,7 @@ webkit_pref_callback_gnome_fonts (GSettings *ephy_settings,
if (g_settings_get_boolean (ephy_settings, key)) {
g_object_set (webkit_settings,
"default-font-family", "serif",
+ "serif-font-family", "serif",
"sans-serif-font-family", "sans-serif",
"monospace-font-family", "monospace",
"default-font-size", webkit_settings_font_size_to_pixels (12),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]