Web Hosting Talk







View Full Version : Font preview script


Honza
11-25-2008, 09:11 AM
Font preview script

Hello,
please help, I'm looking for Font preview script...
I have a database full of fonts, some of them are mine and I would like people first:
A,
To see it on the site (Important is they would see it even if they haven't got it on their computers!)
B,
To change the text (so they could test it with their text)
Good example could be dafont (.) com
Thank you for your suggestions!
Regards..

JayShah
11-25-2008, 03:02 PM
You'll need to use GD. This kind of function: http://uk.php.net/manual/en/function.imagettftext.php
Jay





__________________▌Jay Shah
▌MyCoHost - User Mode Linux VPS - No OpenVZ = No Overselling ▌Value For Money Semi-Managed VPS's with cPanel/WHM, Fantastico, WHM Master Resellers

Honza
11-25-2008, 03:14 PM
Thanks

Thanks, will have a look
Still, if anybody knows anything... keep posting please!

azizny
11-25-2008, 09:14 PM
I'll post a script for you I did once sometime later on this week.
Peace,





__________________NEW: What Is Their IP - Anyone's IP a click away.
URL Tracker, Shortener, Blocker, Unblocker, Whois and More.

Honza
11-26-2008, 08:07 AM
Oh,
That would be very kind Azizny!
Thank you! Looking forward

azizny
11-26-2008, 08:40 AM
Here:http://www.awesomephp.com/?Font-PreViewer
Peace,





__________________NEW: What Is Their IP - Anyone's IP a click away.
URL Tracker, Shortener, Blocker, Unblocker, Whois and More.

nameslot
11-28-2008, 05:59 AM
You will need all fonts in some folder accessible by PHP.
Then you can just create dynamic images and write whatever you want with PHP in those images.





__________________Nameslot.com ~ Web Hosting Directory