On Thu Mar 10 18:52:47 2011, SSIMMS wrote:
Show quoted text> On Wed Feb 25 11:14:48 2009, matthew@nocturnal.org wrote:
> > I had to manually modify Barcode.pm to use a stroke and fill of #000000
> > instead of 'black.' I brought this up on the newsgroup 2.5 years ago.
> > Still not sure what the issue is, but I was upgrading to the newest
> > debian and saw it still wasn't fixed and/or addressed in the
> > documentation.
>
> I'm not seeing why this would be happening. Are you still seeing it in
> a recent version?
>
> If so, could you let me know the version number and provide a code
> snippet that's producing a grey barcode instead of a black one, please?
Debian lenny version is installed:
libpdf-api2-perl 0.69-2
Changes I made (It's in version control with our code thats why you see
the extra version stuff).
diff BarCode.pm /usr/share/perl5/PDF/API2/Resource/XObject/Form/BarCode.pm
30c30
< # $Id: BarCode.pm,v 1.1 2009-03-18 13:51:24 mlenz Exp $
---
Show quoted text> # $Id: BarCode.pm,v 2.0 2005/11/16 02:18:23 areibens Exp $
47c47
< ( $VERSION ) = sprintf '%i.%03i', split(/\./,('$Revision: 1.1 $'
=~ /Revision: (\S+)\s/)[0]); # $Date: 2009-03-18 13:51:24 $
---
Show quoted text> ( $VERSION ) = sprintf '%i.%03i', split(/\./,('$Revision: 2.0 $'
=~ /Revision: (\S+)\s/)[0]); # $Date: 2005/11/16 02:18:23 $
167,168c167,168
< $self->fillcolor('#000000');
< $self->strokecolor('#000000');
---
Show quoted text> $self->fillcolor('black');
> $self->strokecolor('black');
268,271c268
< $Log: BarCode.pm,v $
< Revision 1.1 2009-03-18 13:51:24 mlenz
< Bug 994, changes for penske DR and move to updated OS/software
<
---
Show quoted text> $Log: BarCode.pm,v $