File: 0300_fix_paths.patch

package info (click to toggle)
ruby-prawn 2.5.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,528 kB
  • sloc: ruby: 17,688; sh: 43; makefile: 20
file content (17 lines) | stat: -rw-r--r-- 546 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: fix fonts path to use only prawn's fonts directory
Author: Cédric Boutillier <boutil@debian.org>
Last-Update: 2021-11-22

--- a/lib/prawn/fonts/afm.rb
+++ b/lib/prawn/fonts/afm.rb
@@ -49,9 +49,7 @@ module Prawn
             ENV['METRICS'].split(':')
           else
             [
-              '.', '/usr/lib/afm',
-              '/usr/local/lib/afm',
-              '/usr/openwin/lib/fonts/afm',
+              # use Prawn's font directories (Debian patch)
               "#{Prawn::DATADIR}/fonts",
             ]
           end