[truetype] Correctly reset point tags for glyph components. Problem reported by Nigel Tao <nigeltao@golang.org>. * src/truetype/ttgload.c (TT_Process_Composite_Glyph): Fix loop.
diff --git a/ChangeLog b/ChangeLog
index 927397c..00cf9b3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2013-11-05 Werner Lemberg <wl@gnu.org>
+
+ [truetype] Correctly reset point tags for glyph components.
+ Problem reported by Nigel Tao <nigeltao@golang.org>.
+
+ * src/truetype/ttgload.c (TT_Process_Composite_Glyph): Fix loop.
+
2013-11-02 Werner Lemberg <wl@gnu.org>
[truetype] Fix GETINFO opcode handling of subpixel hinting bits.
diff --git a/src/truetype/ttgload.c b/src/truetype/ttgload.c
index 5b2eae1..0fc3492 100644
--- a/src/truetype/ttgload.c
+++ b/src/truetype/ttgload.c
@@ -1254,7 +1254,7 @@
/* Some points are likely touched during execution of */
/* instructions on components. So let's untouch them. */
- for ( i = start_point; i < loader->zone.n_points; i++ )
+ for ( i = 0; i < loader->zone.n_points; i++ )
loader->zone.tags[i] &= ~FT_CURVE_TAG_TOUCH_BOTH;
loader->zone.n_points += 4;