fixing a small bug in FT_Glyph_To_Bitmap:

the glyph advance wasn't copied to the bitmap !!
david-pic-changes
David Turner 25 years ago
parent ddbb8e7b6a
commit 47c14b9db3
  1. 3
      src/base/ftglyph.c

@ -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…
Cancel
Save