fixing a small bug in FT_Glyph_To_Bitmap:
the glyph advance wasn't copied to the bitmap !!
This commit is contained in:
parent
ddbb8e7b6a
commit
47c14b9db3
|
@ -829,6 +829,9 @@
|
|||
if ( destroy )
|
||||
FT_Done_Glyph( glyph );
|
||||
|
||||
/* copy advance - thanks Karsten ;-) */
|
||||
bitmap->root.advance = glyph->advance;
|
||||
|
||||
*the_glyph = FT_GLYPH( bitmap );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue