|
From: | Nikolaus Waxweiler |
Subject: | Re: [ft-devel] Turning off stem darkening by default until all drivers support it? |
Date: | Tue, 10 Nov 2015 16:24:03 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |