Hi Thomas,

I tested it with the latest nightly build with no success.
It ist the same result as in 1.6.


[EMAIL PROTECTED] sagte:
> Hi Thomas,
>
> here I have a little example which I used to test it.
>
> <?xml version="1.0" encoding="utf-8"?>
> <svg  width="843.56" height="595.53" viewBox="0 0 843.56 595.53"
> overflow="visible" enable-background="new 0 0 843.56 595.53"
>        xml:space="preserve">
> <g id="Ebene_1" >
>   <path fill="none" stroke="#FFFFFF" stroke-width="0.25"
> stroke-linecap="round" stroke-linejoin="round" d="M40.89,20.68"/>
>       <rect x="20.33" y="13.43" fill="none" stroke="#FFFFFF"
> stroke-width="0.25" stroke-linecap="round" stroke-linejoin="round"
> width="39.48" height="8.5"/>
>        <g>
>         <rect x="0.13" y="0.13" fill="none" stroke="#FFFFFF"
> stroke-width="0.25" stroke-linecap="round" stroke-linejoin="round"
> width="843.31" height="595.28"/>
>         <rect x="20.47" y="29.56" fill="none" stroke="#000000" width="803.62"
> height="515.15"/>
>        </g>
>        <line  fill="none" stroke="#000000" x1="21.27" y1="173.26" x2="822.27"
> y2="173.26"/>
>       <line fill="none" stroke="#000000" x1="358.27" y1="29.26" x2="358.27"
> y2="543.26"/>
> </g>
> </svg>
>
> Here the command I used to convert it
> java -jar batik-rasterizer.jar -a 20,30,804,516 -bg 255.255.255.255
>  -indexed 2 -w 1680 test.svg
> I use the same command in 1.5.1 as in 1.6
>
> The resulting image are different. In 1.6 there is a larger border
> on the top and the bottom.
>
> I'll try to test it with the current CVS-Version.
>
>
> Thomas DeWeese sagte:
>> Hi Wolfgang,
>>
>>     I don't have a direct answer.
>>
>>     Can you please produce a reproducible example?  Meaning a
>> (hopefully small) SVG file and the command lines to use. Often
>> these types of problems are tied to the values of the width/height
>> viewBox attributes on the root SVG element.  So without SVG content
>> it isn't worth trying to track this down.
>>
>>     Also there was a bug fixed since the 1.6 release in
>> this area so you could also try CVS if that is convenient.
>>
>> [EMAIL PROTECTED] wrote:
>>> Hello,
>>>
>>> we use the Batik rasterizer to transform SVG to PNG.
>>>
>>> Currently we use Batik 1.5.1. Now I tested the new version but with
>>> this version the rasterizer doesn't work in the same way as in 1.5.1
>>>
>>> With this command
>>>
>>> java -jar batik-rasterizer.jar -a 20,30,804,516 -bg 255.255.255.255
>>> -indexed 2 -w 1680 P:\0321731.svg
>>>
>>> we can convert the SVG and the given area of interest is in 1.5.1
>>> extracted as expected.
>>> In 1.6 the result of the command is different from 1.5.1.
>>> What has changed in 1.6?
>>> Why is resulting area of interest in 1.6. greater than in 1.5.1?
>>>
>>> Regards
>>>
>>> Wolfgang
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail:
>>> [EMAIL PROTECTED]
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to