Browsers apply extraneous spaces when letter-spacing #7
Labels
doc:cans
Canadian Syllabics gap-analysis content.
doc:cher
Cherokee gap-analysis content.
doc:osge
Osage gap-analysis content.
gap
Gap-analysis content. Do not close.
i:spacing
Text spacing
l:chr
Cherokee
l:crk
Plains Cree
l:ike
Inuktitut
l:osa
Osage
p:advanced
The gap-analysis priority is Advanced.
s:cans
Canadian Aboriginal Syllabics
s:cher
Cherokee
s:osge
Osage
This issue applies to all languages that use letter-spacing.
Currently browsers that apply letter-spacing do so by adding a space after every letter in the text that is tracked. This results in a superfluous space at the end of the range, which creates an inappropriate gap before the following text. Letter spacing at the end of a line makes the line look misaligned in justified or right-justified text. It also has implications for text that has other styling, such as an outline or a coloured background, at the same time as being stretched.
Example in German:

For more details, see this GitHub issue, which is being used to track this gap. Please add any discussion there, and not to this issue.
The text was updated successfully, but these errors were encountered: