Text stroke cuts joining glyphs apart #220
Labels
doc:arab_ks
doc:arab_ug
doc:arab_ur
doc:arfa
gap
The first comment in this issue is read by the gap-analysis document.
i:cursive
Cursive text
l:arb
Arabic
l:ks
Kashmiri
l:pes
Persian
l:ug
Uighur
l:ur
Urdu
p:advanced
s:arab
Arabic script (Used for arb + pes)
s:aran
Arabic nastaliq script style
x:adlm
x:alreq
x:arab-ks
x:arab-ug
x:beng
x:blink
x:css
x:css-fill-and-stroke
x:deva
x:gecko
x:guru-pa
x:nkoo
x:webkit
This issue is likely to apply to all cursive script text, but also to other scripts that have joins between letters.
When text stroke effects are applied to cursive text, they should not interrupt the cursive flow.
The GAP
Unfortunately, that's not the case for current implementations. Overlaps where the glyphs join produce double breaks in the cursive flow.
This example shows the typical result for Arabic.
The set of modern languages using cursive scripts includes those that use the following scripts: Arabic, Syriac, Mongolian, Mandaic, N'Ko, Adlam, Hanifi Rohingya. It also affects text in archaic scripts, including Phags Pa, Manichaean, Psalter Pahlavi, Sogdian, Old Uyghur, Chorasmian.
However, this also affects scripts such as Devanagari (Hindi, Marathi, etc), Gurmukhi (Punjabi), Bengali, Gondi, Modi, Newa, etc. This example is Hindi:
In Gecko, Blink, and Webkit the stroke around the text interrupts the cursive flow.
The property
text-stroke
is not yet in CSS, but has been implemented in major browsers under the name-webkit-text-stroke
.-webkit-text-stroke
is currently specified in WhatWG's Compatibility spec.Priority:
Marking as advanced because this is a decorative feature.
Tests
Interactive test, Text stroke applied to Arabic text doesn't cut joining glyphs apart
i18n test suite, Text stroke
Action taken
Issue, Standardize text-stroke Open.
Outcomes
tbd
The text was updated successfully, but these errors were encountered: