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
@@ -36,9 +36,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
|