Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Congratulations. The product looks very interesting.

Also congratulations on building a canvas engine library! Nothing is easy when it comes to canvas. Creating one for the WebGL canvas is magnitudes of more difficulty compared to 2D (which is what my library maps to).

I'd love to hear your horror stories when it came to coding up the text layout functionality and text editor - that is, in my view, the hardest part of the job: I may have invented a few new swear words while tackling that work.

I'd also be interested in your plans for accessibility. Not just making the tool accessible, but how such a tool may push designers to consider accessibility as a first class requirement for the end user in the projects they build with the tool.

Best wishes and great fortune!



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.


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.


I hope you know what you're in for! [0] Good luck and godspeed :D

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


We've looked over this essay a few times and we can relate. Rendering text is not for the faint of heart :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: