summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2015-11-21 17:57:42 +0100
committerHarald Eilertsen <haraldei@anduin.net>2015-11-21 17:57:42 +0100
commit4a9954e3a68982c2f84a843ac3d41ccdc1530596 (patch)
tree3e165ed6a59b2e0dc09b6a8f3c1c95f2bd3823af /lib
parentf37dedaca58ec0a3673ed7f10bf8f5072455680b (diff)
downloadnorsk-urskog-registrations-4a9954e3a68982c2f84a843ac3d41ccdc1530596.tar.gz
norsk-urskog-registrations-4a9954e3a68982c2f84a843ac3d41ccdc1530596.tar.bz2
norsk-urskog-registrations-4a9954e3a68982c2f84a843ac3d41ccdc1530596.zip
Hide Prawn font warning.
Diffstat (limited to 'lib')
-rw-r--r--lib/pdf_form.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/pdf_form.rb b/lib/pdf_form.rb
index 2298f6b..661a22d 100644
--- a/lib/pdf_form.rb
+++ b/lib/pdf_form.rb
@@ -1,6 +1,8 @@
require 'prawn'
require 'prawn/measurement_extensions'
+Prawn::Font::AFM.hide_m17n_warning = true
+
class PDFForm
def initialize(band)
@band = band