[Bug 1391214] [NEW] dimensions and positions of objects not reading correctly

2014-11-10 Thread Dave Lawrence
Public bug reported:

Hi,

I am using inkscape to create a SVG files containing multiple objects
and rsvg to then render these via cairo.

I am using rsvg_handle_get_dimensions_sub and position_sub() to read the
(x,y) and (w,h) for the objects which are then used to translate and
scale cairo before using rsvg_handle_render_cairo_sub() to render the
object.

I am running into anomalies when reading this attributes. I have
attached a stripped down source for a simple utility which 'walks' the
XML of the file and calls the two functions to dump out all the objects
in the file.

I have also attached a sample SVG file created with inkscape with a
single rectangle of 45x20px on a canvas of 100x100px

Running svgsize on this produces:

$ ./svgsize /tmp/inkscape.svg
svg : svg2 100x 100 ( 0, 0)
defs : defs4 0x 0 ( 0, 0)
namedview : base 0x 0 ( 0, 0)
grid : grid4469 0x 0 ( 0, 0)
metadata : metadata7 0x 0 ( 0, 0)
g : layer1 50x1047 ( 0,-1022)
rect : rect4471 50x1047 ( 0,-1022)

with scrambled sizes and positions for the rect.

If I load the file into karbon (the KDE editor) and save it (with no
other modifications), svgsize produces the correct numbers:

$ ./svgsize /tmp/karbon1.svg
g : layer1 45x 20 ( 5, 5)
rect : rect4471 45x 20 ( 5, 5)

Loading this back into Inkscape and saving it out again, and the
original values are shown.

I have tried this on inkscape stable 0.48 and the development 0.91

I am using rsvg 2.36.1-0ubuntu1 from precise. I get the same problem
with trusty.

Thanks,

** Affects: librsvg (Ubuntu)
 Importance: Undecided
 Status: New

** Attachment added: inkscape-dimensions.zip
   
https://bugs.launchpad.net/bugs/1391214/+attachment/4257291/+files/inkscape-dimensions.zip

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1391214

Title:
  dimensions and positions of objects not reading correctly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/librsvg/+bug/1391214/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 659376] Re: mibs absent from maverick

2010-10-20 Thread Dave Lawrence
It would be informative useful if the absence, and the method to fetch
the MIBS was made clearer.

-- 
mibs absent from maverick
https://bugs.launchpad.net/bugs/659376
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to net-snmp in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 659376] Re: mibs absent from maverick

2010-10-20 Thread Dave Lawrence
It would be informative useful if the absence, and the method to fetch
the MIBS was made clearer.

-- 
mibs absent from maverick
https://bugs.launchpad.net/bugs/659376
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 659376] [NEW] mibs absent from maverick

2010-10-12 Thread Dave Lawrence
Public bug reported:

the directory /usr/share/snmp/mibs is missing from the libsnmp-base
package on maverick

according to /usr/share/doc/libsnmp-base/README.mibs these are now
fetched and built and there's meant to be a Makefile.mib to help, but
this file does not appear to be present.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: libsnmp-base 5.4.3~dfsg-1ubuntu3
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic i686
NonfreeKernelModules: fglrx
Architecture: i386
Date: Tue Oct 12 18:57:09 2010
Dependencies:
 
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: net-snmp

** Affects: net-snmp (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: apport-bug i386 maverick

-- 
mibs absent from maverick
https://bugs.launchpad.net/bugs/659376
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to net-snmp in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 659376] [NEW] mibs absent from maverick

2010-10-12 Thread Dave Lawrence
Public bug reported:

the directory /usr/share/snmp/mibs is missing from the libsnmp-base
package on maverick

according to /usr/share/doc/libsnmp-base/README.mibs these are now
fetched and built and there's meant to be a Makefile.mib to help, but
this file does not appear to be present.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: libsnmp-base 5.4.3~dfsg-1ubuntu3
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic i686
NonfreeKernelModules: fglrx
Architecture: i386
Date: Tue Oct 12 18:57:09 2010
Dependencies:
 
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: net-snmp

** Affects: net-snmp (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: apport-bug i386 maverick

-- 
mibs absent from maverick
https://bugs.launchpad.net/bugs/659376
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs