Browsers apply extraneous spaces when letter-spacing #118
Labels
doc:beng
doc:deva
doc:gujr
doc:guru
doc:taml
gap
i:spacing
Text spacing
l:bn
Bengali language & script
l:gu
Gujurati language & script
l:hi
Hindi, Devanagari script
l:pa
Punjabi, Gurmukhi script
l:ta
Tamil language & script
p:advanced
s:beng
Bengali script
s:deva
Devanagari script
s:gujr
Gurajati script
s:guru
Gurmukhi script
s:taml
Tamil script
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.
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: