Welcome Guest Search | Active Topics | Sign In | Register

Dotted Border coming out as Dashed Options
naman
Posted: Tuesday, April 16, 2013 8:43:28 AM
Rank: Member
Groups: Member

Joined: 5/22/2012
Posts: 11
Hi,
I am using HTMLTOPDF , I am giving a dotted border of 2px but while rendering on PDF it comes out to be dashed border , with uneven spaces.

I have checked it on chrome and IE , HTML renders correctly over there but problems comes in PDF.


Regards,
Naman Ahuja
eo_support
Posted: Tuesday, April 16, 2013 2:48:30 PM
Rank: Administration
Groups: Administration

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

This is a bug. We have posted a new build that should fix this problem. Please see your private message for the download location.

Please keep in mind that PDF uses floats values intead of integer values. So the rendering is not pixel accurate. As a result, at normal zoom level you will see the dots are not even spaced or sometimes connected. However if you zoom in you should see them space out correctly.

Thanks!
naman
Posted: Wednesday, April 17, 2013 10:21:15 AM
Rank: Member
Groups: Member

Joined: 5/22/2012
Posts: 11
Hi ,
Thanks for the update, I tried using the latest dll provided by you. But now the dotted line is looking like solid line at 100% only at 300% we could see it as dotted. Can we do something about it so that we can see dotted line at 100%.


Regards,
Naman Ahuja
eo_support
Posted: Wednesday, April 17, 2013 10:42:05 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Unfortunately no. That's exactly why we mentioned about the zooming issue in our previous reply.
pkoptimum
Posted: Monday, May 13, 2013 4:03:24 PM
Rank: Newbie
Groups: Member

Joined: 5/13/2013
Posts: 2
I am having a similar problem... how do I obtain the update?

Thanks
eo_support
Posted: Monday, May 13, 2013 4:18:54 PM
Rank: Administration
Groups: Administration

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

I believe the download page already has the update. So you will need to download it from there.

Thanks!
pkoptimum
Posted: Wednesday, May 15, 2013 4:08:47 PM
Rank: Newbie
Groups: Member

Joined: 5/13/2013
Posts: 2
The new DLL does better but still doesn't resolve the problem--which is probably a printer/screen resolution issue. The below HTML does fine on screen, but not on print. I was hoping width:thin would handle resolution issues, but it doesn't seem to.

Can you suggest a workaround? Using different styles for display/print is not a problem, but we do want to get a dotted effect on print.

Thanks

Code: HTML/ASPX
<html>
<head>
</head>
<body>
<table>
<tr><td>Space</td><td>Space</td><td>Space</td><td>Space</td><td>Space</td><td>Space</td><td>Space</td><td>Space</td><td>Space</td><td>Space</td></tr>
<tr><td colspan="10" style="border-bottom-color:Black; border-bottom-style:dotted; border-bottom-width:thin" /></tr>
</table>
</body>
</html>
eo_support
Posted: Wednesday, May 15, 2013 8:48:22 PM
Rank: Administration
Groups: Administration

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

We are not aware of any workaround on this one. It will be better for you to avoid dotted lines all together.

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.