Re: Color fonts
Matthias Clasen <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <CAFwd_vAjzBpV9SaQt_stKDA5xF7=MsyvrDQ1Oze_ZFtmtnnvSQ@mail.gmail.com> |
On Sun, Aug 13, 2017 at 5:59 PM, Behdad Esfahbod <[email protected]> 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. -- cairo mailing list [email protected] https://lists.cairographics.org/mailman/listinfo/cairo