Subject: | EPS file with redefined page origins appears mirrored |
Date: | Fri, 19 Mar 2010 12:24:26 +0100 |
To: | bug-PostScript-Simple [...] rt.cpan.org |
From: | Federico Quarato <federico.quarato [...] gmail.com> |
Hi,
when importing an EPS file with coordorigin=>"LeftTop" and direction=>"RightDown", the resulting output of the file appears mirrored over those axes.
This is particularly noticeable where the EPS fine contains text, as it gets displayed flipped out and over
for example:
my $p = new PostScript::Simple(
xsize=>220,
ysize=>300,
colour => 0,
eps => 0,
units => "mm",
reencode=>"ISOLatin1Encoding",
coordorigin=>"LeftTop",
direction=>"RightDown"
);
$p->newpage;
$p->importepsfile( {stretch => 0}, "file.eps", 4,2, 56,22);
If needed, i can provide full source code as well as the EPS used.
I'm using:
Postscript::Simple v. 0.07
Perl v. 5.8.5
Intel Linux kernel 2.6.18
thanks
Federico Quarato