[cairo] Color fonts

Matthias Clasen matthias.clasen at gmail.com
Tue Aug 15 00:01:12 UTC 2017

On Sun, Aug 13, 2017 at 5:59 PM, Behdad Esfahbod <behdad at behdad.org> wrote:

>> Also, the current implementation has a regression. If a font contains
>> any color glyphs, every glyph in the font will be rendered as an image
>> instead of show_glyphs.
> Does it?  It's not supposed to be that way.
The code is certainly trying to do the right thing: composite_color_glyphs
is skipping clusters and glyphs
which dont't have  CAIRO_SCALED_GLYPH_INFO_COLOR_SURFACE set, and falls
through to the
show_glyphs codepath in that case.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo/attachments/20170814/56b46d7c/attachment.html>

More information about the cairo mailing list