-
Notifications
You must be signed in to change notification settings - Fork 682
Description
In creating a font that uses contextually chained cursive attachment, I have discovered that how harfbuzz does cursive attachment is backwards in relation to how DirectWrite does it. in harfbuzz you specify the lookup on the first, non-moving glyph and it scans forward to find the next glyph to move into position. In DirectWrite you specify the lookup to run on the moving glyph and it scans backward to find a 'base' to attach it to.
Now, I may have this wrong. My context was a left to right font using cursive attachment to give space to an attached mark type character that is implemented using a base glyph and cursive attachment.
My workaround is to specify the lookup twice. Once on the 'base' for harfbuzz and once for the 'attachment' for DirectWrite. But this can get problematic and it would be good to fix this.
Notice that for fonts that simply run a cursive attachment pass over a whole string, say Arabic, they aren't going to see much difference either way.