ZF-10485: Zend Barcode code39 invalid

Issue Type: Bug Created: 2010-09-22T10:09:07.000+0000 Last Updated: 2013-02-01T14:39:59.000+0000 Status: Resolved Fix version(s): Reporter: Vincent Bouzeran (vincentb) Assignee: Mickael Perraud (mikaelkael) Tags: - Zend_Barcode

Related issues: Attachments:


At line 155 (in Code39.php) $barcodeTable[] = array(0 , 1);

this line causes invalid barcode generation. The width of line is not valid. If you drop the line, the generated barcode is correct.


Posted by Mickael Perraud (mikaelkael) on 2010-09-22T10:36:03.000+0000

I don't see the problem, this line add a 1px space (in case of image) between 2 encoded chars. In the worst case, I can understand that we have unnecessary white space before quiet.

Please, do you have a specific example? (you can add valid and invalid barcode image to this issue if you want)

Posted by Mickael Perraud (mikaelkael) on 2010-11-19T09:28:51.000+0000

After more reading, this is used to add a space between barcode element. Adding a extraspace at the end of the barcode have absolutely no impact on the rendering. That's why I close as "Cannot reproduce". Please provide more information if you want to reopen.

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.