freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] completed CPAL/COLR support


From: Werner LEMBERG
Subject: Re: [ft-devel] completed CPAL/COLR support
Date: Sun, 17 Jun 2018 19:17:15 +0200 (CEST)

>> the CPAL/COLR interface is now implemented and committed to git.
>> However, it is still mainly untested; I'm working on it the next
>> days – be warned that there might be issues.
> 
> If I combine FT_LOAD_COLOR and FT_LOAD_TARGET_LCD, should I get LCD
> optimized results with separate alpha used for each color channel?

I don't understand the question.  The BGRA format only supports a single
alpha for the three color channels...

> I would love to have FT_LOAD_COLOR_STRAIGHT for non-premultiplied
> output.

Do we really need that?  Using `FT_Get_Color_Glyph_Layer' in
combination with `FT_Palette_Select' you can easily extract the colors
and do the blending appropriate blending function outside of FreeType.


    Werner

reply via email to

[Prev in Thread] Current Thread [Next in Thread]