Fix a thinko in color glyph support

Matthias Clasen <[email protected]> Fri, 31 May 2019 09:59:34 -0400
Newsgroups gmane.comp.lib.cairo
Message-ID <CAFwd_vCVLLXxz4s3Jrk+4k_D+fnV13mip-wC0Nxgbo1rSefgFg@mail.gmail.com>
--===============0819063007==
Content-Type: multipart/alternative; boundary="000000000000d1529a058a2f6ddc"

--000000000000d1529a058a2f6ddc
Content-Type: text/plain; charset="UTF-8"

I've spent some time tracking down a GTK+ / Pango crash (
https://gitlab.gnome.org/GNOME/pango/issues/346 ).

Turns out that there was a thinko in our original color glyph patch. We
can't modify the passed-in text.

Here is a quick fix:

https://github.com/matthiasclasen/cairo/commit/79ad01724161502e8d9d2bd384ff1f0174e5df6e

This probably needs to go into a stable cairo branch too.

--000000000000d1529a058a2f6ddc
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>I&#39;ve spent some time tracking down a GTK+ / Pango=
 crash ( <a href=3D"https://gitlab.gnome.org/GNOME/pango/issues/346">https:=
//gitlab.gnome.org/GNOME/pango/issues/346</a> ).</div><div><br></div><div>T=
urns out that there was a thinko in our original color glyph patch. We</div=
><div>can&#39;t modify the passed-in text.</div><div><br></div><div>Here is=
 a quick fix:<br></div><div><br></div><div><a href=3D"https://github.com/ma=
tthiasclasen/cairo/commit/79ad01724161502e8d9d2bd384ff1f0174e5df6e">https:/=
/github.com/matthiasclasen/cairo/commit/79ad01724161502e8d9d2bd384ff1f0174e=
5df6e</a></div><div><br></div><div>This probably needs to go into a stable =
cairo branch too.<br></div></div>

--000000000000d1529a058a2f6ddc--

--===============0819063007==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

LS0gCmNhaXJvIG1haWxpbmcgbGlzdApjYWlyb0BjYWlyb2dyYXBoaWNzLm9yZwpodHRwczovL2xp
c3RzLmNhaXJvZ3JhcGhpY3Mub3JnL21haWxtYW4vbGlzdGluZm8vY2Fpcm8=

--===============0819063007==--