Force wkhtmltopdf to render with dpi of 300

This commit is contained in:
Craig Davis 2017-10-19 16:53:27 -07:00
parent 4be3c9c400
commit 845ea8a276
No known key found for this signature in database
GPG Key ID: 3C688BD208948D65
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ class PdfCommand extends HtmlCommand
file_put_contents($pdfSource, $rendered); file_put_contents($pdfSource, $rendered);
// Process the document with wkhtmltopdf // Process the document with wkhtmltopdf
exec('wkhtmltopdf ' . $pdfSource .' ' . $destFilename); exec('wkhtmltopdf --dpi 300' . $pdfSource .' ' . $destFilename);
// Unlink the temporary file // Unlink the temporary file
unlink($pdfSource); unlink($pdfSource);