Home » File Formats » File_PDF » Bug #1767
Re-add _text_color functions
Details
| 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) |
Comments
[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.