Put Khosrau font into index 0, at 18 point size. Used exclusively for Pandoran missions.
This commit is contained in:
parent
b6513dc1f7
commit
7865a22072
Binary file not shown.
|
@ -277,8 +277,15 @@ static void loadFont(int size)
|
|||
{
|
||||
SDL_LogMessage(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO, "loadFonts(%d)", size);
|
||||
|
||||
if (size != 0)
|
||||
{
|
||||
font[size] = TTF_OpenFont(getFileLocation("data/fonts/Roboto-Medium.ttf"), size);
|
||||
}
|
||||
else
|
||||
{
|
||||
font[size] = TTF_OpenFont(getFileLocation("data/fonts/Khosrau.ttf"), 18);
|
||||
}
|
||||
}
|
||||
|
||||
static unsigned long hashcode(const char *str, int size)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue