Force wkhtmltopdf to render with dpi of 300
This commit is contained in:
parent
4be3c9c400
commit
845ea8a276
|
@ -83,7 +83,7 @@ class PdfCommand extends HtmlCommand
|
|||
file_put_contents($pdfSource, $rendered);
|
||||
|
||||
// Process the document with wkhtmltopdf
|
||||
exec('wkhtmltopdf ' . $pdfSource .' ' . $destFilename);
|
||||
exec('wkhtmltopdf --dpi 300' . $pdfSource .' ' . $destFilename);
|
||||
|
||||
// Unlink the temporary file
|
||||
unlink($pdfSource);
|
||||
|
|
Loading…
Reference in New Issue