summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-12-01 23:46:04 -0500
committerMatthias Clasen <mclasen@redhat.com>2021-12-02 14:41:02 -0500
commit0254870fe834465c58f5a7d0b39fa32ffe88ad8d (patch)
tree56d36dc4bb91c63f44c0991e48d1b9ace0957fcb /tests
parent253461f9dd2984ee00216b7292e27bb910fed816 (diff)
downloadpango-0254870fe834465c58f5a7d0b39fa32ffe88ad8d.tar.gz
layout: Small optimization
Don't calculate line width the hard way when we can do it much easier.
Diffstat (limited to 'tests')
-rw-r--r--tests/layouts/valid-12.layout14
-rw-r--r--tests/layouts/valid-13.layout14
2 files changed, 14 insertions, 14 deletions
diff --git a/tests/layouts/valid-12.layout b/tests/layouts/valid-12.layout
index 247b374e..44eb064b 100644
--- a/tests/layouts/valid-12.layout
+++ b/tests/layouts/valid-12.layout
@@ -52,7 +52,7 @@
"is-wrapped" : true,
"is-ellipsized" : false,
"unknown-glyphs" : 1,
- "width" : 179200,
+ "width" : 202752,
"height" : 38912,
"log-attrs" : [
{
@@ -258,7 +258,7 @@
"glyphs" : [
{
"glyph" : 268435455,
- "width" : 43008,
+ "width" : 51200,
"is-cluster-start" : true,
"log-cluster" : 0
}
@@ -330,7 +330,7 @@
"glyphs" : [
{
"glyph" : 268435455,
- "width" : 43008,
+ "width" : 51200,
"is-cluster-start" : true,
"log-cluster" : 0
}
@@ -402,7 +402,7 @@
"glyphs" : [
{
"glyph" : 268435455,
- "width" : 44032,
+ "width" : 51200,
"is-cluster-start" : true,
"log-cluster" : 0
}
@@ -554,7 +554,7 @@
"glyphs" : [
{
"glyph" : 268435455,
- "width" : 43008,
+ "width" : 51200,
"is-cluster-start" : true,
"log-cluster" : 0
}
@@ -626,7 +626,7 @@
"glyphs" : [
{
"glyph" : 268435455,
- "width" : 46080,
+ "width" : 51200,
"is-cluster-start" : true,
"log-cluster" : 0
}
@@ -698,7 +698,7 @@
"glyphs" : [
{
"glyph" : 268435455,
- "width" : 43008,
+ "width" : 51200,
"is-cluster-start" : true,
"log-cluster" : 0
}
diff --git a/tests/layouts/valid-13.layout b/tests/layouts/valid-13.layout
index b557a278..57dad35d 100644
--- a/tests/layouts/valid-13.layout
+++ b/tests/layouts/valid-13.layout
@@ -53,7 +53,7 @@
"is-wrapped" : false,
"is-ellipsized" : false,
"unknown-glyphs" : 1,
- "width" : 315392,
+ "width" : 386048,
"height" : 19456,
"log-attrs" : [
{
@@ -271,7 +271,7 @@
"glyphs" : [
{
"glyph" : 268435455,
- "width" : 43008,
+ "width" : 51200,
"is-cluster-start" : true,
"log-cluster" : 0
}
@@ -355,7 +355,7 @@
"glyphs" : [
{
"glyph" : 268435455,
- "width" : 43008,
+ "width" : 51200,
"is-cluster-start" : true,
"log-cluster" : 0
}
@@ -439,7 +439,7 @@
"glyphs" : [
{
"glyph" : 268435455,
- "width" : 44032,
+ "width" : 51200,
"is-cluster-start" : true,
"log-cluster" : 0
}
@@ -607,7 +607,7 @@
"glyphs" : [
{
"glyph" : 268435455,
- "width" : 17408,
+ "width" : 51200,
"is-cluster-start" : true,
"log-cluster" : 0
}
@@ -691,7 +691,7 @@
"glyphs" : [
{
"glyph" : 268435455,
- "width" : 46080,
+ "width" : 51200,
"is-cluster-start" : true,
"log-cluster" : 0
}
@@ -775,7 +775,7 @@
"glyphs" : [
{
"glyph" : 268435455,
- "width" : 43008,
+ "width" : 51200,
"is-cluster-start" : true,
"log-cluster" : 0
}