diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2012-05-09 22:23:10 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2012-05-09 22:23:10 +0000 |
commit | 560d5d2035793e8902d68ba94294dce0fe549d2f (patch) | |
tree | 57c1ee6fad1b6d5fea4f5236e0a6c3511dc05e65 /amiga/options.h | |
parent | 722a75bdf503143b0c44f0440523d3cea7ce1484 (diff) | |
download | netsurf-560d5d2035793e8902d68ba94294dce0fe549d2f.tar.gz netsurf-560d5d2035793e8902d68ba94294dce0fe549d2f.tar.bz2 |
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
Diffstat (limited to 'amiga/options.h')
-rw-r--r-- | amiga/options.h | 3 |
1 files changed, 3 insertions, 0 deletions
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}, \ |