Re: Color fonts

Matthias Clasen <[email protected]>
Newsgroups gmane.comp.lib.cairo,gmane.comp.gnome.gtk+.devel.general
Message-ID <CAFwd_vAtiGi7eO3ysQLA5z3sJiy9VmqEibE2oJiMgtp4RyvdOA@mail.gmail.com>
On Thu, Jun 29, 2017 at 11:18 PM, Matthias Clasen <[email protected]
> 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.

-- 
cairo mailing list
[email protected]
https://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.