[pango/fix-tabs-nowrap: 1/2] Add a monospace font for ci
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/fix-tabs-nowrap: 1/2] Add a monospace font for ci
- Date: Tue, 7 Dec 2021 04:20:10 +0000 (UTC)
commit 1cf8e9b3cadad6efe510a177ca2be8f852022333
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Dec 6 23:08:59 2021 -0500
Add a monospace font for ci
Update affected test outputs.
tests/fonts/DejaVuSansMono.ttf | Bin 0 -> 340712 bytes
tests/fonts/fonts.conf | 6 ++++++
tests/layouts/valid-12.layout | 16 ++++++++--------
tests/layouts/valid-13.layout | 16 ++++++++--------
4 files changed, 22 insertions(+), 16 deletions(-)
---
diff --git a/tests/fonts/DejaVuSansMono.ttf b/tests/fonts/DejaVuSansMono.ttf
new file mode 100644
index 00000000..d723948f
Binary files /dev/null and b/tests/fonts/DejaVuSansMono.ttf differ
diff --git a/tests/fonts/fonts.conf b/tests/fonts/fonts.conf
index 5ff7022b..4308770b 100644
--- a/tests/fonts/fonts.conf
+++ b/tests/fonts/fonts.conf
@@ -62,4 +62,10 @@
<family>Noto Color Emoji</family>
</prefer>
</alias>
+
+ <alias>
+ <family>DejaVu Sans Mono</family>
+ <default><family>monospace</family></default>
+ </alias>
+
</fontconfig>
diff --git a/tests/layouts/valid-12.layout b/tests/layouts/valid-12.layout
index 099813ce..3c09f51f 100644
--- a/tests/layouts/valid-12.layout
+++ b/tests/layouts/valid-12.layout
@@ -52,8 +52,8 @@
"is-wrapped" : true,
"is-ellipsized" : false,
"unknown-glyphs" : 1,
- "width" : 202752,
- "height" : 202752,
+ "width" : 179200,
+ "height" : 179200,
"log-attrs" : [
{
"char-break" : true,
@@ -258,7 +258,7 @@
"glyphs" : [
{
"glyph" : 268435455,
- "width" : 51200,
+ "width" : 43008,
"is-cluster-start" : true,
"log-cluster" : 0
}
@@ -330,7 +330,7 @@
"glyphs" : [
{
"glyph" : 268435455,
- "width" : 51200,
+ "width" : 43008,
"is-cluster-start" : true,
"log-cluster" : 0
}
@@ -402,7 +402,7 @@
"glyphs" : [
{
"glyph" : 268435455,
- "width" : 51200,
+ "width" : 44032,
"is-cluster-start" : true,
"log-cluster" : 0
}
@@ -554,7 +554,7 @@
"glyphs" : [
{
"glyph" : 268435455,
- "width" : 51200,
+ "width" : 43008,
"is-cluster-start" : true,
"log-cluster" : 0
}
@@ -626,7 +626,7 @@
"glyphs" : [
{
"glyph" : 268435455,
- "width" : 51200,
+ "width" : 46080,
"is-cluster-start" : true,
"log-cluster" : 0
}
@@ -698,7 +698,7 @@
"glyphs" : [
{
"glyph" : 268435455,
- "width" : 51200,
+ "width" : 43008,
"is-cluster-start" : true,
"log-cluster" : 0
}
diff --git a/tests/layouts/valid-13.layout b/tests/layouts/valid-13.layout
index bd0f04fa..cb2ac92a 100644
--- a/tests/layouts/valid-13.layout
+++ b/tests/layouts/valid-13.layout
@@ -53,8 +53,8 @@
"is-wrapped" : false,
"is-ellipsized" : false,
"unknown-glyphs" : 1,
- "width" : 386048,
- "height" : 386048,
+ "width" : 315392,
+ "height" : 315392,
"log-attrs" : [
{
"char-break" : true,
@@ -271,7 +271,7 @@
"glyphs" : [
{
"glyph" : 268435455,
- "width" : 51200,
+ "width" : 43008,
"is-cluster-start" : true,
"log-cluster" : 0
}
@@ -355,7 +355,7 @@
"glyphs" : [
{
"glyph" : 268435455,
- "width" : 51200,
+ "width" : 43008,
"is-cluster-start" : true,
"log-cluster" : 0
}
@@ -439,7 +439,7 @@
"glyphs" : [
{
"glyph" : 268435455,
- "width" : 51200,
+ "width" : 44032,
"is-cluster-start" : true,
"log-cluster" : 0
}
@@ -607,7 +607,7 @@
"glyphs" : [
{
"glyph" : 268435455,
- "width" : 51200,
+ "width" : 17408,
"is-cluster-start" : true,
"log-cluster" : 0
}
@@ -691,7 +691,7 @@
"glyphs" : [
{
"glyph" : 268435455,
- "width" : 51200,
+ "width" : 46080,
"is-cluster-start" : true,
"log-cluster" : 0
}
@@ -775,7 +775,7 @@
"glyphs" : [
{
"glyph" : 268435455,
- "width" : 51200,
+ "width" : 43008,
"is-cluster-start" : true,
"log-cluster" : 0
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]