psliwa / PHPPdf

Pdf and graphic files generator library written in php
http://ohey.pl
MIT License
339 stars 77 forks source link

document-template size issue #74

Closed vinnietech closed 10 years ago

vinnietech commented 10 years ago

I'm using an existing pdf document as a document template. This works but the pdf template is a scaled a little bit, making it a fraction larger.

The result is that when printing the generated pdf the content of the template is blurry and the alignment with the rest of the document is wrong.

I suspect this is a rounding error in converting units from the template document somewhere. But I cannot find where this might happen.

vinnietech commented 10 years ago

I found the culprit of my issue. It turns out that printing a pdf document from Firefox scales the whole pdf. I thought it was only the template that was scaled.

Sorry for the confusion.

aledeg commented 10 years ago

so maybe you can close this issue. Thank you

vinnietech commented 10 years ago

closed