From 560d5d2035793e8902d68ba94294dce0fe549d2f Mon Sep 17 00:00:00 2001 From: Chris Young Date: Wed, 9 May 2012 22:23:10 +0000 Subject: Allow a comma-separated list of fonts to be specified in font_unicode_list to provide more preferred fonts. eg. if a user has dedicated Japanese and Korean fonts available they might want a config like: font_unicode:Japanese font_unicode_list:Korean,Code2000 This will scan Japanese and Korean fonts first, then fill in any blanks with Code2000 (followed by alphabetically all other fonts installed) svn path=/trunk/netsurf/; revision=13917 --- amiga/options.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'amiga/options.h') diff --git a/amiga/options.h b/amiga/options.h index 49dfc5323..1f4497bed 100644 --- a/amiga/options.h +++ b/amiga/options.h @@ -55,6 +55,7 @@ bool close_no_quit; \ bool hide_docky_icon; \ char *font_unicode; \ + char *font_unicode_list; \ char *font_unicode_file; \ bool font_unicode_only; \ bool drag_save_icons; \ @@ -113,6 +114,7 @@ .close_no_quit = false, \ .hide_docky_icon = false, \ .font_unicode = NULL, \ + .font_unicode_list = NULL, \ .font_unicode_file = NULL, \ .font_unicode_only = false, \ .drag_save_icons = true, \ @@ -170,6 +172,7 @@ { "close_no_quit", OPTION_BOOL, &nsoptions.close_no_quit}, \ { "hide_docky_icon", OPTION_BOOL, &nsoptions.hide_docky_icon}, \ { "font_unicode", OPTION_STRING, &nsoptions.font_unicode }, \ +{ "font_unicode_list", OPTION_STRING, &nsoptions.font_unicode_list }, \ { "font_unicode_file", OPTION_STRING, &nsoptions.font_unicode_file }, \ { "font_unicode_only", OPTION_BOOL, &nsoptions.font_unicode_only }, \ { "drag_save_icons", OPTION_BOOL, &nsoptions.drag_save_icons}, \ -- cgit v1.2.3