mirror of https://github.com/OpenRCT2/OpenRCT2.git
Introduce 'Hiragino Maru Gothic' for Japanese on macOS.
This commit is contained in:
parent
8c8a2317f6
commit
58add28604
|
@ -30,6 +30,7 @@ TTFontFamily const TTFFamilyChineseTraditional =
|
|||
|
||||
TTFontFamily const TTFFamilyJapanese =
|
||||
{
|
||||
&TTFFontHiragano,
|
||||
&TTFFontMSGothic,
|
||||
};
|
||||
|
||||
|
|
|
@ -36,6 +36,13 @@ TTFFontSetDescriptor TTFFontMSGothic = { {
|
|||
{ "msgothic.ttc", "MS PGothic", 13, 1, 0, 15, HINTING_THRESHOLD_MEDIUM, nullptr },
|
||||
} };
|
||||
|
||||
TTFFontSetDescriptor TTFFontHiragano = { {
|
||||
{ u8"ヒラギノ丸ゴ ProN W4.ttc", "Hiragino Maru Gothic ProN", 8, 1, -1, 9, HINTING_THRESHOLD_MEDIUM, nullptr },
|
||||
{ u8"ヒラギノ丸ゴ ProN W4.ttc", "Hiragino Maru Gothic ProN", 11, 1, 0, 13, HINTING_THRESHOLD_MEDIUM, nullptr },
|
||||
{ u8"ヒラギノ丸ゴ ProN W4.ttc", "Hiragino Maru Gothic ProN", 11, 1, 0, 13, HINTING_THRESHOLD_MEDIUM, nullptr },
|
||||
{ u8"ヒラギノ丸ゴ ProN W4.ttc", "Hiragino Maru Gothic ProN", 12, 1, 0, 14, HINTING_THRESHOLD_MEDIUM, nullptr },
|
||||
} };
|
||||
|
||||
TTFFontSetDescriptor TTFFontMingLiu = { {
|
||||
{ "msjh.ttc", "JhengHei", 9, -1, -3, 6, HINTING_THRESHOLD_MEDIUM, nullptr },
|
||||
{ "mingliu.ttc", "MingLiU", 11, 1, 1, 14, HINTING_THRESHOLD_MEDIUM, nullptr },
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
|
||||
#ifndef NO_TTF
|
||||
extern TTFFontSetDescriptor TTFFontMSGothic;
|
||||
extern TTFFontSetDescriptor TTFFontHiragano;
|
||||
extern TTFFontSetDescriptor TTFFontMingLiu;
|
||||
extern TTFFontSetDescriptor TTFFontSimSun;
|
||||
extern TTFFontSetDescriptor TTFFontGulim;
|
||||
|
|
Loading…
Reference in New Issue