Bug#278750: librsvg2-bin: rsvg program doesn't handle -h 0 or -w 0 well

Jason Dorje Short Jason Dorje Short <jdorje@users.sourceforge.net>, 278750@bugs.debian.org
Fri, 29 Oct 2004 01:20:02 -0400


Package: librsvg2-bin
Version: 2.8.1-1
Severity: minor


If I call "rsvg -w 30 -h 0 foo.svg foo.png", rsvg gives a cryptic 
warning and a random bogus output PNG.  It should give a useful error 
message and (I think) no output PNG.

(process:26064): librsvg-WARNING **: rsvg_start_svg: width and height 
not specified in the SVG, nor supplied by the size callback

The same is true if a negative value is given.

-jason

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages librsvg2-bin depends on:
ii  libart-2.0-2              2.3.16-6       Library of functions for 2D graphi
ii  libatk1.0-0               1.6.1-5        The ATK accessibility toolkit
ii  libbz2-1.0                1.0.2-1        A high-quality block-sorting file 
ii  libc6                     2.3.2.ds1-18   GNU C Library: Shared libraries an
ii  libcroco3                 0.6.0-2        a generic Cascading Style Sheet (C
ii  libfontconfig1            2.2.3-2        generic font configuration library
ii  libfreetype6              2.1.7-2.2      FreeType 2 font engine, shared lib
ii  libglib2.0-0              2.4.7-1        The GLib library of C routines
ii  libgnomecanvas2-0         2.6.1.1-2      A powerful object-oriented display
ii  libgnomeprint2.2-0        2.8.0.1-2      The GNOME 2.2 print architecture -
ii  libgnomeprintui2.2-0      2.6.2-1        The GNOME 2.2 print architecture U
ii  libgsf-1                  1.10.1-1       Structured File Library - runtime 
ii  libgtk2.0-0               2.4.13-1       The GTK+ graphical user interface 
ii  libpango1.0-0             1.4.1-4        Layout and rendering of internatio
ii  libpopt0                  1.7-5          lib for parsing cmdline parameters
ii  librsvg2-2                2.8.1-1        SAX-based renderer library for SVG
ii  libx11-6                  4.3.0.dfsg.1-8 X Window System protocol client li
ii  libxml2                   2.6.11-4       GNOME XML library
ii  xlibs                     4.3.0.dfsg.1-8 X Window System client libraries m
ii  zlib1g                    1:1.2.2-1      compression library - runtime

-- no debconf information