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

PDF size #150

Open
ilevd opened this issue Nov 30, 2017 · 1 comment
Open

PDF size #150

ilevd opened this issue Nov 30, 2017 · 1 comment

Comments

@ilevd
Copy link

ilevd commented Nov 30, 2017

I want to setup pdf size with pixels, but result pdf is bigger, so I need to scale it to get correct size:

[{:size  [(* 0.75 w) (* 0.75 h))]
             footer        {:page-numbers false}
             left-margin   0
             right-margin  0
             top-margin    0
             bottom-margin 0}
            [:image {:scale 75} img]]

Is that a bug?

@yogthos
Copy link
Collaborator

yogthos commented Nov 30, 2017

My understanding is that the original iText library sets up page size in points relative to paper size.

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