<div dir="ltr">On Wed, Jun 28, 2017 at 8:23 AM, 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello,<br><br></div>All of you have asked me about the status of color fonts in cairo.  There's some discussion here:<br><div><div><br><a href="https://github.com/googlei18n/noto-emoji/issues/36" target="_blank">https://github.com/googlei18n/<wbr>noto-emoji/issues/36</a><br><br></div><div>The remaining part is indeed the cairo patchset.  Matthias had a reworked version, which Chris Wilson objected to.  I agree with parts of his objection.  In particular, I don't think we should need to touch every compositor.<br><br></div><div>IMO, this is how it should work:<br><br></div><div>  - Extend glyph cache to also hold a color-glyph object possibly,<br><br></div><div>  - Early on, perhals in _cairo_surface_show_text_<wbr>glyphs(), ask scaled_font to see if it has color.  If it does, call a special function that iterates over the glyphs, for each, load it and see if it has color.  Show the color ones using image ops, show the rest using text ops. Or just show all as image ops, that's feasible too.<br><br></div><div>With the above, we wouldn't need to touch any compositor whatsoever.<br><br></div><div>Unfortunately I'm too busy / lazy to do this any time soon.  However, I just bought my ticket to GUADEC, so working on it together there definitely is an option.<br><br></div></div></div></blockquote><div><br></div><div>Thanks for the guidance on fixing up the cairo patchset. And yay for coming to GUADEC! <br></div></div></div></div>