summaryrefslogtreecommitdiff
path: root/x11-libs/pango/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
commit0f558761aa2dee1017b4751e4017205e015a9560 (patch)
tree037df795519468a25d9362b4e95cdaeb84eb1cf9 /x11-libs/pango/files
parent752d6256e5204b958b0ef7905675a940b5e9172f (diff)
gentoo resync : 29.12.2022
Diffstat (limited to 'x11-libs/pango/files')
-rw-r--r--x11-libs/pango/files/1.50.7-harfbuzz-4.patch78
1 files changed, 78 insertions, 0 deletions
diff --git a/x11-libs/pango/files/1.50.7-harfbuzz-4.patch b/x11-libs/pango/files/1.50.7-harfbuzz-4.patch
new file mode 100644
index 000000000000..91598f9969e5
--- /dev/null
+++ b/x11-libs/pango/files/1.50.7-harfbuzz-4.patch
@@ -0,0 +1,78 @@
+https://gitlab.gnome.org/GNOME/pango/-/commit/0226bdd9c223f5651b6657a14cebc900bbac4b19
+https://bugs.gentoo.org/836317
+
+Fixes tests with Harfbuzz 4.0.0 ish.
+
+From: Matthias Clasen <mclasen@redhat.com>
+Date: Fri, 10 Jun 2022 08:00:22 -0400
+Subject: [PATCH] Update tests to pass on F36
+
+Rounding differences are our downfall :(
+--- a/tests/layouts/valid-14.layout
++++ b/tests/layouts/valid-14.layout
+@@ -25,7 +25,7 @@
+ "is-ellipsized" : true,
+ "unknown-glyphs" : 1,
+ "width" : 161792,
+- "height" : 20480,
++ "height" : 21047,
+ "log-attrs" : [
+ {
+ "char-break" : true,
+@@ -261,7 +261,7 @@
+ ]
+ },
+ "flags" : 0,
+- "y-offset" : 0,
++ "y-offset" : 567,
+ "start-x-offset" : 0,
+ "end-x-offset" : 0,
+ "glyphs" : [
+@@ -360,7 +360,7 @@
+ ]
+ },
+ "flags" : 0,
+- "y-offset" : 0,
++ "y-offset" : 337,
+ "start-x-offset" : 0,
+ "end-x-offset" : 0,
+ "glyphs" : [
+--- a/tests/layouts/valid-20.layout
++++ b/tests/layouts/valid-20.layout
+@@ -40,7 +40,7 @@
+ "is-wrapped" : false,
+ "is-ellipsized" : false,
+ "unknown-glyphs" : 0,
+- "width" : 67584,
++ "width" : 76800,
+ "height" : 25600,
+ "log-attrs" : [
+ {
+@@ -138,7 +138,7 @@
+ "glyphs" : [
+ {
+ "glyph" : 244,
+- "width" : 15360,
++ "width" : 18432,
+ "x-offset" : 14764,
+ "y-offset" : 3845,
+ "is-cluster-start" : true,
+@@ -146,7 +146,7 @@
+ },
+ {
+ "glyph" : 272,
+- "width" : 15360,
++ "width" : 18432,
+ "x-offset" : 14764,
+ "y-offset" : 4280,
+ "is-cluster-start" : true,
+@@ -154,7 +154,7 @@
+ },
+ {
+ "glyph" : 273,
+- "width" : 15360,
++ "width" : 18432,
+ "x-offset" : 14764,
+ "y-offset" : 3507,
+ "is-cluster-start" : true,
+GitLab