Re:Firefox takes a bite out of the canvas ‘super cookie’
by eximius on Monday October 30, 2017 @01:36PM
(#15587098)
font-rs, pathfinder are both open source Rust libraries for font rendering (cpu, gpu, respectively).
[ Parent
| on HN ]
Re:Firefox takes a bite out of the canvas ‘super cookie’
by rspeer on Monday October 30, 2017 @03:17PM
(#15588012)
I checked font-rs and it looks like it just solves the small problem of rasterizing glyphs, not the whole stack.
I would love a replacement for Pango/Cairo, because they are utter dependency hell, but don't get my hopes up prematurely.
Re:Firefox takes a bite out of the canvas ‘super cookie’
by pcwalton on Monday October 30, 2017 @07:38PM
(#15589978)
You might not need Pango: HarfBuzz might be enough, depending on your needs. HB has a relatively easy to use API. stb_truetype is even more minimal.
As for Cairo, there are lighter-weight alternatives available: AGG, nanovg, etc.