File: 0300_fix_paths.patch

package info (click to toggle)
ruby-prawn 2.2.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,320 kB
  • sloc: ruby: 15,654; sh: 43; makefile: 20
file content (17 lines) | stat: -rw-r--r-- 690 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/font/afm.rb
+++ b/lib/prawn/font/afm.rb
@@ -33,9 +33,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