File: 0010-Skip-test-with-pfm-fonts.patch

package info (click to toggle)
pyx3 0.17-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,328 kB
  • sloc: python: 27,656; makefile: 225; ansic: 130; sh: 17
file content (23 lines) | stat: -rw-r--r-- 982 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Stuart Prescott <stuart@debian.org>
Date: Sun, 9 Nov 2025 18:04:47 +1100
Subject: Skip test with pfm fonts

---
 test/functional/test_text.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/functional/test_text.py b/test/functional/test_text.py
index 5da8ea4..820b01e 100755
--- a/test/functional/test_text.py
+++ b/test/functional/test_text.py
@@ -114,8 +114,8 @@ c.insert(sc, [trafo.translate(12, 12)])
 # UnicodeEngine output with afm and pfm
 ue_afm = text.UnicodeEngine()
 c.insert(ue_afm.text(10, 9, "UnicodeEngine output (AFM)"))
-ue_pfm = text.UnicodeEngine(font_metric_type=text.FontMetricType.pfm)
-c.insert(ue_pfm.text(10, 8, "UnicodeEngine output (PFM)"))
+# ue_pfm = text.UnicodeEngine(font_metric_type=text.FontMetricType.pfm)
+# c.insert(ue_pfm.text(10, 8, "UnicodeEngine output (PFM)"))
 
 c.writePDFfile("test_text", page_paperformat=document.paperformat.A4)
 c.writeSVGfile("test_text", page_paperformat=document.paperformat.A4)