font chooser: Add examples for font features

Desktop / GNOME / GTK - Matthias Clasen [redhat.com] - 1 April 2018 23:36 EDT

For some font features, we can figure out affected glyphs, and show before/after. For some others, we hardcode typical sequences.

Still to do: figure out how to find ligatures and show them.

d0e46d257c font chooser: Add examples for font features
gtk/gtkfontchooserwidget.c | 227 ++++++++++++++++++++++++++++++++++++++++++---
1 file changed, 216 insertions(+), 11 deletions(-)

Upstream: git.gnome.org


  • Share