[autofit] Fix comment.

This commit is contained in:
Werner Lemberg 2014-05-13 15:33:11 +02:00
parent 15da66a630
commit d7f4594317
1 changed files with 3 additions and 2 deletions

View File

@ -355,8 +355,9 @@
count++;
#endif
/* HarfBuzz 0.9.26 and older doesn't validate glyph indices */
/* returned by `hb_ot_layout_lookup_collect_glyphs'... */
/* glyph indices returned by `hb_ot_layout_lookup_collect_glyphs' */
/* can be arbitrary: some fonts use fake indices for processing */
/* internal to GSUB or GPOS, which is fully valid */
if ( idx >= (hb_codepoint_t)globals->glyph_count )
continue;