Issue Type: Bug Created: 2010-06-08T10:35:41.000+0000 Last Updated: 2010-06-11T09:29:46.000+0000 Status: Resolved Fix version(s): - 1.10.6 (22/Jun/10)
Reporter: Mikhail Verkhovski (miscellone) Assignee: Mickael Perraud (mikaelkael) Tags: - Zend_Barcode
Related issues: Attachments:
Zend/Barcode/Renderer/Pdf.php Rows 151,155 and 188,192 Change from: $color = new Zend_Pdf_Color_RGB( ($color & 0xFF0000) >> 16, ($color & 0x00FF00) >> 8, $color & 0x0000FF ); to: $color = new Zend_Pdf_Color_RGB( (($color & 0xFF0000) >> 16) / 256.0, (($color & 0x00FF00) >> 8) / 256.0, ($color & 0x0000FF) / 256.0 );
Posted by Mickael Perraud (mikaelkael) on 2010-06-11T05:52:08.000+0000
Will do it soonly, but with:
<pre class="highlight">
$color = new Zend_Pdf_Color_RGB(
(($color & 0xFF0000) >> 16) / 255.0,
(($color & 0x00FF00) >> 8) / 255.0,
($color & 0x0000FF) / 255.0
);
Thanks for the report
Posted by Mickael Perraud (mikaelkael) on 2010-06-11T09:29:43.000+0000
Fixed in r22418 & applied on 1.10 branch with r22419