Welcome Guest Search | Active Topics | Sign In | Register

Border width Options
vlado
Posted: Wednesday, June 24, 2015 4:55:01 AM
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
eo_support
Posted: Thursday, June 25, 2015 3:18:17 PM
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!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.