xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Eirik Rønning" <larsei...@gmail.com>
Subject Re: svg -> pdf error when creating pdf
Date Mon, 18 Aug 2008 12:17:39 GMT
Strange thing is that the symbol it references seems to be empty..
I added some comments to the useelement and it worked beautifully!

Thanks again Thomas


On Mon, Aug 18, 2008 at 2:11 PM, Lars Eirik Rønning <larseirik@gmail.com>wrote:

> hm.. isnt it weird that Illustrator produces this?
>
>
> On Mon, Aug 18, 2008 at 1:02 PM, <thomas.deweese@kodak.com> wrote:
>
>>
>> Hi Lars,
>>
>> "Lars Eirik Rønning" <larseirik@gmail.com> wrote on 08/18/2008 05:20:22
>> AM:
>>
>> > Can somebody explain to me why the attached svg file is
>> > unsucessfully converted to pdf?
>>
>>    The SVG document has an error according to the SVG
>> specification.
>>
>> > I get an exception saying that width cannot be negative number..
>>
>>    The problem element is the use element at line 962.
>>
>>    That element has a negative number for it's 'width'
>> attribute, see:
>>         http://www.w3.org/TR/SVG11/struct.html#SVGElementWidthAttribute
>>
>>    The error message is a little misleading due to this
>> part of the SVG spec:
>>         http://www.w3.org/TR/SVG11/struct.html#UseElement
>>
>>    See the paragraph under the bullet for:
>>         If the 'use' element references a 'symbol' element.
>>
>>    The element is a little weird since it has a negative
>> width and height as well as a transform that has negative
>> scale factors.
>>
>
>

Mime
View raw message