Letter-spacing splits conjuncts #117
Labels
doc:beng
doc:deva
doc:gujr
doc:taml
gap
i:spacing
Text spacing
l:bn
Bengali language & script
l:gu
Gujurati language & script
l:hi
Hindi, Devanagari script
l:ta
Tamil language & script
p:advanced
s:beng
Bengali script
s:deva
Devanagari script
s:gujr
Gurajati script
s:taml
Tamil script
x:beng
x:blink
x:deva
x:gecko
x:gujr
x:taml
x:webkit
This issue is applicable to most languages that form conjuncts from consonant clusters using an invisible virama.
A consonant cluster that uses a conjunct (rather than visible virama) should not be split when letter-spacing is applied.
The GAP
Relying on grapheme clusters as the main segmentation approach fails for many Indic scripts because conjuncts are composed of multiple grapheme clusters, and should be kept together as a unit.
For these situations it is necessary to tailor the segmentation algorithm, so that it recognises the whole consonant cluster plus any attached vowel-signs or combining characters as a single unit.
For examples see Typographic character units in complex scripts.
See also notes on segmentation for the following orthographies relevant to this project: Hindi, Bangla, Punjabi, Tamil.
css-text-3 CSS uses the concept of 'typographic character unit', rather than grapheme cluster, in its specs with the explanation that the cases just described go beyond the scope of the grapheme cluster concept and that implementations should provide appropriate support. The spec doesn't provide details about the support needed for each language.
The Unicode Consortium made some attempts to address this issue, but it has so far not yielded results. CLDR now flags up a few scripts for which conjuncts are common.
Priority
Keeping conjuncts together is a pretty basic requirement. It is not possible to work around this problem.
That said, letter-spacing is not relied on for essential content authoring, therefore the priority was set to advanced.
Tests & results
Interactive test, When letter-spacing is applied to Devanagari the browser will not split conjuncts
Interactive test, When letter-spacing is applied to Bengali the browser will not split conjuncts
Action taken
tbd
Outcomes
tbd
The text was updated successfully, but these errors were encountered: