Posted by Silicon.Valet on November 3, 2009 at 6:32pm
| Project: | Barcode |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
When attempting to generate CODE-39 barcode, I get an error on the A character. My barcode reader and a site generator agree that the A is incorrect.
CCP-1BA42B91
scans as
CCP-1B942B91
ABC-AABBCC
scans as
9BC-99BBCC
The A consistently seems to be encoded as a 9. I have no means of verifying that this is module or font specific. I am using arialbd.ttf (should I attach it in response?)
Comments
#1
Yes, I verified this problem. Shouldn't have anything to do with your font file.
Must be a bug in the library the module uses to generate barcodes. No other characters have this problem... just 'A'.
I'll look into it a bit.
#2
Here's a patch to the CVS HEAD branch
#3
BTW, it looks like there might be other errors:
http://www.phpclasses.org/discuss/package/2441/
Not sure how well this php class is maintained and I know skyredwang is considering switching.
#4
#5
Great!
#6
#7
Fixed in the 2.0 branch.