-
Notifications
You must be signed in to change notification settings - Fork 5
UTN#11 versus OpenType Myanmar shaping #43
Comments
You need to explain in what sense these are “equivalent”. |
Unfortunately it looks like this was tried but rejected. (harfbuzz/harfbuzz#1773) I say "unfortunately" because I found another discrepancy between actual usage and the Microsoft spec. The sequence medial la / medial ha does occur in Mon, but is disallowed by current shapers. This is because MS has both Medial Ha and Mon La in the same ( Not sure how to fix this: one option is to move medial la to its own group; another is to allow A third, and potentially more future-proof, solution would be to reopen the USE/mym3 idea. |
@ohbendy, can you definitively confirm that medial la-ha is a real thing? I only ask because in UTN11, @mhosken has |
Ha yeah I checked these recently. Apparently medial La and medial Ha have never been possible in Mon language, but Old Burmese has the sequence 1039 101C 103E (so the medial La isn't the Mon medial La encoded at 1060). However it appears that Asho Chin has the sequence 1060 103E as in the last line here: I also noticed the Padauk font contains that ligature as 103E_1060 (since the order of medials otherwise follows alphabetic order I wonder why it's not 1060_103E) and 103D_1060; I'm not certain which language has that sequence. We also find 103D 103D in the Tai languages of Northeast India and Northwest Burma, since 103D occurs as a vowel sign in those languages, and can be reduplicated. |
Excellent, thanks. I'm going to raise a query/issue in MicrosoftTypography; will fix in Harfbuzz too. |
Harfbuzz now supports medial ha - medial la. :-) |
UTN#11 ("Representing Myanmar in Unicode") specifies a suggested canonical order of storing syllabic elements, as well as some fairly sensible constraints on the syllable structure. The OpenType Myanmar shaper, however, performs fairly minimal reordering - kinzi, medial ra, and pre-base vowels go before the consonant,
A VBlw
becomesVBlw A
. OpenType also has a very loosely constrained syllabic structure.The upshot of this is that equivalent sequences are not reordered and so produce different output:
It would make sense for the shaper behaviour to match the syllable pattern of UTN11, and perform a strong canonical reordering.
The text was updated successfully, but these errors were encountered: