diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2010-05-06 10:02:58 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2010-05-06 10:02:58 +0000 |
commit | f55c11dbd6cb3242570eeb022b772ec236fe8603 (patch) | |
tree | b9ba462d15bb7f68c65d8727c214e4c0ee8e6787 /amiga/options.h | |
parent | 0807b405139259e719115b99755cc4a6153542f6 (diff) | |
download | netsurf-f55c11dbd6cb3242570eeb022b772ec236fe8603.tar.gz netsurf-f55c11dbd6cb3242570eeb022b772ec236fe8603.tar.bz2 |
Amiga font code revamped and fixed. Will now fall back to a different font if the
character isn't present in the current one, this needs a complete or near-complete
Unicode font in order to be useful - Code2000 and Bitstream Cyberbit are auto-detected
by NetSurf on startup if none is configured. Japanese websites now display correctly,
along with Japanese characters within Google UK search results etc.
svn path=/trunk/netsurf/; revision=10551
Diffstat (limited to 'amiga/options.h')
-rw-r--r-- | amiga/options.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/amiga/options.h b/amiga/options.h index 70963ba64..4d2e0fdca 100644 --- a/amiga/options.h +++ b/amiga/options.h @@ -48,6 +48,7 @@ extern int option_print_scale; extern bool option_startup_no_window; extern bool option_close_no_quit; extern bool option_hide_docky_icon; +extern char *option_font_unicode; #define EXTRA_OPTION_DEFINE \ char *option_url_file = 0; \ @@ -78,6 +79,7 @@ int option_print_scale = 100; \ bool option_startup_no_window = false; \ bool option_close_no_quit = false; \ bool option_hide_docky_icon = false; \ +char *option_font_unicode = 0; \ #define EXTRA_OPTION_TABLE \ { "url_file", OPTION_STRING, &option_url_file }, \ @@ -107,5 +109,6 @@ bool option_hide_docky_icon = false; \ { "print_scale", OPTION_INTEGER, &option_print_scale}, \ { "startup_no_window", OPTION_BOOL, &option_startup_no_window}, \ { "close_no_quit", OPTION_BOOL, &option_close_no_quit}, \ -{ "hide_docky_icon", OPTION_BOOL, &option_hide_docky_icon}, +{ "hide_docky_icon", OPTION_BOOL, &option_hide_docky_icon}, \ +{ "font_unicode", OPTION_STRING, &option_font_unicode }, #endif |