mooman219 / fontdue

The fastest font renderer in the world, written in pure rust.
Apache License 2.0
1.44k stars 72 forks source link

GPU Rendering #105

Closed deeprobin closed 2 years ago

deeprobin commented 2 years ago

I have a small suggestion (with probably big implementation). It's about a dependent being able to enable GPU rendering by means of a cargo feature.

Of course it would make sense to determine a certain value, which says from which text complexity the rendering on the GPU is worthwhile. Simply running everything on the GPU would not be a good idea in my opinion, since there is a GPU overhead.

You could take a look at wgpu.

mooman219 commented 2 years ago

Sorry, I have no intention of any GPU integration. You should checkout the glorious pathfinder if you're looking for a gpu rasterized font and graphics library.