Bug #19390 [Opn->Csd]: UPC-A image is not quite right
| From: | wapinet at mail dot ru | Date: | Fri, 20 Apr 2012 07:12:04 +0000 |
| Subject: | Bug #19390 [Opn->Csd]: UPC-A image is not quite right | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-8568@lists.php.net to get a copy of this message | ||
Edit report at https://pear.php.net/bugs/bug.php?id=19390&edit=1
ID: 19390
Updated by: wapinet@mail.ru
Reported By: ryanmclaughlin at gmail dot com
Summary: UPC-A image is not quite right
-Status: Open
+Status: Closed
Type: Bug
Package: Image_Barcode2
Operating System: CentOS release 5.8
Package Version: 0.2.1
PHP Version: 5.2.17
-Assigned To:
+Assigned To: gemorroj
Roadmap Versions:
New Comment:
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: gemorroj
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.
thanks!
fixed in git https://github.com/pear/Image_Barcode2
Previous Comments:
------------------------------------------------------------------------
[2012-04-20 04:51:13] ryanmc
Ok this is failry easy to fix I just had to change several references of
$this-
>getBarcodeHeight() to $barcodelongheight
I tried to submit my new file, but it would not let me, so I will just
tell you he line
numbers that I changed
266
278
322
339
352
------------------------------------------------------------------------
[2012-04-20 04:26:29] ryanmc
nevermind the last bit, it was not scanning because the barcode was
invalid, I had to
change the last digit to 8 for it to be valid.
------------------------------------------------------------------------
[2012-04-20 04:21:18] ryanmc
I just tried scanning all the barcodes with an app on my phone and all
of them
scanned quickly except the UPC-A barcode.
------------------------------------------------------------------------
[2012-04-20 04:07:20] ryanmc
Description:
------------
When using the test script that comes with the package I noticed
that the image generated for the UPC-A barcode is not quite
correct. There should be 3 sets of longer bars, on on the left, one
in the middle, and one on the right. however the test script only
generates longer bars on the left.
Test script:
---------------
I am using the test script that comes with the package.
Expected result:
----------------
3 sets of longer bars, on on the left, one in the middle, and one
on the right
Actual result:
--------------
test script only generates longer bars on the left
------------------------------------------------------------------------
--
Edit this bug report at https://pear.php.net/bugs/bug.php?id=19390&edit=1