commit | fde3e4a423871463c883cb969e99c29cb6f69f6b | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <[email protected]> | Wed Oct 29 11:23:08 2014 -0700 |
committer | Behdad Esfahbod <[email protected]> | Wed Oct 29 11:23:08 2014 -0700 |
tree | 53b0e74edf4a9b9722624bbf40b1014ba4c8f125 | |
parent | 5a5640d8506ccfc99fd119e89e829170d1fea421 [diff] |
In hb_ot_collect_glyphs(), don't recurse to a lookup more than once Otherwise, we might process a lookup thousands of times, with no benefit. This pathological case was hit by Noto Nastaliq Urdu Draft in Firefox's code to determine whether space glyph is involved in any GSUB/GPOS rules. A test page is at http://behdad.org/urdu See: https://bugzilla.mozilla.org/show_bug.cgi?id=1090869