[pango/fix-tests] Fix tests
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/fix-tests] Fix tests
- Date: Tue, 21 Dec 2021 19:53:38 +0000 (UTC)
commit 2c9f563d6a7d9831c9ade5f31b03320a7bc53c9f
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Dec 21 14:53:16 2021 -0500
Fix tests
Some rounding has somewhere.
tests/layouts/valid-20.layout | 4 ++--
tests/layouts/vertical.layout | 28 ++++++++++++++--------------
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
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]