diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2018-04-19 14:58:11 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2018-04-25 12:26:33 +0200 |
commit | c17e8a57934a863dc24476300d89e9483b9773e9 (patch) | |
tree | 74c85ded47c12f5b63d0ae1547264dbcc04ba759 /source | |
parent | 868aaca9ccbfa4b3014959c04854d0451768a92f (diff) | |
download | mupdf-c17e8a57934a863dc24476300d89e9483b9773e9.tar.xz |
Default CJK language to traditional chinese.
Diffstat (limited to 'source')
-rw-r--r-- | source/fitz/font.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/fitz/font.c b/source/fitz/font.c index 6e7e0063..b92d40e9 100644 --- a/source/fitz/font.c +++ b/source/fitz/font.c @@ -388,8 +388,8 @@ fz_font *fz_load_fallback_font(fz_context *ctx, int script, int language, int se { case FZ_LANG_ja: index = UCDN_LAST_SCRIPT + 1; break; case FZ_LANG_ko: index = UCDN_LAST_SCRIPT + 2; break; - case FZ_LANG_zh_Hant: index = UCDN_LAST_SCRIPT + 3; break; - case FZ_LANG_zh_Hans: index = UCDN_LAST_SCRIPT + 4; break; + case FZ_LANG_zh_Hans: index = UCDN_LAST_SCRIPT + 3; break; + case FZ_LANG_zh_Hant: index = UCDN_LAST_SCRIPT + 4; break; } } if (script == UCDN_SCRIPT_ARABIC) |