Page 1 of 1

GD Library Problem

Posted: Sat Apr 28, 2007 5:56 am
by vilvendhan
Using GD library how to make the text as bold,italics, underline.
I have used imagettftext ( resource $image, float $size, float $angle, int $x, int $y, int $color, string $fontfile, string $text ) this function for write text to the image. I could not make bold.

Please any one help me.

Posted: Sat Apr 28, 2007 6:13 am
by onion2k
You need to use a bold version of the font you're using.

GD Library Problem

Posted: Sat Apr 28, 2007 6:30 am
by vilvendhan
Thanks for your help.

I used bold version of font. It is working now. Same as Italics.

Underline only problem.