[cairo] [PATCH 0/6] cover glyph support

matthias.clasen at gmail.com matthias.clasen at gmail.com
Sat Apr 9 03:22:27 UTC 2016


From: Matthias Clasen <mclasen at redhat.com>

Its been almost three years since Behdad posted a quick sketch
of how support for colored glyphs could look in cairo
(https://github.com/behdad/cairo/commits/color-emoji).
Over the last few days, I've spent some time on turning this
into a more complete solution.

The patches in this series provide fully working support for
colored glyphs in OpenType fonts for the image compositor and
the xlib compositor, and should be mergable.


Matthias Clasen (6):
  Add support for color glyphs to cairo_scaled_glyph_t
  Support loading color glyphs with freetype
  Expose 'has color glyphs' as a scaled font property
  Implement has_color_glyphs for freetype
  Add color glyph support to the image compositor
  Support color glyphs in the xlib compositor

 src/cairo-ft-font.c                |  75 ++++++++++---
 src/cairo-image-compositor.c       | 220 +++++++++++++++++++++++++------------
 src/cairo-scaled-font-private.h    |   3 +
 src/cairo-scaled-font.c            |  30 +++++
 src/cairo-xlib-render-compositor.c |  29 +++++
 src/cairoint.h                     |  11 +-
 6 files changed, 278 insertions(+), 90 deletions(-)

-- 
2.7.3



More information about the cairo mailing list