Welcome Guest Search | Active Topics | Sign In | Register

CSS Graph Conversion Leaves Artifacts Options
akiman
Posted: Tuesday, April 29, 2014 9:31:56 AM
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.asp

When we try to convert the resulting HTML/CSS through your live demo at:

http://www.essentialobjects.com/Products/EOPdf/UrlToPdf.aspx

we 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
eo_support
Posted: Tuesday, April 29, 2014 11:53:17 AM
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!
eo_support
Posted: Wednesday, April 30, 2014 10:25:03 PM
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!
akiman
Posted: Saturday, May 3, 2014 11:30:48 AM
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.
eo_support
Posted: Saturday, May 3, 2014 8:29:54 PM
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!


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.