w3c / sealreq

Southeast Asian layout task force
34 stars 5 forks source link

Letter-spacing breaks text units #36

Open r12a opened 4 years ago

r12a commented 4 years ago

Cambodian text doesn't appear to use inter-letter spacing in running text, however it is sometimes used in signage. (@mcdurdin) See an example. The rules for where the separations appear are still not clear, however one might expect that it keeps together base + subjoined consonants, and base consonants + vowel signs. The situation is less clear for spacing vowel-signs such as ◌ា [U+17B6 KHMER VOWEL SIGN AA​], which are shown separated in the example linked to above.

Firefox on MacOS keeps all vowel signs and diacritics with base characters. It also keeps together consonant stacks and their vowel signs, such as ខ្លួ. Also, ligated combinations such as បា កា are rendered as expected.

Chrome on MacOS fails to keep vowel signs together with a preceding subjoined consonant.

Safari separates all characters, combining or not.

I'm marking this as advanced, even though it's broken on Chrome and Safari, until someone proposes that it really is needed for Web or eBook content. Happy to change.

r12a commented 4 years ago

The first comment in this issue contains text that will automatically appear in the Khmer gap-analysis document as a subsection with the same title as this issue. Any edits made to that comment will be immediately available in the document. Proposals for changes or discussion of the content can be made in comments below this point.