[pango/non-breaking-attrs: 5/6] Add a test for itemization with attributes
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/non-breaking-attrs: 5/6] Add a test for itemization with attributes
- Date: Thu, 11 Jul 2019 19:26:12 +0000 (UTC)
commit 3af161ea86f4f543ba7a6bb16f83595b980e5d04
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Jul 11 11:51:25 2019 -0400
Add a test for itemization with attributes
This tests that font_fatures don't break runs anymore.
tests/itemize/two.expected | 8 ++++++++
tests/itemize/two.items | 3 +++
2 files changed, 11 insertions(+)
---
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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]