forked from bartvdbraak/blender
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:
parent
058e8ba402
commit
9abdd362b7
2
extern/bFTGL/src/FTGLPixmapFont.cpp
vendored
2
extern/bFTGL/src/FTGLPixmapFont.cpp
vendored
@ -18,7 +18,7 @@ FTGLPixmapFont::~FTGLPixmapFont()
|
||||
|
||||
FTGlyph* FTGLPixmapFont::MakeGlyph( unsigned int g)
|
||||
{
|
||||
FT_GlyphSlot ftGlyph = face.Glyph( g, FT_LOAD_NO_HINTING);
|
||||
FT_GlyphSlot ftGlyph = face.Glyph( g, FT_LOAD_NO_HINTING | FT_LOAD_NO_BITMAP);
|
||||
|
||||
if( ftGlyph)
|
||||
{
|
||||
|
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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user