Use correct loop counter while building hints in `glyf' table.
commitdb9ee2d9001cd18a8d1fc89c1ab6f94c46c3fdcc
authorWerner Lemberg <wl@gnu.org>
Sat, 29 Nov 2014 08:17:27 +0000 (29 09:17 +0100)
committerWerner Lemberg <wl@gnu.org>
Sat, 29 Nov 2014 08:17:27 +0000 (29 09:17 +0100)
tree72d84fce9cd420fb2d46338762eb6fcb1f920fa1
parentd0df6ac433ada2c50c5b506f8d77f5d2480e1533
Use correct loop counter while building hints in `glyf' table.

Always rely on the number of glyphs derived from the `loca' table size to
avoid crashes for buggy fonts.

Bug reported by Marc Schönefeld <marc.schoenefeld@gmx.org>.
THANKS
lib/taglyf.c