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).

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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.

 

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.