|
Posted by Norbert Wenzel on 11/07/05 11:03
David wrote:
> Can we use some function with GD to make text italic, bold and/or
> underline?
>
> http://php.net/imagettftext
>
> I see we can change size and font, but not style
>
> it's not possible in PHP?
>
> Thanks in advance
> David
I'm not familiar with GD, but as every good font has different versions
for bold, italic and so on, you might use those versions with separate
font files.
And since underlining is just a simple line (don't know how this works
in GD, I've done this in FPDF) I would just draw a line from the
beginning of the word to the end ... if it is possible in GD to get the
current "cursor" position before and after inserting text.
Navigation:
[Reply to this message]
|