[pango/pango2: 144/168] Add a test for numeric stretch




commit 84e7d8f16dfdec5ebdc8c8a02b2a6580df7bc835
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Jun 17 06:44:22 2022 -0400

    Add a test for numeric stretch

 tests/markups/custom.expected | 4 ++--
 tests/markups/custom.markup   | 2 +-
 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>


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