Hardest Problem in Computer Science: Centering Things
tonsky.me> We, developers, can only mathematically align perfect rectangles.
I've heard that really clever devs can do circles too...
Except for Adobe (in the case of PDF) where they can only draw Bézier curves.
By 'do' I meant only align :)
The worst part about this is that it requires knowing the font. I generally like to let users use their preferred don't so I don't change the default. So I have no hope.
CSS , tables, and mobile browsers ... shudders
Looking at implementing my own wayland compositor (finally)... the thought of centering windows properly...
mouse pointer bugs ugh
now im tempted to copy the trick