I would like the option of using different fonts and sizes. Can this be done with php?
How do you arc text using the gd library? Is it possible?
Moderator: General Moderators
-
bobinindia
- Forum Newbie
- Posts: 3
- Joined: Sat Mar 01, 2008 12:08 am
How do you arc text using the gd library? Is it possible?
I am trying to put text as an even semicircle onto another previously uploaded image.
I would like the option of using different fonts and sizes. Can this be done with php?
I would like the option of using different fonts and sizes. Can this be done with php?
Re: How do you arc text using the gd library? Is it possible?
Yes, it's possible, just not with the built-in functions. I've written some code to do this sort of thing before - http://www.phpgd.com/scripts.php?section=7 - there are a few scripts there that should point you in the right direction.
-
bobinindia
- Forum Newbie
- Posts: 3
- Joined: Sat Mar 01, 2008 12:08 am
Re: How do you arc text using the gd library? Is it possible?
Thanks onion2k.
That was exactly what i was looking for!

That was exactly what i was looking for!
-
bobinindia
- Forum Newbie
- Posts: 3
- Joined: Sat Mar 01, 2008 12:08 am
Re: How do you arc text using the gd library? Is it possible?
Hi onion2k,
How about a semi- circle?
Thanks again.
I have bookmarked your site.
How about a semi- circle?
Thanks again.
I have bookmarked your site.
Re: How do you arc text using the gd library? Is it possible?
You just need to modify the script that does circles. I'm not going to do that for you though.