Find the width of a character

“Monospace” becomes meaningless once you venture outside ASCII. Different fonts and terminals won’t agree with each other about how wide any particular string is.

When trying to hack together a table like that, it’s not just natural width you are fighting against, but plenty of other aspects like ligation, stacking and reordering (to name a few):

3 Likes