mooman219 / fontdue

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

Custom font colors #143

Closed morn-0 closed 1 year ago

morn-0 commented 1 year ago

Hello, I am trying to customize the rendering color of a font, how do I calculate it based on the rasterize or rasterize_subpixel function. I've tried a few options and they don't seem to work very well

morn-0 commented 1 year ago

Incidentally to add to my context: it's based on a tiny-skia pixmap getting pixels_mut for the operation