Thank you for your reply. In the server (the one that will use commandline) i have: Inkscape 0.45.1 Cairo 1.2.6
This is also what yum returns as last compiled versions. With this versions, the generated PDF has the same issues
It seems that inkscape version is already the latest stable (not dev) release, but cairo is not.
If you can, i would have a great favour to ask: That server is already in production, so i would avoid altering libs in order to compile newest versions till i'm sure it will be needed. If you do have the latest inkscape dev and cairo, would you please try to perform the inkscape -z svgfile.svg --export-pdf=pdffile.pdf --export-text-to-path command over the SVG file i attached in first post, and show me that PDF? Knowing if this upgrade will solve the issue would be a great help to me.
Thanks in advance, sorry to abuse of your patience!
Alex
bulia byak wrote:
You're not indicating which version of Inkscape you are using, and if a recent build, which version of cairo. Those things matter for PDF export.
Oh, in your PDF I noticed:
/Producer(Inkscape 0.44.1)
That version is way too old. Upgrade, ideally to the recent dev version with newest cairo, and make sure you use the same version for GUI and command line.
On 10/23/07, Alexander Bonivento <redna379@...12...> wrote:
Hello everyone. Sorry to bother you again with something strange, but my actual project needs all of this... :)
Attached you will see an SVG and its PDF created via inkscape. At the end i will need to create it from commandline (all of this is about a PHP app, so i cannot consider the GUI), anyhow to test how things looks like in inkscape i also installed it locally (with GUI)
As you can see, the SVG file is a bit unusual: it contains a nested SVG graphics, using a G container to place and scale it as needed. That nested object can be everything, as users will be allowed to send their own SVG files.
Now: in inkscape GUI, it looks correctly. I also included in zip a png files which will show you how the design should be. But in the PDF the "Fire Dept." nested SVG is wrong, totally wrong... It seems inkscape renders it correctly while in GUI, but fills the external paths with black when converting to PDF.
Same results of course when i try (as i will need to do) with commandline. Export command i'm using now is: inkscape -z svgfile.svg --export-pdf=pdffile.pdf --export-text-to-path
Any suggestion on how to solve this? Maybe some SVG formatting i should recommend to my users?
Many thanks in advance,
Alex
This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user