User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 361,619 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,169 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 315 | Replies: 2 | Solved
Reply
Join Date: Jun 2007
Posts: 51
Reputation: naju is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 2
naju's Avatar
naju naju is offline Offline
Junior Poster in Training

Help howto: embed text with different fonts to an image

  #1  
Mar 16th, 2008
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
Hunters Never Hurt
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Aug 2005
Location: Cologne, Germany
Posts: 92
Reputation: sDJh is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 8
sDJh sDJh is offline Offline
Junior Poster in Training

Re: howto: embed text with different fonts to an image

  #2  
Mar 17th, 2008
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.
Reply With Quote  
Join Date: Jun 2007
Posts: 51
Reputation: naju is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 2
naju's Avatar
naju naju is offline Offline
Junior Poster in Training

Re: howto: embed text with different fonts to an image

  #3  
Mar 17th, 2008
Yes .... thanks for that information ..
i got it....

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

thank you once again
Hunters Never Hurt
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb PHP Marketplace
Thread Tools Display Modes

Other Threads in the PHP Forum

All times are GMT -4. The time now is 6:22 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC