From fc9354336b414c8baa2026f5f5af576f2f608325 Mon Sep 17 00:00:00 2001 From: cazfi Date: Tue, 25 Oct 2016 18:58:06 +0000 Subject: [PATCH] Correctly set 'bold' as font-weight, not font-style. See bug #25226 git-svn-id: svn://svn.gna.org/svn/freeciv/branches/S2_6@34246 a0f10bec-cc02-0410-94fc-a9cfff90b4cd --- client/gui-gtk-3.0/gui_stuff.c | 2 +- client/gui-gtk-3.22/gui_stuff.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/gui-gtk-3.0/gui_stuff.c b/client/gui-gtk-3.0/gui_stuff.c index fafb668543..32f47f7ab1 100644 --- a/client/gui-gtk-3.0/gui_stuff.c +++ b/client/gui-gtk-3.0/gui_stuff.c @@ -1035,7 +1035,7 @@ void gui_update_font(const char *font_name, const char *font_value) } if (pango_font_description_get_weight(desc) >= 700) { - weight = "\n font-style: bold;"; + weight = "\n font-weight: bold;"; } else { weight = ""; } diff --git a/client/gui-gtk-3.22/gui_stuff.c b/client/gui-gtk-3.22/gui_stuff.c index 8cf0f84133..9238a66969 100644 --- a/client/gui-gtk-3.22/gui_stuff.c +++ b/client/gui-gtk-3.22/gui_stuff.c @@ -1022,7 +1022,7 @@ void gui_update_font(const char *font_name, const char *font_value) } if (pango_font_description_get_weight(desc) >= 700) { - weight = "\n font-style: bold;"; + weight = "\n font-weight: bold;"; } else { weight = ""; } -- 2.11.4.GIT