Bug #19390 [Opn]: UPC-A image is not quite right
| From: | ryanmclaughlin at gmail dot com | Date: | Fri, 20 Apr 2012 03:51:13 +0000 |
| Subject: | Bug #19390 [Opn]: UPC-A image is not quite right | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-8565@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: ryanmclaughlin@gmail.com
Reported By: ryanmclaughlin at gmail dot com
Summary: UPC-A image is not quite right
Status: Open
Type: Bug
Package: Image_Barcode2
Operating System: CentOS release 5.8
Package Version: 0.2.1
PHP Version: 5.2.17
Roadmap Versions:
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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