Welcome Guest Search | Active Topics | Sign In | Register

Text overlapping in the generated PDF using HtmlToPdf.ConvertHtml Options
Toseef
Posted: Friday, October 19, 2012 3:31:06 AM
Rank: Newbie
Groups: Member

Joined: 2/6/2012
Posts: 2
Code: C#


Hi Team,

We are facing an issue with ConvertHtml method. The text in the pdf is getting overlapped. Even tried with Eo PDF Demo application. Use convertHTML metod under basic section.

Below is the html used for conversion:
<html>
<head >
<title></title>
</head>
<body>
<div>
<div style="color:#bfbfbf;float:left;font:1em Arial, Helvetica, sans-serif;font-size:0.9em !important;line-height:1.6em !important;margin:0px 0px 18px;text-align:left;word-spacing:-1px;">
<p>

© Whatever you want to do you do it in your HTML, not on the HTML to PDF converter. Anything related to HTML, such as CSS, JavaScript, etc, you do it in your HTML. Just think the HTML to PDF converter as a browser. The options are not on the browser. You get your HTML right and the browser will display it right. So everything is in the HTML. For example, if you want to dynamically set CSS stylesheet, you can dynamically change link element in your page's header.
</p>
</div>
</div>
</body>
</html>

Let me know if you need more information.



eo_support
Posted: Friday, October 19, 2012 7:20:00 AM
Rank: Administration
Groups: Administration

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

You may want to try this on another computer, or try the HTML with Chrome browser. We tested your HTML and it works fine here.

Thanks!
Toseef
Posted: Friday, October 19, 2012 7:57:43 AM
Rank: Newbie
Groups: Member

Joined: 2/6/2012
Posts: 2
We are using IE and the functionality is expected to work on all the browsers.

The pdf generats successfully but with the text in between overlapped. Please verfy the text carefully not all the text but some text gets overlapped/ looks like symbols due to overlap. I can send to the pdf sample, let me know to the EmailId to share the pdf.
eo_support
Posted: Friday, October 19, 2012 8:02:11 AM
Rank: Administration
Groups: Administration

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

Use Chrome to verify your HTML when troubleshooting problems with our converter. Our rendering is most close to Chrome's.

We do not see any problem here, neither in browser nor in PDF. So even if you send your PDF file to us we still not able to tell you why. So I would still recommend you to try it on a differen machine. Also make sure you have the latest version of our DLL.

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.