On Thu, Nov 21, 2019 at 8:51 AM Werner LEMBERG <address@hidden
> I like to compose multiple glyphs in a bitmap without using any
> graphics library. I found that FT_Bitmap_Blend() does exactly what
> I want except that if none of the glyphs are color, it still
> promotes the image to a color bitmap.
> Would be nice to have another version that would only upgrade to
> color if necessary.
could you provide a patch?
I will, after I figure it out.
Another oddity is that this function does NOT transfer directly if source is color bitmap. It will flatten it to grayscale then blend that with provided foreground color.
I understand this was added to implement the MS COLR/CPAL stuff. But can be made a lot more useful with the two changes I'm requesting now.