Welcome Guest Search | Active Topics | Sign In | Register

Converting HTML with very large image also scales down font size. Options
LucasM
Posted: Monday, December 30, 2013 9:37:49 AM
Rank: Newbie
Groups: Member

Joined: 12/30/2013
Posts: 1
Hello.

We allow our users to create HTML content (with CKEditor) and then export it to PDF or Word using EO. Users can upload any image size they want. We found out that if HTML contains an image with large dimensions, the entire HTML markup gets scaled down to fit page width. This also scales down text which becomes unreadable due to its super small size. Html below is my test case.

<p>Who just downsized me? I just want somebody to notice me!</p>
<p></p>
<p><input alt="" src="https://www.google.com/images/srpr/logo11w.png" style="width: 4000px; height: 3000px" type="image" /></p>

What would be my options to keep text intact and scale only the content that does not fit?

Thanks,
Lucas
eo_support
Posted: Monday, December 30, 2013 9:49:14 AM
Rank: Administration
Groups: Administration

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

The converter will not scale just a portion of the page because then the page layout would change. The whole page is always scaled as a whole. However you can turn off scaling:

http://www.essentialobjects.com/doc/4/htmltopdf/auto_fit.aspx

Hope this helps.

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.