summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-02-09 15:56:44 -0500
committerMatthias Clasen <mclasen@redhat.com>2022-02-09 15:57:34 -0500
commit053c9ff8ab00d6d7d4b7cbe8aeeaca58c0982df1 (patch)
tree13dda8fc67d153d60e5f717cb5a3c407a512731f
parent6090e62fb636c86ad977a8f13d005a852d119b42 (diff)
downloadpango-053c9ff8ab00d6d7d4b7cbe8aeeaca58c0982df1.tar.gz
Fix layout tests
There are unfortunately some rounding differences, which I believe are due to harfbuzz changes.
-rw-r--r--tests/layouts/valid-20.layout4
-rw-r--r--tests/layouts/vertical.layout28
2 files changed, 16 insertions, 16 deletions
diff --git a/tests/layouts/valid-20.layout b/tests/layouts/valid-20.layout
index 93b8a1b1..db692b73 100644
--- a/tests/layouts/valid-20.layout
+++ b/tests/layouts/valid-20.layout
@@ -140,7 +140,7 @@
"glyph" : 244,
"width" : 15360,
"x-offset" : 14764,
- "y-offset" : 3844,
+ "y-offset" : 3845,
"is-cluster-start" : true,
"log-cluster" : 0
},
@@ -156,7 +156,7 @@
"glyph" : 273,
"width" : 15360,
"x-offset" : 14764,
- "y-offset" : 3506,
+ "y-offset" : 3507,
"is-cluster-start" : true,
"log-cluster" : 2
}
diff --git a/tests/layouts/vertical.layout b/tests/layouts/vertical.layout
index e8619bfb..a7f65068 100644
--- a/tests/layouts/vertical.layout
+++ b/tests/layouts/vertical.layout
@@ -128,7 +128,7 @@
{
"glyph" : 1,
"width" : 32768,
- "x-offset" : 28835,
+ "x-offset" : 28836,
"y-offset" : 9945,
"is-cluster-start" : true,
"log-cluster" : 0
@@ -136,7 +136,7 @@
{
"glyph" : 2,
"width" : 32768,
- "x-offset" : 28835,
+ "x-offset" : 28836,
"y-offset" : 10764,
"is-cluster-start" : true,
"log-cluster" : 1
@@ -144,8 +144,8 @@
{
"glyph" : 3,
"width" : 32768,
- "x-offset" : 28835,
- "y-offset" : 10452,
+ "x-offset" : 28836,
+ "y-offset" : 10453,
"is-cluster-start" : true,
"log-cluster" : 2
}
@@ -179,24 +179,24 @@
{
"glyph" : 4,
"width" : 32768,
- "x-offset" : 28835,
- "y-offset" : 16383,
+ "x-offset" : 28836,
+ "y-offset" : 16384,
"is-cluster-start" : true,
"log-cluster" : 0
},
{
"glyph" : 5,
"width" : 32768,
- "x-offset" : 28835,
- "y-offset" : 16383,
+ "x-offset" : 28836,
+ "y-offset" : 16384,
"is-cluster-start" : true,
"log-cluster" : 3
},
{
"glyph" : 7,
"width" : 32768,
- "x-offset" : 28835,
- "y-offset" : 16383,
+ "x-offset" : 28836,
+ "y-offset" : 16384,
"is-cluster-start" : true,
"log-cluster" : 6
}
@@ -230,7 +230,7 @@
{
"glyph" : 1,
"width" : 32768,
- "x-offset" : 28835,
+ "x-offset" : 28836,
"y-offset" : 9945,
"is-cluster-start" : true,
"log-cluster" : 0
@@ -238,7 +238,7 @@
{
"glyph" : 2,
"width" : 32768,
- "x-offset" : 28835,
+ "x-offset" : 28836,
"y-offset" : 10764,
"is-cluster-start" : true,
"log-cluster" : 1
@@ -246,8 +246,8 @@
{
"glyph" : 3,
"width" : 32768,
- "x-offset" : 28835,
- "y-offset" : 10452,
+ "x-offset" : 28836,
+ "y-offset" : 10453,
"is-cluster-start" : true,
"log-cluster" : 2
}