Date: | Tue, 6 Aug 2002 07:41:53 +0100 |
Subject: | Fwd: AxPoint bug |
From: | Matt Sergeant <matt [...] sergeant.org> |
To: | bug-XML-Handler-AxPoint [...] rt.cpan.org |
Begin forwarded message:
Show quoted text
> From: Gene Carter <gcarter@dna.caltech.edu>
> Date: Tue Aug 06, 2002 03:09:34 AM Europe/London
> To: matt@sergeant.org
> Subject: AxPoint bug
>
> Hello,
>
> I'm currently getting familar with AxPoint. So far its been really cool.
>
> There does appear to be a bug with using point levels > 3 though...
>
> When I attempt to convert a slide with a point level of 4, it errors
> with:
> [gcarter@circular talk]$ axpoint namot.axp t.pdf
> Use of uninitialized value in subtraction (-) at
> /home/gcarter/.local/stow/perl-5.6.1/lib/site_perl/5.6.1/XML/Handler/AxPoint.
> pm line 543.
> Use of uninitialized value in subroutine entry at
> /home/gcarter/.local/stow/perl-5.6.1/lib/site_perl/5.6.1/PDFLib.pm line
> 559.
>
> Looking at the code, there is a list of different levels, but no "else"
> statement to set char and size
> if one of these cases isn't matched.
>
> my ($char, $size);
> if ($level == 1) {
> $char = "l";
> $size = 18;
> }
> elsif ($level == 2) {
> $char = "u";
> $size = 16;
> }
> elsif ($level == 3) {
> $char = "p";
> $size = 14;
> }
>
> Gene
>