Page 1 of 1

Fonts

Posted: Tue Jun 29, 2004 5:22 am
by sweeney
Is there a way to show an uninstalled font on a webpage? Maybe link to the font file with a CSS script or something?

Posted: Wed Jun 30, 2004 3:14 am
by Plasma2002b
good old fashioned GD! :)


basically, what you do is have your script (usually php) load the gd runtimes (must be installed on server) and make an image (jpg or png) and then send that image to the user's web browser.

The image made would be whatever you want with simply the text layed over it.... and you tell gd what font you want to use to make the text.


theres sooo much info about this stuff, but ill jsut stop here... cause maybe ya already know what im talkin about

Posted: Fri Jul 02, 2004 10:04 pm
by sweeney
I don't know much about it. I've seen it in action, though, on a few sites. I'll google for it, if anyone's interested, I'll post some results here.

Posted: Mon Jul 05, 2004 3:42 pm
by Michael
You can do it with CSS:

Code: Select all

<style>
@font-face {font-family: Times; src:url(Times.eot)}
</style>
(Just replace "Times" with the name of your font.)

However, this way of doing it is a bit finicky. It doesn't work in all browsers on all platforms, and the file must be in .eot format (you'll have to use a conversion program to convert it).

Posted: Tue Jul 06, 2004 5:48 am
by Plasma2002b
hmm.... well i just learned something new :)

Posted: Tue Jul 06, 2004 6:53 am
by Anthony
A stupid GD script in action (my sig)

Posted: Tue Jul 06, 2004 6:47 pm
by Plasma2002b
which i still dont understand y you waste processor power on, since its always static........ :-?

Posted: Tue Jul 06, 2004 10:30 pm
by Anthony
No it isn't...

"Microsoft has $56 billion in stockpiled"
"PhaseDMA.com"
"Avril Lavigne's 2nd CD debuted at #1"

Anyways - I think the server can spare a few cycles.

Posted: Wed Jul 07, 2004 2:07 am
by Plasma2002b
oh...... now i see it.



bah..... how............. boring

Posted: Wed Jul 07, 2004 10:24 am
by Robpol86
my lame fah pic i had in my sig had a better use.....