FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Using fonts from external server?

 


Helios
My friend has a blogger weblog, and he wants to use a different font for the text.
Can he somehow use a font which is hosted on an external server?
(He can't host it on blogger's server, obviously).
mathiaus
I thought the visitors needed to have the font on their computer?
badai
is there any work around if the font is not installed on user's PC? like automatic download?
mathiaus
Well in your CSS you should be specifying more than one font, so when the first isn't available, the second is used etc.
I'll never suggest automatic download, even then they need to move it to their fonts folder (Windows, don't know how linux/mac works). On your splash page or somewhere else, just say that it looks best using this particular font and provide a link to download and one on how to install it.

Or you could just put everything into an image Razz (Just joking, DON'T DO THIS!!)
badai
there is one adobe application that is supposed to be a web page editor, but what it do actually is producing html that contain freaking big slice images. so your joke is not really a joke, somebody really do that out there -- put everything into images.

btw, the reason i ask because a few years ago i remember there is a way to "download" fonts temporarily into computer, i just can't remember it now.
DanielXP
i think i have seen this before.

On some script i have download before thet had a font directory. So if the user does not have the font it uses the one on their webserver.

Don't know how though!
badai
i manage to find it

http://www.w3.org/TR/WD-font-970721

use

Code:
@font-face {
           font-family: "font name"
           src: url(http://site/path_to_font/font_name)
         }
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.