Skip to content
This repository has been archived by the owner on Aug 2, 2018. It is now read-only.

wkhtmltopdf generates oversized PDF #12

Open
rdlabspl opened this issue Jun 18, 2017 · 2 comments
Open

wkhtmltopdf generates oversized PDF #12

rdlabspl opened this issue Jun 18, 2017 · 2 comments

Comments

@rdlabspl
Copy link

When wkhtmltopdf is installed, PDF invoices are oversized like this one.

I've noticed that passing options={'zoom': 2.5} to pdfkit.from_string solves this problem, but there are more sophisticated methods.

@cdvv7788
Copy link

This needs to be checked @sebastian-code

@sebastian-code
Copy link

What I'm seeing here is more a undersized invoice, and not an oversized option as expressed in the issue, that's why the zoom needs to be set on an increment instruction.

Is everybody having the same issue? or this case is specific to @rdlabspl? This is actually the first issue about something similar.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants