News for hackers. Stuff that matters.

poiru

The linked post was about Evan's side project, but within Figma, all of that is indeed possible. The glyphs are transformed into vector networks[0], which has a fill pipeline that supports transparency, gradients, images, blending, masking, etc.

[0]: https://www.figma.com/blog/introducing-vector-networks/

+1 from another Figma engineer who happened to work on the text engine back in the day.

I think that Evan generally wrote code that was as simple as possible — there was no unnecessary complexity. In this case there indeed is some inherent, unavoidable complexity due to the math involved and the performance requirements, but otherwise I found our text rendering pipeline very understandable.

Evan actually wrote about it if you're curious to learn more: https://medium.com/@evanwallace/easy-scalable-text-rendering...

Re:Figma's Journey to TypeScript on Saturday May 04, 2024 @08:57AM (#40257327)
Skew is open source, but no longer maintained: https://github.com/evanw/skew
Re:Firefox Multi-Account Containers on Friday September 15, 2017 @03:36PM (#15260087)
You can also use about:profiles, which is a little nicer than the profile manager.
Re:Firefox Multi-Account Containers on Friday September 15, 2017 @03:33PM (#15260067)
Check out about:profiles! While not nearly as nice as the Chrome UI, it is definitely more approachable than using a terminal.