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.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.27-2-686
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages inkscape depends on:
ii  libatk1.0-0              1.12.2-1        The ATK accessibility toolkit
ii  libbonobo2-0             2.14.0-1        Bonobo CORBA interfaces library
ii  libc6                    2.3.6.ds1-4     GNU C Library: Shared libraries
ii  libcairo2                1.2.4-1         The Cairo 2D vector graphics
libra
ii  libdbus-1-3              0.93-1          simple interprocess messaging
syst
ii  libfontconfig1           2.4.1-2         generic font configuration
library
ii  libfreetype6             2.2.1-5         FreeType 2 font engine,
shared lib
ii  libgc1c2                 1:6.8-1         conservative garbage
collector for
ii  libgcc1                  1:4.1.1-14      GCC support library
ii  libgconf2-4              2.14.0-4        GNOME configuration database
syste
ii  libglib2.0-0             2.12.3-2        The GLib library of C routines
ii  libglibmm-2.4-1c2a       2.12.0-1        C++ wrapper for the GLib
toolkit (
ii  libgnomevfs2-0           2.14.2-2+b1     GNOME virtual file-system
(runtime
ii  libgtk2.0-0              2.8.20-2        The GTK+ graphical user
interface
ii  libgtkmm-2.4-1c2a        1:2.8.8-1       C++ wrappers for GTK+ 2.4
(shared
ii  liblcms1                 1.15-1          Color management library
ii  libloudmouth1-0          1.1.2-2         Lightweight C Jabber library
ii  liborbit2                1:2.14.0-2      libraries for ORBit2 - a
CORBA ORB
ii  libpango1.0-0            1.14.4-2        Layout and rendering of
internatio
ii  libpng12-0               1.2.8rel-5.2    PNG library - runtime
ii  libpopt0                 1.10-3          lib for parsing cmdline
parameters
ii  libsigc++-2.0-0c2a       2.0.17-2        type-safe Signal Framework
for C++
ii  libstdc++6               4.1.1-14        The GNU Standard C++ Library v3
ii  libx11-6                 2:1.0.0-9       X11 client-side library
ii  libxcursor1              1.1.7-4         X cursor management library
ii  libxext6                 1:1.0.1-2       X11 miscellaneous extension
librar
ii  libxfixes3               1:4.0.1-4       X11 miscellaneous 'fixes'
extensio
ii  libxft2                  2.1.8.2-8       FreeType-based font drawing
librar
ii  libxi6                   1:1.0.1-3       X11 Input extension library
ii  libxinerama1             6.8.2.dfsg.1-11 X Window System multi-head
display
ii  libxml2                  2.6.26.dfsg-3   GNOME XML library
ii  libxrandr2               6.8.2.dfsg.1-9  X Window System Resize,
Rotate and
ii  libxrender1              1:0.9.0.2-1     X Rendering Extension client
libra
ii  libxslt1.1               1.1.17-4        XSLT processing library -
runtime
ii  zlib1g                   1:1.2.3-13      compression library - runtime

Versions of packages inkscape recommends:
ii  imagemagick                  6:6.2.3.6-3 Image manipulation programs
pn  libwmf-bin                   <none>      (no description available)
pn  perlmagick                   <none>      (no description available)
ii  pstoedit                     3.41-1      PostScript and PDF files to
editab

-- no debconf information



Reply via email to