Commit 8fe916ca51d0d173b3fd64d6e3327139132232e1

David Turner 2001-02-16T16:27:35

fixed a small bug (the advance and format were not copied in FT_Glyph_Copy)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/src/base/ftglyph.c b/src/base/ftglyph.c
index 510dcbe..95049ae 100644
--- a/src/base/ftglyph.c
+++ b/src/base/ftglyph.c
@@ -396,6 +396,9 @@
     if ( error )
       goto Exit;
 
+    copy->advance = source->advance;
+    copy->format  = source->format;
+
     if ( clazz->glyph_copy )
       error = clazz->glyph_copy( source, copy );