Skip Menu |

This queue is for tickets about the Image-LibRSVG CPAN distribution.

Report information
The Basics
Id: 58454
Status: open
Priority: 0/
Queue: Image-LibRSVG

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.07
Fixed in: (no value)



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 {
Subject: more "dimesion"
From: fschlich [...] zedat.fu-berlin.de
On Wed Jun 16 10:26:59 2010, http://eloy.openid.pl/ wrote: Show quoted text
> there is typo in Image/LibRSVG.pm which makes loadImage unusable in some > cases:
there's also: @@ -78,7 +78,7 @@ $rv = $self->loadFromString( $file_path ); } elsif ( $args->{zoom} ) { $rv = $self->loadFromStringAtZoom( $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->loadFromStringAtMaxSize( $file_path, $args->{dimension}->[0], $args->{dimension}->[1], $dpi ); } else {