/    Sign up×
Community /Pin to ProfileBookmark

PHP web site needs font viewer

I have built a site using joomla and need some sort of module or component to do the following:

I need a page with a pulldown menu of various fonts. When you enter text into this box, and select one of the available fonts from the menu, it will create the text in that font.

Anyone have any ideas? Is this something I can do in PHP or is it more like javascript?

Ideas please.

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@stephan_gerlachMay 02.2008 — You can do this with php.

Create a directory on your server and copy the fonts in there.

Create a php script which will create an image with that font.

look here to get started.

http://uk3.php.net/gd

http://uk3.php.net/manual/en/function.imagefttext.php
Copy linkTweet thisAlerts:
@gordonhydeauthorMay 02.2008 — Thanks a million Stephan.

I'll start on your links right away.
×

Success!

Help @gordonhyde spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.6,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...