i need to embed text with different fonts to an image

it will be cool if i could use the .ttf font files for writing text

Thanks in Advance

9 Years
Discussion Span
Last Post by naju

you can realize that with the GD-Lib (look for it at php.net). With that you can create images and write with custom fonts on it. I'm not sure if ttf is supported, but there are a lot of fonts that are. You can look for one that is very similar to the ones you prefer in ttf.

Hope that helps.

And make sure your server supports it as well (with a simple sample-script). Shouldn't be a problem normally, but it's not worth scripting the hole stuff and finding out that it doesn't work on the server afterwards.


Yes .... thanks for that information ..
i got it....

i have my own server ..n... it work very well

thank you once again

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.