diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-07-11 11:51:25 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-07-11 15:25:39 -0400 |
commit | 3af161ea86f4f543ba7a6bb16f83595b980e5d04 (patch) | |
tree | 5b21074ec6a54c24748674c719625a1ddc394bfb /tests/itemize | |
parent | a0483fc2157a7efbf153effec0b241583e43e047 (diff) | |
download | pango-3af161ea86f4f543ba7a6bb16f83595b980e5d04.tar.gz |
Add a test for itemization with attributes
This tests that font_fatures don't break runs anymore.
Diffstat (limited to 'tests/itemize')
-rw-r--r-- | tests/itemize/two.expected | 8 | ||||
-rw-r--r-- | tests/itemize/two.items | 3 |
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/itemize/two.expected b/tests/itemize/two.expected new file mode 100644 index 00000000..f0adbad0 --- /dev/null +++ b/tests/itemize/two.expected @@ -0,0 +1,8 @@ +<span font="Cantarell 11">one <span font_features="tnum=0">tw<u>o</u> <span font_features="dlig=1">two</span> </span>th<b>r</b>ee</span> + +Items: one |tw |o | |two | |th |r |ee +Font: Cantarell 11|Cantarell 11 |Cantarell 11 |Cantarell 11 |Cantarell 11 |Cantarell 11 |Cantarell 11|Cantarell Bold 11|Cantarell 11 +Script: Latn |Latn |Latn |Latn |Latn |Latn |Latn |Latn |Latn +Lang: en-us |en-us |en-us |en-us |en-us |en-us |en-us |en-us |en-us +Bidi: 0 |0 |0 |0 |0 |0 |0 |0 |0 +Attrs: |[4,12]features=tnum=0|[4,12]features=tnum=0,[6,7]underline=1|[4,12]features=tnum=0|[4,12]features=tnum=0,[8,11]features=dlig=1|[4,12]features=tnum=0| | | diff --git a/tests/itemize/two.items b/tests/itemize/two.items new file mode 100644 index 00000000..4ba41454 --- /dev/null +++ b/tests/itemize/two.items @@ -0,0 +1,3 @@ +# test that font_features attributes don't break the +# runs anymore (but other attributes do) +<span font="Cantarell 11">one <span font_features="tnum=0">tw<u>o</u> <span font_features="dlig=1">two</span> </span>th<b>r</b>ee</span> |