summaryrefslogtreecommitdiff
path: root/tests/markup-parse.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-08-14 23:18:25 -0400
committerMatthias Clasen <mclasen@redhat.com>2015-08-14 23:18:25 -0400
commita2095b02d71a62a32e39fd4ca3c5c92457cdead7 (patch)
tree922d28d99b629e494ff7732094774ac68fe41a24 /tests/markup-parse.c
parent9a2b0f07225aaf69b33494ce7de62c814cff6b59 (diff)
downloadpango-a2095b02d71a62a32e39fd4ca3c5c92457cdead7.tar.gz
Add a testcase for font-features in markup
Diffstat (limited to 'tests/markup-parse.c')
-rw-r--r--tests/markup-parse.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/markup-parse.c b/tests/markup-parse.c
index bd4b1634..60288d8f 100644
--- a/tests/markup-parse.c
+++ b/tests/markup-parse.c
@@ -97,6 +97,9 @@ print_attr (PangoAttribute *attr, GString *string)
case PANGO_ATTR_GRAVITY_HINT:
g_string_append_printf (string,"gravity-hint %d\n", ((PangoAttrInt *)attr)->value);
break;
+ case PANGO_ATTR_FONT_FEATURES:
+ g_string_append_printf (string,"font-features %s\n", ((PangoAttrString *)attr)->value);
+ break;
case PANGO_ATTR_FOREGROUND_ALPHA:
g_string_append_printf (string,"foreground-alpha %04x\n", ((PangoAttrInt *)attr)->value);
break;