there is typo in Image/LibRSVG.pm which makes loadImage unusable in some
cases:
--- /usr/lib/perl5/Image/LibRSVG.pm.orig 2010-06-16 16:14:37.000000000 +0200
+++ /usr/lib/perl5/Image/LibRSVG.pm 2010-06-16 16:14:59.000000000 +0200
@@ -53,7 +53,7 @@
$rv = $self->loadFromFile( $file_path );
} elsif ( $args->{zoom} ) {
$rv = $self->loadFromFileAtZoom( $file_path,
$args->{zoom}->[0], $args->{zoom}->[1], $dpi );
- } elsif( $args->{dimesion} ) {
+ } elsif( $args->{dimension} ) {
if( defined $args->{dimension}->[2] && $args->{dimension}->[2] ) {
$rv = $self->loadFromFileAtMaxSize( $file_path,
$args->{dimension}->[0], $args->{dimension}->[1], $dpi );
} else {
Subject: | LibRSVG.pm.typo.patch |
--- /usr/lib/perl5/Image/LibRSVG.pm.orig 2010-06-16 16:14:37.000000000 +0200
+++ /usr/lib/perl5/Image/LibRSVG.pm 2010-06-16 16:14:59.000000000 +0200
@@ -53,7 +53,7 @@
$rv = $self->loadFromFile( $file_path );
} elsif ( $args->{zoom} ) {
$rv = $self->loadFromFileAtZoom( $file_path, $args->{zoom}->[0], $args->{zoom}->[1], $dpi );
- } elsif( $args->{dimesion} ) {
+ } elsif( $args->{dimension} ) {
if( defined $args->{dimension}->[2] && $args->{dimension}->[2] ) {
$rv = $self->loadFromFileAtMaxSize( $file_path, $args->{dimension}->[0], $args->{dimension}->[1], $dpi );
} else {