News for hackers. Stuff that matters.
Re:Show HN: A Graphviz Implementation in Rust by graphviz on Thursday March 17, 2022 @10:56PM (#30718306)
We always had trouble with that too. Wasn't there another YC thread in the last couple of days about exactly this problem in typography.
Re:Show HN: A Graphviz Implementation in Rust by andreareina on Friday March 18, 2022 @12:34AM (#30718771)
In theory you could rasterize and center the result in the box. In practice, good luck accounting for how ascenders and descenders alter the visual balance to make something that feels "right". I've spent way too much time fiddling with borders on my photos, I don't want to imagine working with something so unruly as text!