blob: 4f769168f9d5ee2e381271867840e40bb1de2825 (
plain)
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
26
27
28
29
30
31
32
33
|
diff -up ./util/bulk_convert.php.rpm ./util/bulk_convert.php
--- ./util/bulk_convert.php.rpm 2025-12-05 07:31:19.501111222 +0100
+++ ./util/bulk_convert.php 2025-12-05 07:33:19.462370628 +0100
@@ -86,7 +86,7 @@ if (!\is_writable($options['outpath']))
exit(2);
}
-$ttfdir = __DIR__.'/vendor/tecnickcom/tc-font-mirror/';
+$ttfdir = dirname(__DIR__).'/tc-font-mirror-2.1.0/';
if (!is_dir($ttfdir)) {
\fwrite(STDERR, 'ERROR: The '.$ttfdir.' directory is empty, please execute \'make build\' before this command.'."\n\n");
exit(3);
@@ -98,7 +98,7 @@ if (!is_dir($ttfdir)) {
$convert_errors = 0;
$convert_success = 0;
-require_once (\dirname(__DIR__).'/vendor/autoload.php');
+require_once (dirname(__DIR__).'/src/autoload.php');
$fontdir = \array_diff(\scandir($ttfdir), array('.', '..', '.git'));
diff -up ./util/convert.php.rpm ./util/convert.php
--- ./util/convert.php.rpm 2025-12-05 07:31:19.501170686 +0100
+++ ./util/convert.php 2025-12-05 07:33:51.032586961 +0100
@@ -224,7 +224,7 @@ if (empty($options['fonts'])) {
$convert_errors = 0;
$convert_success = 0;
-require_once (\dirname(\dirname(__DIR__)).'/vendor/autoload.php');
+require_once ('/usr/share/php/Com/Tecnick/Pdf/Font/autoload.php');
foreach ($options['fonts'] as $font) {
try {
|