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 e4c39bf2f6
commit 7974b6ec04
1 changed files with 3 additions and 0 deletions

View File

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