From 7974b6ec048ec0f37a8cbb905d922720cb9098d0 Mon Sep 17 00:00:00 2001 From: David Turner Date: Fri, 27 Oct 2000 00:53:16 +0000 Subject: [PATCH] fixing a small bug in FT_Glyph_To_Bitmap: the glyph advance wasn't copied to the bitmap !! --- src/base/ftglyph.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/base/ftglyph.c b/src/base/ftglyph.c index 47d61caac..3026170e7 100644 --- 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 ); }