3 ms·
I suppose you could also pre-render to an atlas on the GPU. I would also say, personally, there is something aesthetically pleasing about rendering vector grap
by Pulcinella 5y ago
I suppose you could also pre-render to an atlas on the GPU.
I would also say, personally, there is something aesthetically pleasing about rendering vector graphics (fonts, SVG, etc.) on the GPU. “It’s a graphics processing unit, shouldn’t it be handling vector graphics as well?!” :)
- dahart 5y agoTotally, you could. But in the case of a text editor, that would probably be purely to flex and not because it’s faster or better or easier, right? People are definitely doing tons of vector rendering on the GPU. And the GPU is fantastic for vector graphics generally, mainly still because of the conversion to pixels. I posted links to Hughes Hoppe’s paper and the NV path rendering library, for example. Those can do font rendering as well, but I still wouldn’t use those for rendering fonts directly or for rendering text atlases because it would be difficult to implement.