News for hackers. Stuff that matters.
Re:Show HN: Repaint – a WebGL based website builder by benshumaker0 on Tuesday September 03, 2024 @01:46PM (#41437271)
Man you're right. The text layout system was brutal. I had a particularly memorable day where I couldn't figure out why our line height didn't match the browser (and each browser was different). I fixed it by adding a constant that was buried in the font files. It took 12 hours. It was a one liner.

Haven't planned accessibility help yet. But I think simple warnings could go far. When I break guidelines, it's usually by accident.

Re:Show HN: Repaint – a WebGL based website builder by pavlov on Tuesday September 03, 2024 @03:37PM (#41438367)
I’m betting the value you were looking was in the OS/2 table in the TrueType/OpenType files.

Every time I have to interact with font metrics data directly, I pour one out for IBM’s greatest and most tragic PC desktop OS.

Re:Show HN: Repaint – a WebGL based website builder by pka on Tuesday September 03, 2024 @05:53PM (#41439670)
I hope you know what you're in for! [0] Good luck and godspeed :D

https://faultlore.com/blah/text-hates-you

Re:Show HN: Repaint – a WebGL based website builder by izakfr on Tuesday September 03, 2024 @06:26PM (#41439953)
We've looked over this essay a few times and we can relate. Rendering text is not for the faint of heart :)