Commit 37b67724cc4c0c13935f50352ffd72296e4ada89

David Turner 2005-02-10T15:06:00

Fixing bug #11921

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/pfr/pfrgload.c b/src/pfr/pfrgload.c
index 87ba684..f961582 100644
--- a/src/pfr/pfrgload.c
+++ b/src/pfr/pfrgload.c
@@ -793,6 +793,8 @@
     /* initialize glyph loader */
     FT_GlyphLoader_Rewind( glyph->loader );
 
+    glyph->num_subs = 0;
+
     /* load the glyph, recursively when needed */
     return pfr_glyph_load_rec( glyph, stream, gps_offset, offset, size );
   }