Don't count fixing-up FeatureParams offset as error
authorBehdad Esfahbod <behdad@behdad.org>
Tue, 5 Jan 2016 13:23:45 +0000 (13:23 +0000)
committerBehdad Esfahbod <behdad@behdad.org>
Tue, 5 Jan 2016 13:23:45 +0000 (13:23 +0000)
commitda2fcfdc51a2cc0d0a782efa6c91b733f7aa84ba
treef336330f369e90cb496d694f6d93b72c52e697cf
parentd0adc80965506810820f9ec165b8df80cc8907e3
Don't count fixing-up FeatureParams offset as error

The font Garamond Premier Pro Caption (and possibly many other
Adobe fonts), have many FeatureParamsSize tables with the old
wrong offset.  We handle fixing those up, but they were still
contributing to edit_count, and when I reduced HB_SANITIZE_MAX_EDIT
from 100 to 8 in 14c2de321826c36037adde859ccca3e2011325a9, these
fonts were now getting GPOS dropped and hence kerning disabled.

Fix, by not counting edits made towareds offset fix-up.  I'll
also increase edit count again, in the next commit.
src/hb-ot-layout-common-private.hh