Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xextern/bFTGL/src/FTGLPixmapFont.cpp2
-rwxr-xr-xextern/bFTGL/src/FTGLTextureFont.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/extern/bFTGL/src/FTGLPixmapFont.cpp b/extern/bFTGL/src/FTGLPixmapFont.cpp
index 1b35e2ab11d..2654b85e31e 100755
--- a/extern/bFTGL/src/FTGLPixmapFont.cpp
+++ b/extern/bFTGL/src/FTGLPixmapFont.cpp
@@ -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)
{
diff --git a/extern/bFTGL/src/FTGLTextureFont.cpp b/extern/bFTGL/src/FTGLTextureFont.cpp
index 6be32a2fb3b..1712ed54779 100755
--- a/extern/bFTGL/src/FTGLTextureFont.cpp
+++ b/extern/bFTGL/src/FTGLTextureFont.cpp
@@ -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)
{