Edit report at https://pear.php.net/bugs/bug.php?id=18376&edit=1
ID: 18376
Updated by: [email protected]
Reported By: tobi at coldtobi dot de
Summary: EAN13 code does not correctly calculate image width
-Status: Open
+Status: Closed
Type: Bug
Package: Image_Barcode
Package Version: 1.1.1
PHP Version: 5.3.1
-Assigned To:
+Assigned To: doconnor
Roadmap Versions:
New Comment:
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: doconnor
This bug has been fixed in SVN.
If this was a documentation problem, the fix will appear on pear.php.net
by the end of next Sunday (CET).
If this was a problem with the pear.php.net website, the change should
be live shortly.
Otherwise, the fix will appear in the package's next release.
Thank you for the report and for helping us make PEAR better.
Previous Comments:
------------------------------------------------------------------------
[2011-03-18 21:35:23] coldtobi
Added #patch bug:18376;patch:ean13-barwidth;revision:1300484123;.
------------------------------------------------------------------------
[2011-03-18 21:34:29] coldtobi
Description:
------------
... when using the feature to change the barcode image size, this bugs
triggers. (see feature request http://pear.php.net/bugs/18369)
The problem is that the EAN13 code does not use barwidth for the
left-bars, center bars and right bars. So when increasing barwidth, the
image "gets cut off".
The attached patch fixes this.
------------------------------------------------------------------------