mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-26 09:42:46 +08:00
Fix missing fonts in PDF reports [SCI-7548]
This commit is contained in:
parent
46b4bfd4d7
commit
f6dbd45746
2 changed files with 3 additions and 2 deletions
|
@ -413,7 +413,7 @@ GEM
|
|||
mini_magick (4.12.0)
|
||||
mini_mime (1.1.2)
|
||||
mini_portile2 (2.8.4)
|
||||
minitest (5.18.1)
|
||||
minitest (5.20.0)
|
||||
momentjs-rails (2.17.1)
|
||||
railties (>= 3.1)
|
||||
msgpack (1.7.1)
|
||||
|
@ -693,7 +693,7 @@ GEM
|
|||
websocket-extensions (>= 0.1.0)
|
||||
websocket-extensions (0.1.5)
|
||||
whacamole (1.2.0)
|
||||
wicked_pdf (2.6.3)
|
||||
wicked_pdf (2.7.0)
|
||||
activesupport
|
||||
xpath (3.2.0)
|
||||
nokogiri (~> 1.8)
|
||||
|
|
|
@ -5,4 +5,5 @@ WickedPdf.config ||= {}
|
|||
ENV['PATH'].split(':').each do |path|
|
||||
exe_path = File.join(path, 'wkhtmltopdf')
|
||||
WickedPdf.config[:exe_path] = File.join(path, 'wkhtmltopdf') if File.file?(exe_path)
|
||||
WickedPdf.config[:allow] = Rails.public_path
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue