Hello!
How can I generate a transparent PNG with white text and a custom font without using Flash please?
I want to be able to let people add items to the menu and these are written with a special font, not websafe, and PNG files.
Thank you!
Generate transparent PNG with Text
Moderator: General Moderators
-
M*A*S*H 4077
- Forum Newbie
- Posts: 3
- Joined: Mon Mar 15, 2010 11:37 am
Re: Generate transparent PNG with Text
You can do it by using GD Library or a similar solution. You could also consider using a solution like Cufon for using a non-web-safe font without generating images. I never used Cufon but I think it doesn't use Flash. The most popular solution of this kind is sIFR which uses Flash.
-
M*A*S*H 4077
- Forum Newbie
- Posts: 3
- Joined: Mon Mar 15, 2010 11:37 am
Re: Generate transparent PNG with Text
Thanks for your reply! Good advice.
I knew about GD2 though, my question was badly formulated, what I meant was how can I do that in GD2.
I am as far as generating a png and having text in it. What I need is how to implement a custom font for that.
I knew about GD2 though, my question was badly formulated, what I meant was how can I do that in GD2.
I am as far as generating a png and having text in it. What I need is how to implement a custom font for that.
-
M*A*S*H 4077
- Forum Newbie
- Posts: 3
- Joined: Mon Mar 15, 2010 11:37 am
Re: Generate transparent PNG with Text
Thank you!