From f3f369029cdfa09848a4263bbddf4600495d5d1f Mon Sep 17 00:00:00 2001 From: Thomas Rohloff Date: Thu, 30 Apr 2020 18:32:03 +0200 Subject: [PATCH] Render font in requested size Some fonts look really ugly with this anti-aliasing method of renderin in double size, so it shouldn't be default. Signed-off-by: Thomas Rohloff --- source/gui/GuiText.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/gui/GuiText.cpp b/source/gui/GuiText.cpp index 8cf27b0..7af44b4 100644 --- a/source/gui/GuiText.cpp +++ b/source/gui/GuiText.cpp @@ -20,7 +20,7 @@ FreeTypeGX * GuiText::presentFont = NULL; int32_t GuiText::presetSize = 28; -float GuiText::presetInternalRenderingScale = 2.0f; //Lets render the font at the doubled size. This make it even smoother! +float GuiText::presetInternalRenderingScale = 1.0f; int32_t GuiText::presetMaxWidth = 0xFFFF; int32_t GuiText::presetAlignment = ALIGN_CENTER | ALIGN_MIDDLE; GX2ColorF32 GuiText::presetColor = (GX2ColorF32) {