[epiphany/mcatanzaro/#1231: 9/9] GNOME font settings should apply to serif fonts
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/mcatanzaro/#1231: 9/9] GNOME font settings should apply to serif fonts
- Date: Sat, 13 Jun 2020 18:59:19 +0000 (UTC)
commit 4542273400d1a798be1f04170f6d90a6c66cd9db
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sat Jun 13 13:57:22 2020 -0500
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
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 358bbe393..58f6668ef 100644
--- a/embed/ephy-embed-prefs.c
+++ b/embed/ephy-embed-prefs.c
@@ -464,6 +464,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]