File: 0001-Exclude-adobe-font-check.patch

package info (click to toggle)
php-dompdf 2.0.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,176 kB
  • sloc: php: 22,518; sh: 91; xml: 80; makefile: 52
file content (25 lines) | stat: -rw-r--r-- 882 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
24
25
From: Katharina Drexel <katharina.drexel@bfh.ch>
Date: Fri, 2 Sep 2022 10:33:13 +0200
Subject: For license reasons the Times-* (and other) fonts have to be
 replaced by their corresponding free font. For Times-Roman the replacement
 leads to a missing space in one case ('- two' instead of ' - two'),
 so that it has to be excluded.

Origin: vendor
Forwarded: not-needed
---
 tests/DompdfTest.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/DompdfTest.php b/tests/DompdfTest.php
index 36a4acf..08a31ed 100644
--- a/tests/DompdfTest.php
+++ b/tests/DompdfTest.php
@@ -201,6 +201,7 @@ class DompdfTest extends TestCase
         $dompdf->render();
 
         $this->assertEquals("one", $text_frame_contents[0]);
+        $this->markTestIncomplete('Font files where changed for license reasons');
         $this->assertEquals(" - two", $text_frame_contents[1]);
     }
 }