11 posts

Web fonts with CSS @font-face

Jan 24, 2011 at 05:05

The "How to use for a web site?" FAQ is very outdated. It says CSS @font-face is supported "only under IE", which was true a few years ago, but today it's now supported under every major browser. Are there any plans to work with @font-face on Specifically, including CSS with @font-face rules for each format, and a JSON or XML API would be useful.

Jan 24, 2011 at 22:09

Nowdays @font-face works with all common browsers - provided you use the correct coding. I do not understand what you mean with "Are there any plans to work with @font-face on". Why would dafont do so? What would it add?

Jan 25, 2011 at 03:41

Here are some concrete steps I'd like to see take regarding @font-face:

1) Update the FAQ to stop encouraging fonts in images as the best way to use fonts on the web. That is simply bad advice.

2) Include CSS with each font, either submitted by the author, or preferably auto-generated from the uploaded font files.

3) Provider a web API (preferably JSON) for getting information on fonts, including name, weight, style, and download URL.

This isn't a new idea. Am I really the first person to make this suggestion? All of these sites already do this:

Jan 25, 2011 at 11:02

As you can see in the provided links above, this use of a typeface requires specific licence for web usage. They are mostly not free except the google webfonts that use specific fonts where the license let us use it for web usage. The fontsquirrel @fontface generator is, i think, almost illegal as you can upload your own fonts to generate the @fontface kit, which doesn't mean you acquired the license for web usage.
So it CAN'T be auto-generated, this is case by case.
Why the hell do you want an API for ? I mean what would you do with that ?
The FAQ is outdated, i agree and the chapter on the @fontface should be updated but using images (manually or dynamically generated) is still the most common and easy way to do for the average user.

Anyway, you're talking about stuffs 95% of the visitors of dafont doesn't even heard a single time. It's mostly home use (see the number of topics that contain the word "photofiltre" ) or professional print use. You already know what you're talking about, every web professional will know and doesn't need dafont for this.

I might be wrong, but this is not the public target of dafont.

Edited on Jan 25, 2011 at 15:11 by vinz

Jan 25, 2011 at 14:33

Licensing is a concern, but it's a concern every other web font provider has dealt with, and could easily deal with. Every font on has a license attached, one of which is public domain, which certainly permits website use.

I would use an API for the same reasons many people use those other web font APIs. Again, this isn't a new idea.

I really didn't expect such an antagonistic response here. I'll take that as a "no" and move on.

Jan 25, 2011 at 14:46

I'm not a dafont administrator, i'm not anwsering for them.
I still don't get your API shit, but you're better than everyone so don't bother explaining.
I'm just giving you my point of view, i think the @fontface shit doesn't hit the big target on this website.
So take it as you wish and go wherever you want... I don't care !

Jan 26, 2011 at 12:09

scottr is right, downloading a CSS file is now common with fonts.
but i'm not really sure that the other font providers even thought about sending an email to ask the authors about the license problem.

but vinz is also right when he says most dafont visitors don't know what it's about, as a lot of people don't even know how to install a font.

Jan 26, 2011 at 13:49

Quite a lot even don't know what a font is ...

Apr 18, 2011 at 15:37

Actually font squirrel doesn't allow you to create webkits that are illegal. On a personal note, I find it pretty annoying that Adobe supplies fonts with their programs, but when you do a Photoshop mockup you can't even use the same fonts that Adobe provided you with, because font-squirrel won't convert them for web usage...

Apr 18, 2011 at 17:33

it is all in the settings ...

May 25, 2011 at 06:32

Cufon is also good to use.

All times are CET. The time is now 12:21

Privacy Policy  -  Contact