diff options
| author | Remi Collet <remi@remirepo.net> | 2026-04-21 08:14:18 +0200 |
|---|---|---|
| committer | Remi Collet <remi@php.net> | 2026-04-21 08:14:18 +0200 |
| commit | 0c3dd9f4a743858cf5155e90a086bae36d20c36f (patch) | |
| tree | 3619591f92e88db7e29db40e7255de1f8abd2547 /php-tecnickcom-tc-lib-pdf-font-rpm.patch | |
| parent | 03cef4b2e4e056cc905da9c53cc79b9e4f0b5504 (diff) | |
Diffstat (limited to 'php-tecnickcom-tc-lib-pdf-font-rpm.patch')
| -rw-r--r-- | php-tecnickcom-tc-lib-pdf-font-rpm.patch | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/php-tecnickcom-tc-lib-pdf-font-rpm.patch b/php-tecnickcom-tc-lib-pdf-font-rpm.patch index 57a8e2a..cfe9e59 100644 --- a/php-tecnickcom-tc-lib-pdf-font-rpm.patch +++ b/php-tecnickcom-tc-lib-pdf-font-rpm.patch @@ -1,11 +1,12 @@ diff -up ./src/Load.php.rpm ./src/Load.php --- ./src/Load.php.rpm 2026-04-20 09:18:14.000000000 +0200 +++ ./src/Load.php 2026-04-21 08:01:40.439250910 +0200 -@@ -365,6 +365,11 @@ abstract class Load +@@ -365,6 +365,12 @@ abstract class Load if ($glb !== false) { $dirs = [...$dirs, ...$glb]; } + } else { ++ // if not set, use system default fonts + $glb = \glob('/usr/share/php-tecnickcom-tc-lib-pdf-font/*', GLOB_ONLYDIR); + if ($glb !== false) { + $dirs = [...$dirs, ...$glb]; |
