>    *   The used color space is sRGB; the colors are not pre-multiplied, and
>    *   alpha values must be explicitly set.

This somewhat contradicts with
https://www.freetype.org/freetype2/docs/reference/ft2-basic_types.html#FT_PIXEL_MODE_BGRA,
which is premultiplied.

Also I thought that sRGB means blending with gamma correction of 2 or
so. Did I miss it?
http://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/src/base/ftbitmap.c#n457
Is this reusable somehow?

_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to