A look at pathfinder
nical.github.io
A look at pathfinder
1–10 of 13 posts
Re: A look at pathfinder
#2Thanks to Nical for the excellent writeup!
Re: A look at pathfinder
#3What I don't get: if that's the case, shouldn't it be integrated at a lower level, i.e. not just for drawing SVG or text, but the whole of the canvas tag? Because that's where occlusion also could take place?
Re: A look at pathfinder
#4So if I read this correctly, it's an algorithm that Firefox could use when it handles the HTML canvas tag. For instance to draw SVG or text. Is that correct? And the good thing here, is that it uses GPU instructions to determine occlusion, and thus speed up the drawing process. What I don't get: if that's the case, shouldn't it be integrated at a lower level, i.e. not just for drawing SVG or text, but the whole of th…
In fact, Pathfinder offers a subset of the HTML canvas API which you can use in your Rust apps right now. Here's an example: https://github.com/pcwalton/pathfinder/blob/master/examples/...
Re: A look at pathfinder
#5Main author of Pathfinder here--feel free to ask any questions. :) Thanks to Nical for the excellent writeup!
Re: A look at pathfinder
#6Main author of Pathfinder here--feel free to ask any questions. :) Thanks to Nical for the excellent writeup!
Re: A look at pathfinder
#7Re: A look at pathfinder
#8Main author of Pathfinder here--feel free to ask any questions. :) Thanks to Nical for the excellent writeup!
Is there still a need to cache results in a texture or is it practical to render from scratch each frame?
Re: A look at pathfinder
#9Main author of Pathfinder here--feel free to ask any questions. :) Thanks to Nical for the excellent writeup!
Re: A look at pathfinder
#10Main author of Pathfinder here--feel free to ask any questions. :) Thanks to Nical for the excellent writeup!
If so, do people get mad that their fonts look a bit lighter than existing rasterization tools which (incorrectly) work in gammma-encoded color space?