Welcome Guest Search | Active Topics | Sign In | Register

Missing lines in tables when documents zooms Options
Darkbird GmbH
Posted: Thursday, June 8, 2017 4:56:48 PM
Rank: Newbie
Groups: Member

Joined: 7/18/2012
Posts: 3
Hi everybody,

I have a problem with a very wide table that I convert to PDF. Each line is styles (CSS) with a line. That works until the table becomes wider than the page. EO.PDF zooms the table to match the available page space. Sadly the horizontal lines disappear in the pdf (see attachment). Is this a bug?

Reproduce

1. Convert html page with table to pdf
2. Add columns to the table so the table gets wider than the print area
3. Assign style to all td in table border-bottom: solid 1px black;

The resulting table will miss some lines.

Cheerz

Tobias

eo_support
Posted: Thursday, June 8, 2017 5:27:34 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,225
Hi,

This is normal. When the output is zoomed out, it can reduce a 1 pixel line into well below 1 pixel. For example, a 1 pixel line at 25% zoom level would be just 0.25 pixel. In that case the line is recorded as such in the PDF file --- however a PDF viewer application may choose to ignore such a thin line since it is not capable of rendering anything thinner than 1 pixels. In this case a PDF Viewer application may decide that render no line at all is a better approximation than rendering a 1 pixel line since it would be 4 times fatter than it should be. If you zoom in your PDF file enough you should see your lines. If you wish to retain your line at the default zoom level, you will need to either increase your line width, or reduce your table width so that the converter doesn't zoom out.

Thanks!
Darkbird GmbH
Posted: Thursday, June 8, 2017 6:00:52 PM
Rank: Newbie
Groups: Member

Joined: 7/18/2012
Posts: 3
Got it. Changed the width to 5px and can now see what are saying. Is there a possibility to force a minimum width of 1px? I checked that 2px works for me, but it does not look as good as 1 px. Thank you very much for the quick reply :-)
eo_support
Posted: Thursday, June 8, 2017 6:21:11 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,225
Unfortunately no. There is no option to force a minimum width of 1px. Sorry about it!
Darkbird GmbH
Posted: Thursday, June 8, 2017 6:36:18 PM
Rank: Newbie
Groups: Member

Joined: 7/18/2012
Posts: 3
OK. Thanks for your help.


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.