Open devosb opened 3 years ago
@devosb: thanks for reporting. Note that you should not need to add lookups that effect a re-ordering of glyphs (to get the overline glyph before the base glyph) or have a positioning lookup that ignores base glyphs for letters. Rather the shaping engine should re-order the overline glyph together with the vowel sign. A bug was filed on DWrite with those details.
@PeterCon Thanks for catching that the added lookups to re-order (as you mention) are not needed (both with the fix in HB and the coming fix in DWrite. They were needed before HB was fixed, and since Adobe InDesign (tested with 16.2.1) has (apparently) not updated HB since the fix, the Noto project (which has a request for the overline character) would need to make sure their testing environment had the needed fixes.
I created a font, Japa Sans Oriya (based on Noto Sans Oriya) to support the new overline character, U+0B55 ORIYA SIGN OVERLINE, new in Unicode 13. You can get a copy of the font from the HarfBuzz issue I filed about this character.
The shaping of this character with DirectWrite is good for the most part, except for the overline above a left vowel. DirectWrite (in Notepad and Word 2016 on a Dev version of Windows 10 with the Windows Insider program (updated yesterday)
DirectWrite shows
while HarfBuzz shows
![hb](https://user-images.githubusercontent.com/12450072/113216138-1f3fd400-9239-11eb-8313-932a75f18ded.png)
There is OpenType code in the font to re-order the overline so that it can be placed over a left vowel.
The codepoints for this sample are
which is the word sheep that you can see in the proposal.