Skip to content

Commit

Permalink
Merge pull request #64 from there4/tiny-output
Browse files Browse the repository at this point in the history
Force wkhtmltopdf to render with dpi of 300
  • Loading branch information
craig-davis authored Oct 19, 2017
2 parents 4be3c9c + 845ea8a commit 7f1acf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resume/Command/PdfCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
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);
Expand Down

0 comments on commit 7f1acf3

Please sign in to comment.