Screwtapello on Nostr: After a little confusion and a lot of yak shaving, I now think I've ironed out all ...
After a little confusion and a lot of yak shaving, I now think I've ironed out all the issues I had in text measurement and rendering. There's no invisible whitespace pushing things to the left, the "0.5px" rounding errors that come from centering text are no longer compounding, and I even made it round pixel coordinates *right* instead of *left* to compensate for the visual weight of capital letters.
This is a little unfortunate for the "Backspace" key, whose label is uniquely right-heavy rather than left-heavy. But I'm going to have to fix that manually is an image editor afterward, because I think I've automated about as much as I can.
Maybe next I'll be able to iterate on coming up with button artwork that looks nice.