News for hackers. Stuff that matters.
Re:Inside font-rs, a font renderer written in Rust by rtpg on Tuesday August 02, 2016 @10:02AM (#12209971)
I would imagine that arbitrary SVG rendering is harder to get right?

With fonts you can probably cache a lot of the rendering (even considering things like ligatures), and considering how much text your machine is showing, the performance tricks could be extra useful.

Re:Inside font-rs, a font renderer written in Rust by valarauca1 on Tuesday August 02, 2016 @10:38AM (#12210256)
SVG standard includes JavaScript.

So SVG renderers are very non-trivial to implement.

Re:Inside font-rs, a font renderer written in Rust by posterboy on Tuesday August 02, 2016 @11:53AM (#12210823)
hilarious
Re:Inside font-rs, a font renderer written in Rust by kbenson on Tuesday August 02, 2016 @02:55PM (#12212304)
In a "laugh because the only other option is to break down and cry" sort of way, yes.
Re:Inside font-rs, a font renderer written in Rust by amelius on Tuesday August 02, 2016 @10:47AM (#12210320)
> and considering how much text your machine is showing, the performance tricks could be extra useful

Well, an SVG-based drawing program has to re-render a lot of the same SVG every time the user makes a little change. Also, when animating an SVG scene, a lot of the shapes are redrawn continuously.