From 2578fce085c26ce42711a596b956ac5f5434a2b5 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sun, 31 Jul 2016 14:00:30 +0100 Subject: [PATCH] Added FT_LOAD_NO_HINTING --- src/osgPlugins/freetype/FreeTypeFont.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgPlugins/freetype/FreeTypeFont.cpp b/src/osgPlugins/freetype/FreeTypeFont.cpp index 0dcebb6a9..c647e2cf9 100644 --- a/src/osgPlugins/freetype/FreeTypeFont.cpp +++ b/src/osgPlugins/freetype/FreeTypeFont.cpp @@ -446,7 +446,7 @@ osgText::Glyph3D * FreeTypeFont::getGlyph3D(const osgText::FontResolution& fontR } } - FT_Error error = FT_Load_Char( _face, charindex, FT_LOAD_DEFAULT|_flags ); + FT_Error error = FT_Load_Char( _face, charindex, FT_LOAD_DEFAULT | FT_LOAD_NO_HINTING | _flags ); if (error) { OSG_WARN << "FT_Load_Char(...) error 0x"<