Re: Color fonts
Adrian Johnson <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
On 15/08/17 09:31, Matthias Clasen wrote: > On Sun, Aug 13, 2017 at 5:59 PM, Behdad Esfahbod <[email protected] > <mailto:[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. False alarm. It turns out the font I was testing with has a color image defined for every glyph including black colored glyphs which shouldn't need an image. -- cairo mailing list [email protected] https://lists.cairographics.org/mailman/listinfo/cairo