Rank: Newbie Groups: Member
Joined: 3/20/2015 Posts: 4
|
Hi,
I am converting a HTML document into PDF. In the HTML I have border width of 1px. The HTML in chrome looks OK, but when I convert to PDF the border is bigger then 1px. It seems like the EO.PDF converter cannot render border smaller than some predefined value.
Please, do you have any suggestions?
Thank you
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
There is no way to render exactly 1 pixel width with the HTML to PDF converter. The reason is because internally PDF uses "point", not "pixel" as the basic unit. A point is 1/72 inch independent of pixels. Depending on the zoom level, it is often rounded up to 2 pixels instead of 1 (because screen has a higher DPI than 72). However if you zoom out or print out the PDF file on paper, the line width should appear proper.
Thanks!
|