[pango/pango2: 122/195] Regenerate layout tests




commit 89946ff7ba1028f139f9d2686cc8f0651d6fa549
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Jun 4 17:17:08 2022 -0400

    Regenerate layout tests

 tests/layouts/aaa.layout      | 41 +++++------------------------------------
 tests/layouts/no-space.layout |  2 +-
 tests/layouts/valid-14.layout | 36 ------------------------------------
 3 files changed, 6 insertions(+), 73 deletions(-)
---
diff --git a/tests/layouts/aaa.layout b/tests/layouts/aaa.layout
index 6f2a768d..3f2843bb 100644
--- a/tests/layouts/aaa.layout
+++ b/tests/layouts/aaa.layout
@@ -18,7 +18,6 @@
   "font" : "monospace 32",
   "wrap" : "char",
   "width" : 0,
-  "line-spacing" : 1.2999999523162842,
   "log-attrs" : [
     {
       "char-break" : true,
@@ -69,7 +68,7 @@
     "hypenated" : true,
     "unknown-glyphs" : 0,
     "width" : 53248,
-    "height" : 323792,
+    "height" : 261120,
     "lines" : [
       {
         "position" : [
@@ -110,12 +109,6 @@
                 ]
               },
               "flags" : 4,
-              "extra-attributes" : [
-                {
-                  "type" : "line-height",
-                  "value" : 1.2999999523162842
-                }
-              ],
               "y-offset" : 0,
               "start-x-offset" : 0,
               "end-x-offset" : 0,
@@ -139,7 +132,7 @@
       {
         "position" : [
           0,
-          108852
+          93184
         ],
         "line" : {
           "start-index" : 1,
@@ -175,12 +168,6 @@
                 ]
               },
               "flags" : 4,
-              "extra-attributes" : [
-                {
-                  "type" : "line-height",
-                  "value" : 1.2999999523162842
-                }
-              ],
               "y-offset" : 0,
               "start-x-offset" : 0,
               "end-x-offset" : 0,
@@ -204,7 +191,7 @@
       {
         "position" : [
           0,
-          176744
+          145408
         ],
         "line" : {
           "start-index" : 2,
@@ -240,12 +227,6 @@
                 ]
               },
               "flags" : 4,
-              "extra-attributes" : [
-                {
-                  "type" : "line-height",
-                  "value" : 1.2999999523162842
-                }
-              ],
               "y-offset" : 0,
               "start-x-offset" : 0,
               "end-x-offset" : 0,
@@ -269,7 +250,7 @@
       {
         "position" : [
           0,
-          244636
+          197632
         ],
         "line" : {
           "start-index" : 3,
@@ -305,12 +286,6 @@
                 ]
               },
               "flags" : 0,
-              "extra-attributes" : [
-                {
-                  "type" : "line-height",
-                  "value" : 1.2999999523162842
-                }
-              ],
               "y-offset" : 0,
               "start-x-offset" : 0,
               "end-x-offset" : 0,
@@ -329,7 +304,7 @@
       {
         "position" : [
           0,
-          312528
+          249856
         ],
         "line" : {
           "start-index" : 4,
@@ -365,12 +340,6 @@
                 ]
               },
               "flags" : 0,
-              "extra-attributes" : [
-                {
-                  "type" : "line-height",
-                  "value" : 1.2999999523162842
-                }
-              ],
               "y-offset" : 0,
               "start-x-offset" : 0,
               "end-x-offset" : 0,
diff --git a/tests/layouts/no-space.layout b/tests/layouts/no-space.layout
index e3657ae2..1603091f 100644
--- a/tests/layouts/no-space.layout
+++ b/tests/layouts/no-space.layout
@@ -76,7 +76,7 @@
       {
         "position" : [
           0,
-          38912
+          40448
         ],
         "line" : {
           "start-index" : 0,
diff --git a/tests/layouts/valid-14.layout b/tests/layouts/valid-14.layout
index fdfb3570..57ba35f7 100644
--- a/tests/layouts/valid-14.layout
+++ b/tests/layouts/valid-14.layout
@@ -19,7 +19,6 @@
   "font" : "Cantarell 11",
   "ellipsize" : "start",
   "width" : 161792,
-  "line-spacing" : 1.5,
   "log-attrs" : [
     {
       "char-break" : true,
@@ -225,11 +224,6 @@
               },
               "flags" : 2,
               "extra-attributes" : [
-                {
-                  "end" : 2147483647,
-                  "type" : "line-height",
-                  "value" : 1.5
-                },
                 {
                   "end" : 2147483647,
                   "type" : "fallback",
@@ -279,12 +273,6 @@
                 ]
               },
               "flags" : 0,
-              "extra-attributes" : [
-                {
-                  "type" : "line-height",
-                  "value" : 1.5
-                }
-              ],
               "y-offset" : 567,
               "start-x-offset" : 0,
               "end-x-offset" : 0,
@@ -321,12 +309,6 @@
                 ]
               },
               "flags" : 0,
-              "extra-attributes" : [
-                {
-                  "type" : "line-height",
-                  "value" : 1.5
-                }
-              ],
               "y-offset" : 0,
               "start-x-offset" : 0,
               "end-x-offset" : 0,
@@ -390,12 +372,6 @@
                 ]
               },
               "flags" : 0,
-              "extra-attributes" : [
-                {
-                  "type" : "line-height",
-                  "value" : 1.5
-                }
-              ],
               "y-offset" : 337,
               "start-x-offset" : 0,
               "end-x-offset" : 0,
@@ -450,12 +426,6 @@
                 ]
               },
               "flags" : 0,
-              "extra-attributes" : [
-                {
-                  "type" : "line-height",
-                  "value" : 1.5
-                }
-              ],
               "y-offset" : 0,
               "start-x-offset" : 0,
               "end-x-offset" : 0,
@@ -492,12 +462,6 @@
                 ]
               },
               "flags" : 0,
-              "extra-attributes" : [
-                {
-                  "type" : "line-height",
-                  "value" : 1.5
-                }
-              ],
               "y-offset" : 0,
               "start-x-offset" : 0,
               "end-x-offset" : 0,


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