Hi Wojciech!

On Sat, Sep 30, 2006 at 11:41:49PM +0200, Wojciech Muła wrote:
> Package: inkscape
> Version: 0.44.1-1
> Severity: normal
> 
> Consider following drawing (four squares 10 by 10 pixels):
> 
> --- test.svg ---
> <?xml version="1.0" ?>
> <!DOCTYPE svg
>   PUBLIC '-//W3C//DTD SVG 1.1//EN'
>   'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'>
> <svg height="1000px" width="500px" xmlns="http://www.w3.org/2000/svg";
> xmlns:xlink="http://www.w3.org/1999/xlink";>
>       <defs>
>               <rect x="0" y="0" width="100"    height="100"    fill="#000" 
> id="a"/>
>               <rect x="0" y="0" width="1000"   height="1000"   fill="#f00" 
> id="b"/>
>               <rect x="0" y="0" width="10000"  height="10000"  fill="#0f0" 
> id="c"/>
>               <rect x="0" y="0" width="100000" height="100000" fill="#00f" 
> id="d"/>
>       </defs>
> 
>       <use xlink:href="#a" transform="scale(0.1)    translate(0,      0)"/>
>       <use xlink:href="#b" transform="scale(0.01)   translate(1000,   1000)"/>
>       <use xlink:href="#c" transform="scale(0.001)  translate(20000,  
> 20000)"/>
>       <use xlink:href="#d" transform="scale(0.0001) translate(300000, 
> 300000)"/>
> </svg>
> --- eof ---
> 
> Inkscape draws it correctly, but if you try to move red, green or blue
> square it will become BIG.
> 
> Open built-int XML editor and observe element attributes.  Inkscape
> add attributes "x", "y", "width" and "height", and modify value
> of "transform" ('scale' & 'translate' become single 'matrix').
> 
> Problem: width has incorrect value, and transformation matrix
> represents wrong translation (too small in this case).  If you
> continue moving such "deformed" element, scale factor disappear.

Thanks for your report. I cut'n'pasted your sample into the attached
file and tried to reproduce the behaviour you described on powerpc and
amd64 unstable machines but to no avail. I could move and resize all
squares without making them change their size.
Do you have some additional info how to reproduce this? Does inkscape
spit out some messages in the console window if you start it from the
command line? Perhaps a screen shot to help my imagination even if I
think that what you describe is quite clear?

With best wishes,

Wolfi

Attachment: test.svg
Description: image/svg

Attachment: signature.asc
Description: Digital signature

Reply via email to