Welcome Guest Search | Active Topics | Sign In | Register

HTML-to-PDF doesn't work reliably Options
sick.de
Posted: Tuesday, August 23, 2016 9:30:46 AM
Rank: Newbie
Groups: Member

Joined: 8/4/2014
Posts: 1
Hallo,
we've updated from an older version of EO.PDF (v5.0.87.2) to the current release. Now our HTML-to-PDF conversion is totally screwed up:
Pages aren't rendered at all, some pages are zoomed out and so on.

By trial and error I discovered that EO.PDF has problems with the following HTML (you can try it on your own in the EO.PDF Demo application):

Quote:

<div style="page-break-after: always; margin-top: 15em">
<p>Page 1</p>
</div>


<div style="page-break-after: always">
<p>Page 2</p>
</div>


=> This renders one empty page.

When I remove the margin-top style, it works as expected.

Why is that, there's nothing wrong with this HTML? As suggested in the troubleshooting section in the help, I verified this with Google Chrome: Chrome renders this piece of HTML correctly, too.

This makes me very nervous...how should I rely on the product? Is there an explanation why this is wrong and why I should not use margin-top? Are there other culprits / breaking changes to the former EO.PDF version?
eo_support
Posted: Friday, August 26, 2016 1:56:28 PM
Rank: Administration
Groups: Administration

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

This is just to let you know that we have posted a new build that should fix this issue. Please download it from our download page and let us know how it goes.

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.