fix loading of truetype fonts on linux
authorStefan Gartner <stefang@aon.at>
Thu, 8 May 2003 17:27:43 +0000 (17:27 +0000)
committerStefan Gartner <stefang@aon.at>
Thu, 8 May 2003 17:27:43 +0000 (17:27 +0000)
source/blender/blenlib/intern/freetypefont.c

index bc06de9db3c4871025284c06332510092b9ada0b..d5a19ac12e47d31cc79050bf6bdd2f03548a4794 100644 (file)
@@ -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