[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.
2.6.5
Werner Lemberg 11 years ago
parent e4db812790
commit c606428693
  1. 7
      ChangeLog
  2. 2
      src/truetype/ttgload.c

@ -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.

@ -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;

Loading…
Cancel
Save