Thread: Letter-spacing
View Single Post
Old 01-15-2022, 07:14 AM   #8
Moonbase59
Addict
Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.Moonbase59 ought to be getting tired of karma fortunes by now.
 
Moonbase59's Avatar
 
Posts: 223
Karma: 1000244
Join Date: Oct 2021
Location: Germany
Device: Tolino Vision 5, Tolino Tab 8", Pocketbook Era (16GB)
My advice: If you really have to use letter-spacing (I know some old German texts that would require it),
  • do use the CSS property instead of, say, non-breaking spaces or the like.
  • only use relative units (like ex, em, etc.) instead of fixed units (like px).

This should at least help to avoid odd justification, searching, TTS and accessibility problems.

The letter-spacing property has been there since CSS1 (and SVG 1.1) and received a rather good reception, although it’s officially still a "recommendation", see caniuse.com. Thus, some e-readers might not have implemented it.

And of course never use it on scripts like Arabic, where some letters must stay connected.

Last edited by Moonbase59; 01-15-2022 at 07:21 AM.
Moonbase59 is offline   Reply With Quote