Add a Pango renderer

Desktop / GNOME / GTK - Matthias Clasen [redhat.com] - 1 September 2017 13:30 EDT

Copy the PangoCairoRenderer into GTK+, rename it to GskPangoRenderer, and strip it down far enough to build without private pango apis. This means we currently don't support hexboxes or shapes.

Currently, this lives in gtk, but it might be nicer to put it in gsk eventually.

82e8f3a Add a Pango renderer
gtk/gskpango.c | 531 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
gtk/gskpango.h | 45 +++++
gtk/meson.build | 1 +
3 files changed, 577 insertions(+)

Upstream: git.gnome.org


  • Share