User list for Inkscape – A SVG editor and a powerful vector illustration software

>,, Eric Jonas wrote: >,>, Can someone suggest another SVG to PDF converter which will preserve >,>, transparency? I tried Cairo's svg2pdf, but it just segfaults midway >,>, through processing the file. >, >, I have had a degree of success with batik, from the Apache project. It >, is mostly billed as a 'SVC rasterizer' but it can also 'transcode' SVG >, to PDF. Sometimes it eats my fonts, sometimes it eats my arrow-heads, >, but 98% of the time it does exactly what I want. Alas, batik too fails miserably: [psy <,at>, linux:/tmp/batik-1.6]$ java -jar batik-rasterizer.jar -m application/pdf Psychedelic poster.svg About to transcode 1 SVG file(s) Converting Psychedelic poster.svg to Psychedelic poster.pdf ... org.apache.batik.transcoder.TranscoderException: null Enclosed Exception: The current document is unable to create an element of the requested type (namespace: , name: flowRoot). at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Unknown Source) at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(Unknown Source) On Wed, 2006-03-15 at 14:38 +0000, Tristan Miller wrote: >, Converting Psychedelic poster.svg to Psychedelic poster.pdf ... >, org.apache.batik.transcoder.TranscoderException: null >, Enclosed Exception: >, The current document is unable to create an element of the requested type >, (namespace: , name: flowRoot). flowRoot (i.e. Flowed Text) is an SVG 1.2 proposed object type. Batik is an SVG 1.1 renderer. Change the flowRoot objects to regular text (Text->,Convert to Text) and try Batik again. Tav ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! >,, Tavmjong Bah wrote: >,>, Converting Psychedelic poster.svg to Psychedelic poster.pdf ... >,>, org.apache.batik.transcoder.TranscoderException: null >,>, Enclosed Exception: >,>, The current document is unable to create an element of the requested >,>, type (namespace: , name: flowRoot). >, >, >, flowRoot (i.e. Flowed Text) is an SVG 1.2 proposed object type. Batik is >, an SVG 1.1 renderer. >, >, Change the flowRoot objects to regular text (Text->,Convert to Text) and >, try Batik again. Doing so let Batik run without producing any errors, but the PDF it produced isn't quite right. Adobe Reader refuses to open it, saying 'An unrecognized token '-3.662109375E-4' was found.'. Kpdf opens it, and while there is indeed transparency in the right parts of the image, in other parts there is transparency where there shouldn't be any! Regards, Tristan Inkscape conversion from SVG to PDF is using PS. PS as I know it doesn't support transparency, and thats the main problem. When I need to export an SVG to PDF with transparencies I need to flatten the colors. I can't remember well how I do that, but basically use the pick color tool to check the real visible color, and change the object color/transparency accordingly. I hope this helps. Hugs Alberto On 3/15/06, Tristan Miller <, >,, Tavmjong Bah >, wrote: >, >,>, Converting Psychedelic poster.svg to Psychedelic poster.pdf ... >, >,>, org.apache.batik.transcoder.TranscoderException: null >, >,>, Enclosed Exception: >, >,>, The current document is unable to create an element of the requested >, >,>, type (namespace: , name: flowRoot). >, >, >, >, >, >, flowRoot (i.e. Flowed Text) is an SVG 1.2 proposed object type. Batik is >, >, an SVG 1.1 renderer. >, >, >, >, Change the flowRoot objects to regular text (Text->,Convert to Text) and >, >, try Batik again. Source.


Яндекс.Метрика Рейтинг@Mail.ru Free Web Counter
page counter
Last Modified: April 23, 2016 @ 12:06 pm