Closed rolfn closed 9 years ago
In first case this is just how phantomjs works, in second I didn't find how to convert image size to pdf size (image px is not same as pdf px) otherwise I agree that it is better to default pdf size to image size.
I have dropped support for PDF, because the PDF was just a wrapper around an image and not an actual SVG to PDF conversion. I think better results can be achieved with other packages.
Shouldn't a pdf output file contain vector graphics? I tried the following example
The file "NewTux.svg" comes from http://upload.wikimedia.org/wikipedia/commons/b/b0/NewTux.svg The resulting pdf file contains bitmaps. This is bad.
And another issue: Without an explicit size parameter the output pdf file ("NewTux.pdf") has two pages and the "penguin" is broken. It would be better if the pdf file has the same size as the (one page) svg file.
...Rolf