psb1558/Elstob-font

Below-base diacritic blocks tittle removal

Closed this issue · 8 comments

The tittle of ⟨i⟩ or ⟨j⟩ is not removed before an above-base diacritic when there is also a below-base diacritic. For example, here is ⟨ị̊j̣̊į̊⟩.
ị̊j̣̊į̊

The above diacritic should come before the below diacritic. This is also the behavior of Brill (great academically oriented font which I have often used as a guide for the correct behavior of features):
image

Both orders are canonically equivalent. NFC puts the below-base diacritic first, so this won’t work in any renderer that applies Unicode normalization, like most web browsers.

Okay, I see what you mean. Harfbuzz does a lot of normalization, and it's widely used. I'll have to add another rule to take account of this.

Fortunately the fix is not complicated. Here are the sequences in Firefox:
image
I will apply the same fix in italic, do some testing, and post when satisfied.

And italic.
image
Next is testing.

Fonts in the fonts directory are now fixed (but no release yet). I'll leave this issue open for a few days, in case there are problems with the fix.

The fix looks good to me.

The fix is now in release 1.002.