ID:               36846
 Comment by:       judas dot iscariote at gmail dot com
 Reported By:      matteo dot rinaudo at gmail dot com
 Status:           Open
 Bug Type:         PDF related
 Operating System: Fedora 1-PHP compil.from sources
 PHP Version:      4.4.2
 New Comment:

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.


Previous Comments:
------------------------------------------------------------------------

[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

Reply via email to