|
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
|
|
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!
|
|
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
|
|
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.
|
|
Rank: Newbie Groups: Member
Joined: 5/13/2013 Posts: 2
|
I am having a similar problem... how do I obtain the update?
Thanks
|
|
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!
|
|
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>
|
|
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!
|
|