Re: [cairo] Color fonts



On Sat, Jul 1, 2017 at 2:25 AM, Uli Schlachter <psychon znc in> wrote:
On 30.06.2017 17:29, Behdad Esfahbod wrote:
> On Jun 30, 2017 7:51 PM, "Matthias Clasen" <mclasen redhat com> wrote:
>
> On Fri, 2017-06-30 at 17:02 +0200, Uli Schlachter wrote:
>> Hi,
>>
>> On 28.06.2017 14:23, Behdad Esfahbod wrote:
>>> All of you have asked me about the status of color fonts in
>>> cairo.  There's
>>> some discussion here:
>>
>> what was the solution to make this fit into cairo's drawing model?
>> Text
>> / glyphs are used as a mask and a mask does not have colors.
>>
>
> There is no solution to that. The assumption in cairo's drawing model
> about glyphs/fonts has simply been invalidated by reality.
>
>
> Correct.

Okay... so what is the new model? What happens when I draw a color glyph
with operator XOR and a red source?

The red source is ignored for color glyphs because they are used as the source.


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