projects
/
blender.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a9fa245
)
modified to load fonts correctly.
author
Rob Haarsma <phaseIV@zonnet.nl>
Mon, 26 May 2003 12:43:47 +0000
(12:43 +0000)
committer
Rob Haarsma <phaseIV@zonnet.nl>
Mon, 26 May 2003 12:43:47 +0000
(12:43 +0000)
source/blender/blenlib/intern/freetypefont.c
patch
|
blob
|
history
diff --git
a/source/blender/blenlib/intern/freetypefont.c
b/source/blender/blenlib/intern/freetypefont.c
index d5a19ac12e47d31cc79050bf6bdd2f03548a4794..085ddecc08fbc04ac52b7f7a4b94b3db471fc205 100644
(file)
--- a/
source/blender/blenlib/intern/freetypefont.c
+++ b/
source/blender/blenlib/intern/freetypefont.c
@@
-236,7
+236,7
@@
static VFontData *objfnt_to_ftvfontdata(PackedFile * pf)
test[1] = '\0'; //to print character
glyph_index = FT_Get_Char_Index( face, i );
test[1] = '\0'; //to print character
glyph_index = FT_Get_Char_Index( face, i );
- err = FT_Load_Glyph(face, glyph_index, FT_LOAD_NO_SCALE);
+ err = FT_Load_Glyph(face, glyph_index, FT_LOAD_NO_SCALE
| FT_LOAD_NO_BITMAP
);
glyph = face->glyph;
ftoutline = glyph->outline;
glyph = face->glyph;
ftoutline = glyph->outline;
@@
-449,7
+449,7
@@
static int check_freetypefont(PackedFile * pf)
if ( err ) { return 0; }
*/
glyph_index = FT_Get_Char_Index( face, 'A' );
if ( err ) { return 0; }
*/
glyph_index = FT_Get_Char_Index( face, 'A' );
- err = FT_Load_Glyph(face, glyph_index, FT_LOAD_NO_SCALE);
+ err = FT_Load_Glyph(face, glyph_index, FT_LOAD_NO_SCALE
| FT_LOAD_NO_BITMAP
);
if(err) success = 0;
else {
glyph = face->glyph;
if(err) success = 0;
else {
glyph = face->glyph;