diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-08-14 23:18:25 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-08-14 23:18:25 -0400 |
commit | a2095b02d71a62a32e39fd4ca3c5c92457cdead7 (patch) | |
tree | 922d28d99b629e494ff7732094774ac68fe41a24 /tests/markup-parse.c | |
parent | 9a2b0f07225aaf69b33494ce7de62c814cff6b59 (diff) | |
download | pango-a2095b02d71a62a32e39fd4ca3c5c92457cdead7.tar.gz |
Add a testcase for font-features in markup
Diffstat (limited to 'tests/markup-parse.c')
-rw-r--r-- | tests/markup-parse.c | 3 |
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; |