Bug#316309: librsvg2-bin: rsvg program doesn't work well with
missing -w or -h argument
Jason Dorje Short
Jason Dorje Short <jdorje@users.sf.net>, 316309@bugs.debian.org
Wed, 29 Jun 2005 20:45:28 -0400
Package: librsvg2-bin
Version: 2.9.5-3
Severity: normal
If you give the rsvg program a -w but not a -h parameter, it will take the
width from -w but use the height from the SVG file's default, and stretch the
image to match it. The end result is almost never what the user wants. Of
course this also happens if you give a -h but not a -w parameter.
In the rsvg library API, you can specify width and height or *max width* and
*max height*. In most cases the latter is preferred but in some cases it
will be the former. I'd suggest the command line rsvg should give the
same options.
Inkscape, sodipodi, and svg2png also provide similar command-line parameters.
In adding new parameters I'd suggest they be kept compatible with these
other programs as much as possible.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages librsvg2-bin depends on:
ii libart-2.0-2 2.3.17-1 Library of functions for 2D graphi
ii libatk1.0-0 1.10.1-2 The ATK accessibility toolkit
ii libbz2-1.0 1.0.2-7 high-quality block-sorting file co
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii libcroco3 0.6.0-2 a generic Cascading Style Sheet (C
ii libfontconfig1 2.3.2-1 generic font configuration library
ii libfreetype6 2.1.10-1 FreeType 2 font engine, shared lib
ii libglib2.0-0 2.6.5-1 The GLib library of C routines
ii libgnomecanvas2-0 2.10.2-2 A powerful object-oriented display
ii libgnomeprint2.2-0 2.10.3-2 The GNOME 2.2 print architecture -
ii libgnomeprintui2.2-0 2.10.2-2 GNOME 2.2 print architecture User
ii libgsf-1 1.12.1-1 Structured File Library - runtime
ii libgtk2.0-0 2.6.8-1 The GTK+ graphical user interface
ii libpango1.0-0 1.8.1-1 Layout and rendering of internatio
ii libpopt0 1.7-5 lib for parsing cmdline parameters
ii librsvg2-2 2.9.5-3 SAX-based renderer library for SVG
ii libx11-6 4.3.0.dfsg.1-14 X Window System protocol client li
ii libxml2 2.6.16-7 GNOME XML library
ii xlibs 4.3.0.dfsg.1-14 X Keyboard Extension (XKB) configu
ii zlib1g 1:1.2.2-4 compression library - runtime
librsvg2-bin recommends no packages.
-- no debconf information