Reduced TTF font downscale ratio so that text doesn't ever get cut off with the game's font.

This commit is contained in:
David Salvisberg 2015-07-17 16:44:48 +02:00
parent c858ed4f29
commit e1d02e558b
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ _TTF_Font *SharedFontState::getFont(std::string family,
// FIXME 0.9 is guesswork at this point
// float gamma = (96.0/45.0)*(5.0/14.0)*(size-5);
// font = TTF_OpenFontRW(ops, 1, gamma /** .90*/);
font = TTF_OpenFontRW(ops, 1, size* .90);
font = TTF_OpenFontRW(ops, 1, size* .80);
if (!font)
throw Exception(Exception::SDLError, "%s", SDL_GetError());