ID: 36846 Updated by: [EMAIL PROTECTED] Reported By: matteo dot rinaudo at gmail dot com -Status: Open +Status: Bogus Bug Type: PDF related Operating System: Fedora 1-PHP compil.from sources PHP Version: 4.4.2 New Comment:
Please report bugs in PECL packages to PECL bug system. Thank you. Previous Comments: ------------------------------------------------------------------------ [2006-03-25 21:24:29] judas dot iscariote at gmail dot com this is extension is no longer part of official PHP since 4.3.9 you should report this bug here : http://pecl.php.net/bugs/report.php?package=pdflib make sure you have the latest version. ------------------------------------------------------------------------ [2006-03-24 16:38:29] matteo dot rinaudo at gmail dot com Description: ------------ We know that `pdf_setcolor()' currently accepts 7 parameters: bool pdf_setcolor ( resource p, string fstype, string colorspace, float c1, float c2, float c3, float c4 ) If I pass 'rgb' as colorspace (3rd parameter), the function asks for `float c4' (7th parameter) which is not needed. It seems that this bug reappeared *after* php-4.3.11. Reproduce code: --------------- pdf_setcolor($pdf, 'both', 'rgb', 0.7, 0.7, 0.7); Expected result: ---------------- The code above does not work. This code works: pdf_setcolor($pdf, 'both', 'rgb', 0.7, 0.7, 0.7, 0.7); ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36846&edit=1