FreeType should offer blending! I think the API is there but needs to
be massaged.
FT_Bitmap_Convert could be the function that does blending on top of
its current narrow use.
FT_Bitmap structure has many wonderful fields like palette and
palette_mode already reserved
You mean rendering libs pass in a bitmap of their surface and FT does
the blending and correction itself? Hm. I thought this would be better
done in some hardware-accelerated thingy in video ram because you'll
have to do it the entire time and copy stuff back and forth. But it
might be a nice helper function for inspiration.
_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel