shithub: freetype+ttf2subf

Download patch

ref: 37b67724cc4c0c13935f50352ffd72296e4ada89
parent: fd764556ac50b1f8ca3692933b1fbd23415568b2
author: David Turner <david@freetype.org>
date: Thu Feb 10 10:06:00 EST 2005

Fixing bug #11921

git/fs: mount .git/fs: mount/attach disallowed
--- 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 );
   }