Subject: | Extended Graphics State dash() method not working |
Date: | Tue, 02 Sep 2014 12:46:18 -0400 |
To: | bug-PDF-API2 [...] rt.cpan.org |
From: | Phil M Perry <philperry [...] hvc.rr.com> |
PDF::API2 v2.022 Perl 5.16.3 Windows 7 Severity: Important
In API2/Resource/ExtGState.pm, the dash() method appears to have a bug.
It loads the dash pattern into $self->{ML}, which is the same internal
setting as used by meterlimit()/miterlimit(). I suspect that the author
copy and pasted the previous method's code (meterlimit()) and neglected
to change the internal name. I have not yet debugged this, or even
proved it broken, but it appears that it would break the
meterlimit()/miterlimit() method by overwriting its data.