[cairo] Color fonts

Matthias Clasen matthias.clasen at gmail.com
Fri Jun 30 21:07:24 UTC 2017

On Thu, Jun 29, 2017 at 11:18 PM, Matthias Clasen <matthias.clasen at gmail.com
> wrote:

> I had another go at this here:  https://github.com/
> matthiasclasen/cairo/tree/emoji-again

I've spent some more time on this branch. It now uses paint only for
clusters that consists
purely of color glyphs, rewriting the inputs to remove handled clusters,
and then falls through
the show_glyphs code paths.

It seems to work ok, at least as far as gedit / pango let me test easily.
I'm less confident that
the CAIRO_TEXT_CLUSTER_FLAG_BACKWARD case is entirely correct, that is hard
for me
to judge.

An unrelated observation: pango treats the gap between an emoji modifier
base and a variant selector
as a cursor position. That looks like a bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo/attachments/20170630/cc06911a/attachment.html>

More information about the cairo mailing list