Letter Spacing Is Broken And There’s Nothing We Can Do About It… Maybe | CSS-Tricks

August 2, 2024

The question seems simple: letter spacing is the space between letters. Hooray! That was easy, for humans. For a computer, the question of how to render the space between letters has a lot more nuance. A human just writes the next letter without putting in much thought. Computers, on the other hand, need a strategy on how to render that space: should they add the full space at the beginning of the letter, at the end, or halve it and add it on both sides of the letter? Should it work differently from left-to-right (LTR) languages, like English, to right-to-left (RTL) like Hebrew? These questions are crucial since choosing one as a standard shapes how text measurement and line breaks work across the web.

Source: Letter Spacing Is Broken And There’s Nothing We Can Do About It… Maybe | CSS-Tricks

A deep dive into one of CSS’s oldest properties, letter-spacing.