diff options
author | gregor herrmann <gregoa@debian.org> | 2020-10-04 16:30:50 +0200 |
---|---|---|
committer | gregor herrmann <gregoa@debian.org> | 2020-10-04 16:30:50 +0200 |
commit | d8365c204e662f3926cef4795676e8800869450a (patch) | |
tree | 2096fda044c9dbc89927b3bbd7c81dd61a9187b5 | |
parent | ce10cbff8b605004aa854ee031a5c862f7c5e6c7 (diff) |
update paths to truetype fonts in testsarchive/debian/3.019-3
Origin: vendor
Last-Update: 2020-10-04
Forwarded: https://github.com/PhilterPaper/Perl-PDF-Builder/pull/127
Bug: https://github.com/PhilterPaper/Perl-PDF-Builder/pull/127
At least in Debian, /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf (in
the transitional package ttf-dejavu-core) is just a symlink to
/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf (in the "real" package
fonts-dejavu-core). When only fonts-dejavu-core is installed, the font file
is not found, so add the other path as well (and remove a duplicate).
Gbp-Pq: Name font-path.patch
-rw-r--r-- | t/font-synfont.t | 1 | ||||
-rw-r--r-- | t/font-ttf.t | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/t/font-synfont.t b/t/font-synfont.t index b968aac..fedb987 100644 --- a/t/font-synfont.t +++ b/t/font-synfont.t @@ -9,6 +9,7 @@ use PDF::Builder; my @possible_locations = ( '/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf', + '/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf', '/var/lib/defoma/gs.d/dirs/fonts/DejaVuSans.ttf', 'C:/Windows/fonts/DejaVuSans.ttf', ); diff --git a/t/font-ttf.t b/t/font-ttf.t index 07d0da6..99b8d2a 100644 --- a/t/font-ttf.t +++ b/t/font-ttf.t @@ -9,7 +9,7 @@ use PDF::Builder; my @possible_locations = ( '/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf', - '/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf', + '/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf', 'C:/Windows/fonts/DejaVuSans.ttf', ); |