<div dir="ltr">On Sun, Aug 13, 2017 at 5:59 PM, Behdad Esfahbod <span dir="ltr"><<a href="mailto:behdad@behdad.org" target="_blank">behdad@behdad.org</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="gmail-"></span><br><div> <br></div><span class="gmail-"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Also, the current implementation has a regression. If a font contains<br>
any color glyphs, every glyph in the font will be rendered as an image<br>
instead of show_glyphs.<br>
</blockquote></span></div><br></div><div class="gmail_extra">Does it?  It's not supposed to be that way.<span class="gmail-HOEnZb"><font color="#888888"><br></font></span></div><span class="gmail-HOEnZb"><font color="#888888"><div class="gmail_extra"><br></div></font></span></div></blockquote><div><br></div><div>The code is certainly trying to do the right thing: composite_color_glyphs is skipping clusters and glyphs<br></div><div>which dont't have  CAIRO_SCALED_GLYPH_INFO_COLOR_SURFACE set, and falls through to the <br></div><div>show_glyphs codepath in that case.<br></div></div></div></div>