LayoutFarm/Typography

Bug in ClassDefTable.GetClassValue

Ollhax opened this issue · 2 comments

In the function GetClassValue, there's a line:

return classValueArray[startGlyph + (glyphIndex - startGlyph)];

Which I'm pretty sure should be:

return classValueArray[glyphIndex - startGlyph];

You can send a pull request directly.

Thank you for your report.

Now it is fixed, see=>b7fff0c