HinTak / Font-Validator

Font Validator is a tool for testing fonts prior to release. This testing ensures that fonts meet Microsoft's high quality standards and perform exceptionally well on Microsoft's platform.
Other
146 stars 12 forks source link

Possible inconsistencies in `ReverseChainSubst.GetMaxContextLength` #76

Open dscorbett opened 1 year ago

dscorbett commented 1 year ago

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?