XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).
Moderator: General Moderators
Parody
Forum Contributor
Posts: 252 Joined: Fri May 06, 2005 7:06 pm
Location: Great Britain
Post
by Parody » Sun Jun 12, 2005 1:46 pm
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
hawleyjr
BeerMod
Posts: 2170 Joined: Tue Jan 13, 2004 4:58 pm
Location: Jax FL & Spokane WA USA
Post
by hawleyjr » Sun Jun 12, 2005 2:37 pm
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.
Parody
Forum Contributor
Posts: 252 Joined: Fri May 06, 2005 7:06 pm
Location: Great Britain
Post
by Parody » Sun Jun 12, 2005 2:38 pm
Ok
Ambush Commander
DevNet Master
Posts: 3698 Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US
Post
by Ambush Commander » Sun Jun 12, 2005 5:07 pm
There is, supposedly, technology that lets browsers download fonts automatically, but there's a lot of rough edges on the implementation. Wait a bit.
n00b Saibot
DevNet Resident
Posts: 1452 Joined: Fri Dec 24, 2004 2:59 am
Location: Lucknow, UP, India
Contact:
Post
by n00b Saibot » Mon Jun 13, 2005 7:01 am
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.
Syranide
Forum Contributor
Posts: 281 Joined: Fri May 20, 2005 3:16 pm
Location: Sweden
Post
by Syranide » Mon Jun 13, 2005 8:13 am
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.
vigge89
Forum Regular
Posts: 875 Joined: Wed Jul 30, 2003 3:29 am
Location: Sweden
Post
by vigge89 » Mon Jun 13, 2005 9:13 am
Code: Select all
@font-face {
font-family: "e;Some Font"e;;
src: url("e;http://site/fonts/some-font"e;)
}
Only works in IE as far as I know though.
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098 Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia
Post
by Chris Corbyn » Mon Jun 13, 2005 9:17 am
vigge89 wrote: Code: Select all
@font-face {
font-family: "e;Some Font"e;;
src: url("e;http://site/fonts/some-font"e;)
}
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?
Syranide
Forum Contributor
Posts: 281 Joined: Fri May 20, 2005 3:16 pm
Location: Sweden
Post
by Syranide » Tue Jun 14, 2005 10:24 am
you specify name and url to the font.
(TTF or whatever format you like that is supported)