Re: Color fonts
On Thu, 2017-06-29 at 23:18 -0400, Matthias Clasen wrote: > I had another go at this here: > https://github.com/matthiasclasen/cairo/tree/emoji-again I rebased your old branch on top of 1.14.10 (the current stable): https://fedorapeople.org/~hadess/emoji/cairo-emoji-5-rebased-on-1.14.10.patch for posterity more than anything. I've also updated the COPR. Installing both packages in there should get you colored emojis in Characters and other GTK+ 3.x apps. https://copr.fedorainfracloud.org/coprs/hadess/emoji/ ___ gtk-devel-list mailing list gtk-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-devel-list
Re: [cairo] Color fonts
On Fri, 2017-06-30 at 17:02 +0200, Uli Schlachter wrote: > Hi, > > On 28.06.2017 14:23, Behdad Esfahbod wrote: > > All of you have asked me about the status of color fonts in > > cairo. There's > > some discussion here: > > what was the solution to make this fit into cairo's drawing model? > Text > / glyphs are used as a mask and a mask does not have colors. > There is no solution to that. The assumption in cairo's drawing model about glyphs/fonts has simply been invalidated by reality. ___ gtk-devel-list mailing list gtk-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-devel-list
Re: [cairo] Color fonts
On Jun 30, 2017 7:51 PM, "Matthias Clasen" wrote: On Fri, 2017-06-30 at 17:02 +0200, Uli Schlachter wrote: > Hi, > > On 28.06.2017 14:23, Behdad Esfahbod wrote: > > All of you have asked me about the status of color fonts in > > cairo. There's > > some discussion here: > > what was the solution to make this fit into cairo's drawing model? > Text > / glyphs are used as a mask and a mask does not have colors. > There is no solution to that. The assumption in cairo's drawing model about glyphs/fonts has simply been invalidated by reality. Correct. ___ gtk-devel-list mailing list gtk-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-devel-list
Re: Color fonts
On Thu, Jun 29, 2017 at 11:18 PM, Matthias Clasen 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. ___ gtk-devel-list mailing list gtk-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-devel-list