[pango/wip/matthiasc/font-variations: 24/30] Add some tests with variations



commit 3ccb6085580d05bfb0f2dfb77d55eaea1403f45d
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Sep 7 06:35:05 2017 -0400

    Add some tests with variations

 tests/markups/valid-10.expected |   24 ++++++++++++++++++
 tests/markups/valid-10.markup   |   11 ++++++++
 tests/markups/valid-11.expected |   50 +++++++++++++++++++++++++++++++++++++++
 tests/markups/valid-11.markup   |   11 ++++++++
 4 files changed, 96 insertions(+), 0 deletions(-)
---
diff --git a/tests/markups/valid-10.expected b/tests/markups/valid-10.expected
new file mode 100644
index 0000000..1479696
--- /dev/null
+++ b/tests/markups/valid-10.expected
@@ -0,0 +1,24 @@
+Lots of attrs
+
+
+---
+
+range 0 13
+[0 13] font Sans Italic 12 @wdth=100,wght=200
+[0 13] foreground #0000ffff0000
+[0 13] background #f0f0f0f0f0f0
+[0 13] underline 2
+[0 13] underline-color #ffff00000000
+[0 13] gravity 0
+[0 13] gravity-hint 1
+[0 13] strikethrough 1
+[0 13] strikethrough-color #00000000ffff
+[0 13] fallback 0
+[0 13] language de
+range 13 2147483647
+
+
+---
+
+[0:13] de Sans Italic 12 @wdth=100,wght=200
+[13:2147483647] (null) Sans Italic 12 @wdth=100,wght=200
diff --git a/tests/markups/valid-10.markup b/tests/markups/valid-10.markup
new file mode 100644
index 0000000..b454074
--- /dev/null
+++ b/tests/markups/valid-10.markup
@@ -0,0 +1,11 @@
+<span font="Sans Italic 12 @wdth=100,wght=200"
+      foreground="#00ff00"
+      background="#f0f0f0"
+      underline="double"
+      underline_color="red"
+      strikethrough="true"
+      strikethrough_color="blue"
+      fallback="false"
+      lang="de"
+      gravity="south"
+      gravity_hint="strong">Lots of attrs</span>
diff --git a/tests/markups/valid-11.expected b/tests/markups/valid-11.expected
new file mode 100644
index 0000000..a41b65b
--- /dev/null
+++ b/tests/markups/valid-11.expected
@@ -0,0 +1,50 @@
+Lots of attrs
+
+
+---
+
+range 0 5
+[0 13] font Sans Italic 12 @wdth=100,wght=200
+[0 13] foreground #0000ffff0000
+[0 13] background #f0f0f0f0f0f0
+[0 13] underline 2
+[0 13] underline-color #ffff00000000
+[0 13] gravity 0
+[0 13] gravity-hint 1
+[0 13] strikethrough 1
+[0 13] strikethrough-color #00000000ffff
+[0 13] fallback 0
+[0 13] language de
+range 5 7
+[0 13] foreground #0000ffff0000
+[0 13] background #f0f0f0f0f0f0
+[0 13] underline 2
+[0 13] underline-color #ffff00000000
+[0 13] gravity 0
+[0 13] gravity-hint 1
+[0 13] strikethrough 1
+[0 13] strikethrough-color #00000000ffff
+[0 13] fallback 0
+[0 13] language de
+[5 7] font Bold
+range 7 13
+[0 13] font Sans Italic 12 @wdth=100,wght=200
+[0 13] foreground #0000ffff0000
+[0 13] background #f0f0f0f0f0f0
+[0 13] underline 2
+[0 13] underline-color #ffff00000000
+[0 13] gravity 0
+[0 13] gravity-hint 1
+[0 13] strikethrough 1
+[0 13] strikethrough-color #00000000ffff
+[0 13] fallback 0
+[0 13] language de
+range 13 2147483647
+
+
+---
+
+[0:5] de Sans Italic 12 @wdth=100,wght=200
+[5:7] de Sans Bold 12 @wdth=100,wght=200
+[7:13] de Sans Italic 12 @wdth=100,wght=200
+[13:2147483647] (null) Sans Italic 12 @wdth=100,wght=200
diff --git a/tests/markups/valid-11.markup b/tests/markups/valid-11.markup
new file mode 100644
index 0000000..e7ae838
--- /dev/null
+++ b/tests/markups/valid-11.markup
@@ -0,0 +1,11 @@
+<span font="Sans Italic 12 @wdth=100,wght=200"
+      foreground="#00ff00"
+      background="#f0f0f0"
+      underline="double"
+      underline_color="red"
+      strikethrough="true"
+      strikethrough_color="blue"
+      fallback="false"
+      lang="de"
+      gravity="south"
+      gravity_hint="strong">Lots <span font="bold">of</span> attrs</span>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]