File: 0300_fix_paths.patch

package info (click to toggle)
ruby-prawn 2.3.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,380 kB
  • sloc: ruby: 15,820; sh: 43; makefile: 20
file content (17 lines) | stat: -rw-r--r-- 692 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: 2019-01-07

--- a/lib/prawn/fonts/afm.rb
+++ b/lib/prawn/fonts/afm.rb
@@ -35,9 +35,7 @@
                             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