fixing a small bug in FT_Glyph_To_Bitmap:

the glyph advance wasn't copied to the bitmap !!
This commit is contained in:
David Turner 2000-10-27 00:53:16 +00:00
parent ddbb8e7b6a
commit 47c14b9db3
1 changed files with 3 additions and 0 deletions

View File

@ -829,6 +829,9 @@
if ( destroy ) if ( destroy )
FT_Done_Glyph( glyph ); FT_Done_Glyph( glyph );
/* copy advance - thanks Karsten ;-) */
bitmap->root.advance = glyph->advance;
*the_glyph = FT_GLYPH( bitmap ); *the_glyph = FT_GLYPH( bitmap );
} }