mirror of https://github.com/OpenRCT2/OpenRCT2.git
Use 'LiHei Pro' for Chinese (Traditional) on macOS.
This commit is contained in:
parent
fb7f97d360
commit
9cb25e6106
|
@ -26,6 +26,7 @@ TTFontFamily const TTFFamilyChineseSimplified =
|
|||
TTFontFamily const TTFFamilyChineseTraditional =
|
||||
{
|
||||
&TTFFontSimSun,
|
||||
&TTFFontLiHeiPro,
|
||||
};
|
||||
|
||||
TTFontFamily const TTFFamilyJapanese =
|
||||
|
|
|
@ -57,6 +57,13 @@ TTFFontSetDescriptor TTFFontSimSun = { {
|
|||
{ "simsun.ttc", "SimSun", 13, 1, 0, 16, HINTING_THRESHOLD_MEDIUM, nullptr },
|
||||
} };
|
||||
|
||||
TTFFontSetDescriptor TTFFontLiHeiPro = { {
|
||||
{ u8"儷黑 Pro.ttf", "LiHei Pro", 9, 1, -1, 10, HINTING_THRESHOLD_MEDIUM, nullptr },
|
||||
{ u8"儷黑 Pro.ttf", "LiHei Pro", 11, 1, 0, 14, HINTING_THRESHOLD_MEDIUM, nullptr },
|
||||
{ u8"儷黑 Pro.ttf", "LiHei Pro", 12, 1, 0, 15, HINTING_THRESHOLD_MEDIUM, nullptr },
|
||||
{ u8"儷黑 Pro.ttf", "LiHei Pro", 13, 1, 0, 16, HINTING_THRESHOLD_MEDIUM, nullptr },
|
||||
} };
|
||||
|
||||
TTFFontSetDescriptor TTFFontGulim = { {
|
||||
{ "gulim.ttc", "Gulim", 11, 1, 0, 13, HINTING_THRESHOLD_MEDIUM, nullptr },
|
||||
{ "gulim.ttc", "Gulim", 12, 1, 0, 15, HINTING_THRESHOLD_MEDIUM, nullptr },
|
||||
|
|
|
@ -24,6 +24,7 @@ extern TTFFontSetDescriptor TTFFontMSGothic;
|
|||
extern TTFFontSetDescriptor TTFFontHiragano;
|
||||
extern TTFFontSetDescriptor TTFFontMingLiu;
|
||||
extern TTFFontSetDescriptor TTFFontSimSun;
|
||||
extern TTFFontSetDescriptor TTFFontLiHeiPro;
|
||||
extern TTFFontSetDescriptor TTFFontGulim;
|
||||
extern TTFFontSetDescriptor TTFFontNanum;
|
||||
extern TTFFontSetDescriptor TTFFontArial;
|
||||
|
|
Loading…
Reference in New Issue