Verified Commit 47490e1c authored by Kaspar Vollenweider's avatar Kaspar Vollenweider 👻
Browse files

fix wrong pdf size on linux server with zoom option

parent c1a1b241
Pipeline #22781 passed with stage
in 45 minutes and 7 seconds
......@@ -14,7 +14,8 @@ class CertificatesController < ApplicationController
render pdf: pdf_file_name(@certificate),
show_as_html: params.key?('debug'),
layout: 'certificate.pdf',
dpi: '400',
zoom: 1.5,
dpi: 600,
margin: { top: 0, bottom: 0, left: 0, right: 0 }
end
end
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment