summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-06-17 06:44:22 -0400
committerMatthias Clasen <mclasen@redhat.com>2022-06-22 13:57:26 -0400
commitd2d4abe7b95d8f18800a0c0cf0d350989932016c (patch)
tree00e1c56e704afb588556c1140c80cbd5e7695d1d
parent080a14160342b558c4b8283b831b4cd7055d838f (diff)
downloadpango-d2d4abe7b95d8f18800a0c0cf0d350989932016c.tar.gz
Add a test for numeric stretch
-rw-r--r--tests/markups/custom.expected4
-rw-r--r--tests/markups/custom.markup2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/markups/custom.expected b/tests/markups/custom.expected
index ca262a3c..5d094df0 100644
--- a/tests/markups/custom.expected
+++ b/tests/markups/custom.expected
@@ -52,7 +52,7 @@ range 42 45
1 160 font-desc "Cantarell 20"
range 45 52
1 160 font-desc "Cantarell 20"
-45 52 stretch ultra-expanded
+45 52 stretch 811
range 52 55
1 160 font-desc "Cantarell 20"
range 55 58
@@ -122,7 +122,7 @@ range 160 2147483647
[32:35] (null) Cantarell 20
[35:42] (null) Cantarell Small-Caps 20
[42:45] (null) Cantarell 20
-[45:52] (null) Cantarell Ultra-Expanded 20
+[45:52] (null) Cantarell stretch=811 20
[52:55] (null) Cantarell 20
[55:58] (null) Cantarell 20
[58:61] (null) Cantarell 20
diff --git a/tests/markups/custom.markup b/tests/markups/custom.markup
index 6556e3ed..166657c1 100644
--- a/tests/markups/custom.markup
+++ b/tests/markups/custom.markup
@@ -5,7 +5,7 @@
<span font_style="italic">style</span>
<span font_weight="738">weight</span>
<span font_variant="small-caps">variant</span>
- <span font_stretch="ultra-expanded">stretch</span>
+ <span font_stretch="811">stretch</span>
<span color="red">red</span>
<span fgcolor="#ff0000ff">red</span>
<span bgcolor="#00aabbcc">not red</span>