|
Rank: Newbie Groups: Member
Joined: 4/29/2014 Posts: 2
|
Hi, I am about to choose EO.PDF for our HTML to PDF conversion needs. However, I am having difficulty in fixing one glitch when converting one of our CSS graphs that can be seen at: http://www.dbe-online.com/resources/plugins/EO_Sample.aspWhen we try to convert the resulting HTML/CSS through your live demo at: http://www.essentialobjects.com/Products/EOPdf/UrlToPdf.aspxwe end up having several horizontal lines under the graph which are not present on the original HTML when viewed. Can it be due to absolute positioned elements? Any ideas about how to remove them without substantially modifying the underlying HTML code? Regards, Ozan
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
This is just to let you know that we are working on this now. We are able to see the problem but have not found out the root cause yet. We will reply again as soon as we have more information.
Thanks!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
Please remove the text-shadow attributes in your graph.css for the following CSS rules:
.graph-container > li > span .graph-marker-container span
It appears that our library have problems handling text shadowing. So for now it's probably best to avoid it. During our test, as soon as we remove those two lines, the chart would render without artifacts.
We originally see you have another CSS file print.css. However during our final test we were not able to verify that file since it is no longer on your server.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 4/29/2014 Posts: 2
|
Thank you. Removing text-shadow attribute did the trick. We can live without shadows for the time being, but it would be nice to have in the future. Moreover, as the artifacts are gone, the file size is also reduced significantly.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Yes. We will try our best to support that in the future. The reason that the file size reduces is because when there is no shadow effect, all the text is rendered in vector format. However once you use shadow effect, the engine has to create a bitmap and render the shadow effect through that bitmap. There are some issues with that part which caused the artifacts. Removing the shadow also removed the bitmap, thus significantly reduces the file size.
Thanks!
|
|