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
path: root/extern
diff options
context:
space:
mode:
authorRob Haarsma <phaseIV@zonnet.nl>2005-06-06 18:42:50 +0400
committerRob Haarsma <phaseIV@zonnet.nl>2005-06-06 18:42:50 +0400
commit9abdd362b7e109f3268148576e0f63c3bac30a04 (patch)
treedcc3cf10cd623110df32c99a3db39a86f5a1258c /extern
parent058e8ba402e5b46c80a63f2d6f79d575778ae469 (diff)
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)
Diffstat (limited to 'extern')
-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)
{