[pango/pango2: 80/168] Regenerate layout tests




commit feac5d18aa02a1cd736bfd85d8dd58655d91d726
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 a975b07e..78ff8f9a 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" : [
@@ -102,12 +101,6 @@
                 "checksum" : "84c5467cadd1f6f23db0d9fbb6377e0d301334d3b5f36e6d5acebd34d0857d3a"
               },
               "flags" : 4,
-              "extra-attributes" : [
-                {
-                  "type" : "line-height",
-                  "value" : 1.2999999523162842
-                }
-              ],
               "y-offset" : 0,
               "start-x-offset" : 0,
               "end-x-offset" : 0,
@@ -131,7 +124,7 @@
       {
         "position" : [
           0,
-          108852
+          93184
         ],
         "line" : {
           "start-index" : 1,
@@ -159,12 +152,6 @@
                 "checksum" : "84c5467cadd1f6f23db0d9fbb6377e0d301334d3b5f36e6d5acebd34d0857d3a"
               },
               "flags" : 4,
-              "extra-attributes" : [
-                {
-                  "type" : "line-height",
-                  "value" : 1.2999999523162842
-                }
-              ],
               "y-offset" : 0,
               "start-x-offset" : 0,
               "end-x-offset" : 0,
@@ -188,7 +175,7 @@
       {
         "position" : [
           0,
-          176744
+          145408
         ],
         "line" : {
           "start-index" : 2,
@@ -216,12 +203,6 @@
                 "checksum" : "84c5467cadd1f6f23db0d9fbb6377e0d301334d3b5f36e6d5acebd34d0857d3a"
               },
               "flags" : 4,
-              "extra-attributes" : [
-                {
-                  "type" : "line-height",
-                  "value" : 1.2999999523162842
-                }
-              ],
               "y-offset" : 0,
               "start-x-offset" : 0,
               "end-x-offset" : 0,
@@ -245,7 +226,7 @@
       {
         "position" : [
           0,
-          244636
+          197632
         ],
         "line" : {
           "start-index" : 3,
@@ -273,12 +254,6 @@
                 "checksum" : "84c5467cadd1f6f23db0d9fbb6377e0d301334d3b5f36e6d5acebd34d0857d3a"
               },
               "flags" : 0,
-              "extra-attributes" : [
-                {
-                  "type" : "line-height",
-                  "value" : 1.2999999523162842
-                }
-              ],
               "y-offset" : 0,
               "start-x-offset" : 0,
               "end-x-offset" : 0,
@@ -297,7 +272,7 @@
       {
         "position" : [
           0,
-          312528
+          249856
         ],
         "line" : {
           "start-index" : 4,
@@ -325,12 +300,6 @@
                 "checksum" : "84c5467cadd1f6f23db0d9fbb6377e0d301334d3b5f36e6d5acebd34d0857d3a"
               },
               "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 010cc56a..8ce55374 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 affe7033..b739f639 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,
@@ -217,11 +216,6 @@
               },
               "flags" : 2,
               "extra-attributes" : [
-                {
-                  "end" : 2147483647,
-                  "type" : "line-height",
-                  "value" : 1.5
-                },
                 {
                   "end" : 2147483647,
                   "type" : "fallback",
@@ -263,12 +257,6 @@
                 "checksum" : "9e7449c453527829c963330ba36f4de3b20911e185a1df08a97082bb69e795d7"
               },
               "flags" : 0,
-              "extra-attributes" : [
-                {
-                  "type" : "line-height",
-                  "value" : 1.5
-                }
-              ],
               "y-offset" : 567,
               "start-x-offset" : 0,
               "end-x-offset" : 0,
@@ -297,12 +285,6 @@
                 }
               },
               "flags" : 0,
-              "extra-attributes" : [
-                {
-                  "type" : "line-height",
-                  "value" : 1.5
-                }
-              ],
               "y-offset" : 0,
               "start-x-offset" : 0,
               "end-x-offset" : 0,
@@ -358,12 +340,6 @@
                 "checksum" : "69ccd07023a72ceb27a5e5c22f728627353b60a198170f5e58dd7014221abf01"
               },
               "flags" : 0,
-              "extra-attributes" : [
-                {
-                  "type" : "line-height",
-                  "value" : 1.5
-                }
-              ],
               "y-offset" : 337,
               "start-x-offset" : 0,
               "end-x-offset" : 0,
@@ -410,12 +386,6 @@
                 }
               },
               "flags" : 0,
-              "extra-attributes" : [
-                {
-                  "type" : "line-height",
-                  "value" : 1.5
-                }
-              ],
               "y-offset" : 0,
               "start-x-offset" : 0,
               "end-x-offset" : 0,
@@ -444,12 +414,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]