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

AttachmentSize
barcode-622250-2.patch 576 bytes

#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

Status:active» needs review

#5

Status:needs review» fixed

Great!

#6

Status:fixed» reviewed & tested by the community

#7

Version:6.x-1.0-rc4» 6.x-2.x-dev
Status:reviewed & tested by the community» closed (fixed)

Fixed in the 2.0 branch.

nobody click here