From 7a42134beeda0e080cb8ef5702f522dd4faf9e67 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 25 Feb 2017 00:16:49 +0000 Subject: When switching to outline fonts on OS3 reset the fonts TODO: make this change in the GUI when toggling --- frontends/amiga/gui_options.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'frontends/amiga') diff --git a/frontends/amiga/gui_options.c b/frontends/amiga/gui_options.c index 78dea5820..48228407f 100755 --- a/frontends/amiga/gui_options.c +++ b/frontends/amiga/gui_options.c @@ -1898,6 +1898,15 @@ static void ami_gui_opts_use(bool save) #ifndef __amigaos4__ GetAttr(GA_Selected, gow->objects[GID_OPTS_FONT_BITMAP], (ULONG *)&data); ami_font_fini(); + + if((nsoption_bool(bitmap_fonts) == true) && (data == false)) { + nsoption_set_charp(font_sans, (char *)strdup("CGTriumvirate")); + nsoption_set_charp(font_serif, (char *)strdup("CGTimes")); + nsoption_set_charp(font_mono, (char *)strdup("LetterGothic")); + nsoption_set_charp(font_cursive, (char *)strdup("CGTriumvirate")); + nsoption_set_charp(font_fantasy, (char *)strdup("CGTimes")); + } + if(data) { nsoption_set_bool(bitmap_fonts, true); } else { -- cgit v1.2.3