mvlabs / MvlabsSnappy

MvlabsSnappy is a ZF2/ZF3 module that allow easy to thumbnail, snapshot or PDF generation from a url or a html page using Snappy PHP (5.6+) wrapper for the wkhtmltopdf/wkhtmltoimage conversion utility.
MIT License
24 stars 10 forks source link

support for SVG tags #3

Closed shashankphp closed 10 years ago

shashankphp commented 10 years ago

Hi, Can you please confirm if this library supports SVG tags. (http://www.w3.org/2000/svg ) (Please refer http://en.wikipedia.org/wiki/Scalable_Vector_Graphics for more information.)

I am trying to generate PDF Report files for charts generated by ExtJs which uses SVG tags. I am able to render simple html tags like(P with css styles) but unable to render SVG tags. It comes blank for svg. It is unable to render svg tags but other text and html can be read and rendered. If you need, I can provide you Sample HTML to experiment.

drigani commented 10 years ago

Hi @shashankphp, please, could you provide a sample code?

shashankphp commented 10 years ago

Hi Drigani, Thanks for your response. Please provide me your email id so that I can send you the file containing the sample code.

drigani commented 10 years ago

Yes, sure drigani[a]gmail.com

shashankphp commented 10 years ago

Hi Drigani,

Please find the html file containing chart which I want to convert in PDF. When I try to create PDF for this HTML it just reads text and some blank space comes for the Chart.

Thanks & Regards, Shashank

On Mon, Dec 9, 2013 at 6:34 PM, Diego Drigani notifications@github.comwrote:

Yes, sure drigani[a]gmail.com

— Reply to this email directly or view it on GitHubhttps://github.com/mvlabs/MvlabsSnappy/issues/3#issuecomment-30130105 .

drigani commented 10 years ago

This issue regards to wkhtmltopdf.