summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-12-06 23:08:59 -0500
committerMatthias Clasen <mclasen@redhat.com>2021-12-06 23:19:52 -0500
commit1cf8e9b3cadad6efe510a177ca2be8f852022333 (patch)
tree811f1c6e18d6dc3ee5f169d695f19c92d01649fb
parent56174802a73d8855b7497d90f722b37233c6b477 (diff)
downloadpango-1cf8e9b3cadad6efe510a177ca2be8f852022333.tar.gz
Add a monospace font for ci
Update affected test outputs.
-rw-r--r--tests/fonts/DejaVuSansMono.ttfbin0 -> 340712 bytes
-rw-r--r--tests/fonts/fonts.conf6
-rw-r--r--tests/layouts/valid-12.layout16
-rw-r--r--tests/layouts/valid-13.layout16
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
--- /dev/null
+++ b/tests/fonts/DejaVuSansMono.ttf
Binary files 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
}