# WickedPDF Global Configuration
#
# Use this to set up shared configuration options for your entire application.
# Any of the configuration options shown here can also be applied to single
# models by passing arguments to the `render :pdf` call.
#
# To learn more, check out the README:
#
# https://github.com/mileszs/wicked_pdf/blob/master/README.md

WickedPdf.config = {
  exe_path: ENV['path_wkhtmltopdf'],
  page_size: 'A4',
  page_width: '794px',
  page_height: '1123px',
  layout: 'pdf.html.slim',
  dpi: '96',
  zoom: 0.90,
  margin: { top: 25},
  disable_links: true,
  disable_smart_shrinking: true,
  encoding: 'utf8'
}
