Introduce 'Nanum' as a macOS alternative for Gulim when using Korean.

This commit is contained in:
Aaron van Geffen authored and Michael Steenbeek committed 2017-10-30 12:06:05 +01:00
1 parent 744341af07
commit b393ce3f11
3 files changed
+9

No files matched your search

+1
View File
@@ -37,6 +37,7 @@ TTFontFamily const TTFFamilyJapanese =
TTFontFamily const TTFFamilyKorean =
{
&TTFFontGulim,
&TTFFontNanum,
};
TTFontFamily const TTFFamilySansSerif =
+7
View File
@@ -64,6 +64,13 @@ TTFFontSetDescriptor TTFFontGulim = { {
{ "gulim.ttc", "Gulim", 13, 1, 0, 16, HINTING_THRESHOLD_MEDIUM, nullptr },
} };
TTFFontSetDescriptor TTFFontNanum = { {
{ "NanumGothic.ttc", "Nanum Gothic", 11, 1, 0, 13, HINTING_THRESHOLD_LOW, nullptr },
{ "NanumGothic.ttc", "Nanum Gothic", 12, 1, 0, 15, HINTING_THRESHOLD_LOW, nullptr },
{ "NanumGothic.ttc", "Nanum Gothic", 12, 1, 0, 15, HINTING_THRESHOLD_LOW, nullptr },
{ "NanumGothic.ttc", "Nanum Gothic", 13, 1, 0, 16, HINTING_THRESHOLD_LOW, nullptr },
} };
TTFFontSetDescriptor TTFFontArial = { {
{ "arial.ttf", "Arial", 8, 0, -1, 6, HINTING_THRESHOLD_LOW, nullptr },
{ "arial.ttf", "Arial", 10, 0, -1, 12, HINTING_THRESHOLD_LOW, nullptr },
+1
View File
@@ -25,6 +25,7 @@ extern TTFFontSetDescriptor TTFFontHiragano;
extern TTFFontSetDescriptor TTFFontMingLiu;
extern TTFFontSetDescriptor TTFFontSimSun;
extern TTFFontSetDescriptor TTFFontGulim;
extern TTFFontSetDescriptor TTFFontNanum;
extern TTFFontSetDescriptor TTFFontArial;
extern TTFFontSetDescriptor TTFFontArialUnicode;
#define FONT(x) x