Elektrine lite

← Feed

@pixelambacht@typo.social

Post #4439501

2026-07-10 07:24 UTC

@simoncozens@typo.social Do you know why? Someone once made the deliberate decision to make an exception for the space character. And, I assume, another exception on top of that for monospace fonts as those space chars seem to match the font metrics...

Replies (1)

  • @simoncozens@typo.social 2026-07-10 07:29

    @pixelambacht@typo.social Line breaking and justification. Text layout algorithms assume that space width is fixed and can either be replaced by zero (at the end of a line) or stretched/shrunk slightly (for full justification). It's much harder to do layout and justification if your space width is variable.

    Open ##4439502