mirror of
https://github.com/there4/markdown-resume.git
synced 2024-12-03 08:59:35 -05:00
Merge pull request #64 from there4/tiny-output
Force wkhtmltopdf to render with dpi of 300
This commit is contained in:
commit
7f1acf3223
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user