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:
authorStefan Gartner <stefang@aon.at>2003-05-08 21:27:43 +0400
committerStefan Gartner <stefang@aon.at>2003-05-08 21:27:43 +0400
commitcc8460b1e757747b4ac6d582a5a46be8206748b9 (patch)
treeb2d9df4d1830a9ac04c22a173e9afb743d52d621 /source/blender/blenlib/intern/freetypefont.c
parentad0bf55843f8c025132b2f86569e87b31673d1ac (diff)
fix loading of truetype fonts on linux
Diffstat (limited to 'source/blender/blenlib/intern/freetypefont.c')
-rw-r--r--source/blender/blenlib/intern/freetypefont.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/freetypefont.c b/source/blender/blenlib/intern/freetypefont.c
index bc06de9db3c..d5a19ac12e4 100644
--- a/source/blender/blenlib/intern/freetypefont.c
+++ b/source/blender/blenlib/intern/freetypefont.c
@@ -449,7 +449,7 @@ static int check_freetypefont(PackedFile * pf)
if ( err ) { return 0; }
*/
glyph_index = FT_Get_Char_Index( face, 'A' );
- err = FT_Load_Glyph(face, glyph_index, FT_LOAD_NO_BITMAP );
+ err = FT_Load_Glyph(face, glyph_index, FT_LOAD_NO_SCALE);
if(err) success = 0;
else {
glyph = face->glyph;
@@ -490,4 +490,4 @@ VFontData *BLI_vfontdata_from_freetypefont(PackedFile *pf)
return vfd;
}
-#endif // WITH_FREETYPE2 \ No newline at end of file
+#endif // WITH_FREETYPE2