Page 1 of 1

Fonts

Posted: Sun Jun 12, 2005 1:46 pm
by Parody
I am using a CSS stylesheet for my site and was wondering if I can create a font to use on my site?

So have a file on the site with the font in that I can use throughout :?:

Posted: Sun Jun 12, 2005 2:37 pm
by hawleyjr
Fonts are installed on the user's computer. If the user doesn't alreay have the font installed they will have to download it and install it on their machine before they can see it on your site.

Posted: Sun Jun 12, 2005 2:38 pm
by Parody
Ok :(

Posted: Sun Jun 12, 2005 5:07 pm
by Ambush Commander
There is, supposedly, technology that lets browsers download fonts automatically, but there's a lot of rough edges on the implementation. Wait a bit.

Posted: Mon Jun 13, 2005 7:01 am
by n00b Saibot
I too have heard about it but jus can't remember the details... I think there are some tags/directives placed in the css/html that tell the browser to download the font from a specified location if it doesn't find it.

Posted: Mon Jun 13, 2005 8:13 am
by Syranide
there is and I know it is something with an @ at the beginning in the CSS.
however as the other pointed out, shouldn't be done as you are depending on something unreliable, if you are using this font for the entire page, rethink perhaps, if you are using it for headers, make images.

Posted: Mon Jun 13, 2005 9:13 am
by vigge89

Code: Select all

@font-face {
    font-family: &quote;Some Font&quote;;
    src: url(&quote;http://site/fonts/some-font&quote;)
}
Only works in IE as far as I know though.

Posted: Mon Jun 13, 2005 9:17 am
by Chris Corbyn
vigge89 wrote:

Code: Select all

@font-face {
    font-family: &quote;Some Font&quote;;
    src: url(&quote;http://site/fonts/some-font&quote;)
}
Only works in IE as far as I know though.
Genius.... I must make a note of this. It's certainly nt something I have come across before. You just specify a standard TTF file with that?

Posted: Tue Jun 14, 2005 10:24 am
by Syranide
you specify name and url to the font.
(TTF or whatever format you like that is supported) ;)