Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Which unit does SIZE take? #19

Closed
timClicks opened this issue Jan 12, 2011 · 2 comments
Closed

Which unit does SIZE take? #19

timClicks opened this issue Jan 12, 2011 · 2 comments

Comments

@timClicks
Copy link

In your README, you use the const SIZE. Does this take valid CSS units, e.g. pt or does it use something like cm or inches?

@mileszs
Copy link
Owner

mileszs commented Jan 12, 2011

I'm not positive as to all of the units that wkhtmltopdf will accept, but reading this: https://github.com/antialize/wkhtmltopdf/blob/master/README_WKHTMLTOPDF
... indicates that millimeters (mm) are the default unit, and the default size of all of the margins is 10mm.

@timClicks
Copy link
Author

oh - for some reason it didn't occur to me that the units would be mapped straight to wkhtmltopdf. Will know where to look to now.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants