Welcome Guest Search | Active Topics | Sign In | Register

Correct width for <pre> content not calculated Options
Slobdell
Posted: Monday, April 24, 2023 4:21:09 PM
Rank: Newbie
Groups: Member

Joined: 4/24/2023
Posts: 3
Hi, I'm trying to use EO.pdf for .NET to convert html to pdf. I can't seem to get it to work with wide content in the <pre> tag.

For all of our html documents without this tag, EO.pdf will accurately gauge the size and shrink the content so that it fits the size of our output document. Content with the <pre> tag doesn't scale at all. Take this sample html for example, after converting it to a pdf the content is truncated.

<html><body style='background-color:white;width:auto;'><pre>
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
</pre></body></html>

Any way to get this to work? Thanks

Steve
eo_support
Posted: Monday, April 24, 2023 4:28:51 PM
Rank: Administration
Groups: Administration

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

We can reproduce the problem here. We are looking into it and will reply here again once we have an update.

Thanks
eo_support
Posted: Tuesday, April 25, 2023 2:11:19 PM
Rank: Administration
Groups: Administration

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

We have a new build that addressed this issue. Please let us know if you would like to try it out.

Thanks!
Slobdell
Posted: Tuesday, April 25, 2023 2:20:34 PM
Rank: Newbie
Groups: Member

Joined: 4/24/2023
Posts: 3
Yes please
eo_support
Posted: Tuesday, April 25, 2023 2:28:57 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,088
Please see your private message for the download location.
Slobdell
Posted: Tuesday, April 25, 2023 2:35:44 PM
Rank: Newbie
Groups: Member

Joined: 4/24/2023
Posts: 3
It works, thanks for the quick help!
eo_support
Posted: Tuesday, April 25, 2023 2:37:57 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,088
Great and thanks for confirming! Please feel free to let us know if there is anything else.


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.