Jump to content

installtion of font file on page loading


shane07

Recommended Posts

As far as i'm aware there's no way to do this with php, that's why in css you declare a "font-family" of more than one font, just in case other users don't have the first choice of font on their machine.

 

If you're only using the custom font for section headings then you could make images instead and upload them, but don't do that for body text otherwise search engines will be scuppered (nice word).

lol, sorry, probably not the best word to use. But you're thinking of skuttled, not scuppered.

 

But for good measure - to sink a search engine you need 5 cheerleaders, a high powered potato gun and two gallons of marmalade. I won't insult your intelligence by telling you how to use all of those items, that's obvious, we all know!

To bring it vaguely back on topic...

 

1) PHP won't allow you to install fonts on a user's machine as PHP runs server-side, not client-side

2) You fire the potato gun at the cheerleaders, then get them to rub marmalade into each other to soothe the bruising.

 

Avoiding the whole cheerleader thing....

 

Then how do the "Captcha" things work? They use a "non-system" font. (Seems like the one I set up, I actually uploaded the CaptchaFont.TFF file to the web folder??)

 

I've got a site where I have a script running that shows various international times: http://www.martiniinthemorning.com/martinitime.php

 

I've wanted to use a more "digital" font (which I have, but know you may not). So how can I use MY font on that page?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.