Re: [cairo] Color fonts
Behdad Esfahbod <[email protected]>
| Newsgroups | gmane.comp.gnome.gtk+.devel.general,gmane.comp.lib.cairo |
|---|---|
| Message-ID | <CAF63+7XN3rmv69GH5UhymY-726k1Me31W9-An7tGyOPDVuW-iw@mail.gmail.com> |
On Fri, Jul 7, 2017 at 5:53 PM, Matthias Clasen <[email protected]> wrote: > On Sat, Jul 1, 2017 at 2:25 AM, Uli Schlachter <[email protected]> wrote: > >> >> 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. > Note that while with Google's (CBDT/CBLC) and Apple's (sbix) color font formats the red source will be ignored, with the Microsoft (COLR/CPAL) and Adobe's (SVG/CPAL) the font can have color imaging as well as using the current foreground color. So, the glyph image won't be just a source either. It will be a mix of source and mask... Right now those two formats are not implemented in FreeType though. -- behdad http://behdad.org/ _______________________________________________ gtk-devel-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gtk-devel-list