Bugfix #2704
Modified bFTGL so the bitmaps supplied by the font itself aren't used. Patch originally supplied by Shizu, somehow this was never added to FTGL. Be sure to build binaries with bFTGL, not the provided ftgl.lib from the lib dir. (this one can be deleted afaic)
This commit is contained in:
2
extern/bFTGL/src/FTGLTextureFont.cpp
vendored
2
extern/bFTGL/src/FTGLTextureFont.cpp
vendored
@@ -56,7 +56,7 @@ FTGLTextureFont::~FTGLTextureFont()
|
||||
|
||||
FTGlyph* FTGLTextureFont::MakeGlyph( unsigned int glyphIndex)
|
||||
{
|
||||
FT_GlyphSlot ftGlyph = face.Glyph( glyphIndex, FT_LOAD_NO_HINTING);
|
||||
FT_GlyphSlot ftGlyph = face.Glyph( glyphIndex, FT_LOAD_NO_HINTING | FT_LOAD_NO_BITMAP);
|
||||
|
||||
if( ftGlyph)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user