Log in

View Full Version : Full list of internet compatible fonts



lord_havoc
07-08-2007, 09:45 AM
Where can I find one?

Twey
07-08-2007, 11:12 AM
There's no such thing.

djr33
07-08-2007, 12:17 PM
There are no particular compatible fonts. Any font on a users computer (assuming it's properly installed) is available in the browser, to display text set to that font. But the issue is that fonts differ for different users.
There are some standard fonts that you should consider using, such as courier, arial and times, but those are kinda boring at times.

The way to use custom fonts is to set it as:
specific font; font-family; type [sans/serif];

that will get you as close as possible, within the system.

At a minimum, you'll at least have chosen sans-serif or serif.

techno_race
07-08-2007, 06:17 PM
http://www.mikeindustries.com/sifr/

Twey
07-08-2007, 06:55 PM
Worse than useless -- the costs involved in using something like sIFR far outweigh the benefits.

jscheuer1
07-08-2007, 08:44 PM
serif

sans-serif

monospace (I'm not sure if this one's "safe", but is safer than a specific monospace font)


That's it! That's the whole list of "safe" fonts. You can use others, but always have one or more of these as a fall back, ex:


font-family:Courier New, monospace, serif;

mwinter
07-08-2007, 08:47 PM
monospace (I'm not sure if this one's "safe", but is safer than a specific monospace font)

Why do you doubt its compatibility?

jscheuer1
07-08-2007, 09:00 PM
Why do you doubt its compatibility?

I just wasn't sure, that's all. I take it you know for a fact that it is. That's good enough for me. I was thinking, perhaps in older browsers . . . but if you go back far enough, even assigning font via style isn't 'safe' except insofar-as it degrades gracefully if coded properly.

In any case, it is a short list. All the rest definitely require that the user have them installed. Now, if you wanted a list of the commonly installed fonts, that could probably be found, but the accuracy would be suspect and subject to change. However, good general guidelines as to what is OK to use could be made up and used with confidence, as long as one of the three 'safe' fonts I already listed is used as a fall back.

mwinter
07-08-2007, 09:10 PM
I just wasn't sure, that's all. I take it you know for a fact that it is.

I wouldn't go so far as "know for a fact", but I know of no problems and it was, as far as I'm aware, introduced at the same time as serif and sans-serif.

lord_havoc
07-09-2007, 12:05 AM
I didn't know it was that simple... well... as far what fonts can be used. I thought there were only a few certain fonts that a browser would display otherwise would go to default. But thank you! That helps quite a bit.

djr33
07-09-2007, 05:02 AM
Any font is valid, if the user has it. If not, it goes to the next on the list, etc., until finally the system default if there are no matches.