On Thu Oct 13 17:32:06 2022 +0000, Nikolay Sivov wrote:
What I mean is that (i-dirL) is negative only when i == 0 and dirL == 1, which would matter only if pGlyphProp[0].sva.fClusterStart == 0, which I think is strange. So if you're really getting -1 index there, it's better to check why fClusterStart is 0 for a first glyph.
Ah, I understand. Good point, I'll look into that!