Added FT_LOAD_NO_HINTING
This commit is contained in:
parent
1794374c78
commit
2578fce085
@ -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)
|
if (error)
|
||||||
{
|
{
|
||||||
OSG_WARN << "FT_Load_Char(...) error 0x"<<std::hex<<error<<std::dec<<std::endl;
|
OSG_WARN << "FT_Load_Char(...) error 0x"<<std::hex<<error<<std::dec<<std::endl;
|
||||||
|
Loading…
Reference in New Issue
Block a user