From e1d02e558b910b19160a8232e943cdc2498a7b22 Mon Sep 17 00:00:00 2001 From: David Salvisberg Date: Fri, 17 Jul 2015 16:44:48 +0200 Subject: [PATCH] Reduced TTF font downscale ratio so that text doesn't ever get cut off with the game's font. --- src/font.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/font.cpp b/src/font.cpp index 7e2f5c2..f1d38fe 100644 --- a/src/font.cpp +++ b/src/font.cpp @@ -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());