Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.3.3

Request #1767 Re-add _text_color functions
Submitted: 2004-07-01 18:43 UTC
From: abdul at solary dot net Assigned: mdjukic
Status: Closed Package: File_PDF
PHP Version: 4.3.7 OS: Linux
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 41 - 26 = ?

 
 [2004-07-01 18:43 UTC] abdul at solary dot net
Description: ------------ I'm using File_PDF-0.0.1 and the _text_color functions have been removed from original fpdf. See example code. The fill color of the box is different from the color of the text. Actually I copied the original TextColor code from fpdf in my local copy, but I don't see why this functionality has been removed. Thank you. Reproduce code: --------------- $pdf->SetTextColor('rgb', 50,0,0); $pdf->SetFillColor('rgb', 0,0,50); $pdf->SetXY(1,5); $pdf->Cell(1.2,.5,"TEXT",1,0,'C',1); Expected result: ---------------- It can't be done as of the package version used. Actual result: -------------- I would like to make the fill of the box and the text different colors.

Comments

 [2006-08-28 17:34 UTC] yunosh (Jan Schneider)
This bug has been fixed in CVS. 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.