Consistent, proper CJK support

This commit is contained in:
Mathew Velasquez 2015-11-22 20:33:32 -05:00
parent 45e4a578a9
commit 191afb3524
2 changed files with 3 additions and 3 deletions

View File

@ -59,7 +59,7 @@ class Language
], 9 ], 9
), ),
:ja => Language.new( :ja => Language.new(
'VL Gothic', [ 'WenQuanYi Micro Hei', [
"","","","","", "","","","","",
"","","","","", "","","","","",
"","","","","", "","","","","",
@ -102,7 +102,7 @@ class Language
], 9 ], 9
), ),
:ko => Language.new( :ko => Language.new(
'Baekmuk Dotum', [ 'WenQuanYi Micro Hei', [
"","","","","", "","","","","",
"","","","","", "","","","","",
"","","","","", "","","","","",

View File

@ -476,7 +476,7 @@ static void fontSetEnumCB(void *data, const char *,
lowExt[i] = tolower(ext[i]); lowExt[i] = tolower(ext[i]);
lowExt[i] = '\0'; lowExt[i] = '\0';
if (strcmp(lowExt, "ttf") && strcmp(lowExt, "otf")) if (strcmp(lowExt, "ttf") && strcmp(lowExt, "otf") && strcmp(lowExt, "ttc"))
return; return;
char filename[512]; char filename[512];