commit e086a2d952282ac7c618b4df50ffce9c7e43ff73
parent 874fd93c6990f7a0c58e8180ebdfa6945ece8126
Author: paul <paul@claws-mail.org>
Date: Wed, 28 Apr 2021 17:09:03 +0100
fix bug 4471, 'Default font size for fancy needs to be converted to pixels'
patch by Steve Randall
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/plugins/fancy/fancy_viewer.c b/src/plugins/fancy/fancy_viewer.c
@@ -101,8 +101,8 @@ static void fancy_apply_prefs(FancyViewer *viewer)
if (params_len > 0) {
gint msg_font_size = g_ascii_strtoll(msg_font_params[params_len - 1], NULL, 10);
- g_object_set(viewer->settings,
- "default-font-size", msg_font_size, NULL);
+ g_object_set(viewer->settings, "default-font-size",
+ webkit_settings_font_size_to_pixels(msg_font_size), NULL);
}
g_strfreev(msg_font_params);
}