From 191afb35241359e794146b43e75b410a7fe9677b Mon Sep 17 00:00:00 2001 From: Mathew Velasquez Date: Sun, 22 Nov 2015 20:33:32 -0500 Subject: [PATCH] Consistent, proper CJK support --- scripts/i18n_Language.rb | 4 ++-- src/filesystem.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/i18n_Language.rb b/scripts/i18n_Language.rb index 66716bf..1e6fd24 100644 --- a/scripts/i18n_Language.rb +++ b/scripts/i18n_Language.rb @@ -59,7 +59,7 @@ class Language ], 9 ), :ja => Language.new( - 'VL Gothic', [ + 'WenQuanYi Micro Hei', [ "あ","い","う","え","お", "か","き","く","け","こ", "さ","し","す","せ","そ", @@ -102,7 +102,7 @@ class Language ], 9 ), :ko => Language.new( - 'Baekmuk Dotum', [ + 'WenQuanYi Micro Hei', [ "가","개","갸","거","게", "겨","고","교","구","규", "그","기","나","내","냐", diff --git a/src/filesystem.cpp b/src/filesystem.cpp index 71a0043..c634878 100644 --- a/src/filesystem.cpp +++ b/src/filesystem.cpp @@ -476,7 +476,7 @@ static void fontSetEnumCB(void *data, const char *, lowExt[i] = tolower(ext[i]); lowExt[i] = '\0'; - if (strcmp(lowExt, "ttf") && strcmp(lowExt, "otf")) + if (strcmp(lowExt, "ttf") && strcmp(lowExt, "otf") && strcmp(lowExt, "ttc")) return; char filename[512];