shithub: freetype+ttf2subf

Download patch

ref: 47c14b9db3ebb058756971f0164a2fdc9125903a
parent: ddbb8e7b6a554bc56a9c5eae88d006fedbc0fa25
author: David Turner <[email protected]>
date: Thu Oct 26 20:53:16 EDT 2000

fixing a small bug in FT_Glyph_To_Bitmap:
  the glyph advance wasn't copied to the bitmap !!

git/fs: mount .git/fs: mount/attach disallowed
--- a/src/base/ftglyph.c
+++ b/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 );
     }