mirror of https://github.com/OpenRCT2/OpenRCT2.git
Introduce 'Arial Unicode MS' as a more compatible alternative to regular Arial.
This commit is contained in:
parent
58add28604
commit
744341af07
|
@ -41,6 +41,7 @@ TTFontFamily const TTFFamilyKorean =
|
|||
|
||||
TTFontFamily const TTFFamilySansSerif =
|
||||
{
|
||||
&TTFFontArialUnicode,
|
||||
&TTFFontArial,
|
||||
};
|
||||
|
||||
|
|
|
@ -70,6 +70,13 @@ TTFFontSetDescriptor TTFFontArial = { {
|
|||
{ "arial.ttf", "Arial", 11, 0, -1, 12, HINTING_THRESHOLD_LOW, nullptr },
|
||||
{ "arial.ttf", "Arial", 12, 0, -1, 14, HINTING_THRESHOLD_LOW, nullptr },
|
||||
} };
|
||||
|
||||
TTFFontSetDescriptor TTFFontArialUnicode = { {
|
||||
{ "arialuni.ttf", "Arial Unicode MS", 8, 0, -1, 6, HINTING_THRESHOLD_LOW, nullptr },
|
||||
{ "arialuni.ttf", "Arial Unicode MS", 10, 0, -1, 12, HINTING_THRESHOLD_LOW, nullptr },
|
||||
{ "arialuni.ttf", "Arial Unicode MS", 11, 0, -1, 12, HINTING_THRESHOLD_LOW, nullptr },
|
||||
{ "arialuni.ttf", "Arial Unicode MS", 12, 0, -1, 14, HINTING_THRESHOLD_LOW, nullptr },
|
||||
} };
|
||||
#endif // NO_TTF
|
||||
|
||||
static void LoadSpriteFont()
|
||||
|
|
|
@ -26,6 +26,7 @@ extern TTFFontSetDescriptor TTFFontMingLiu;
|
|||
extern TTFFontSetDescriptor TTFFontSimSun;
|
||||
extern TTFFontSetDescriptor TTFFontGulim;
|
||||
extern TTFFontSetDescriptor TTFFontArial;
|
||||
extern TTFFontSetDescriptor TTFFontArialUnicode;
|
||||
#define FONT(x) x
|
||||
#else
|
||||
#define FONT(x) FONT_OPENRCT2_SPRITE
|
||||
|
|
Loading…
Reference in New Issue