Font-Validator icon indicating copy to clipboard operation
Font-Validator copied to clipboard

Possible inconsistencies in `ReverseChainSubst.GetMaxContextLength`

Open dscorbett opened this issue 2 years ago • 0 comments

ReverseChainSubst.GetMaxContextLength calculates the length as this.BacktrackGlyphCount + this.LookaheadGlyphCount. Other lookup types add the lengths of their input sequences, so should this method add 1? Why does it add the backtrack count when other contextual lookup types do not?

dscorbett avatar Feb 04 '23 14:02 dscorbett