what is the function of "src: local( "...")"?If src:local points to an installed font in the USER's system.. why would it need to even be listed..isnt it already part of the normal CSS font stack?

Also:In the above code, from what I have read, the first src:url(...) serves an otf font to IE browsers, the URLs in the second scr:s are ignored by IE serve font to all other browsers.But why the different formats??Once you have served a non IE browser a TTFont what is the use of also providing it with an SVG?

thanks again for sharing your wisdom==:)

felgall
—
2010-10-01T21:34:32Z —
#2

dresden_phoenix said:

Um Ok. I get that part. I am just curious if other browsers (other than IE) can understand:src: url( "AndaleMono.eot" );thus causing browsers other than IE to make multiple server requests/downloads for fonts they cant use...

No. EOT is a proprietary Microsoft format.

dresden_phoenix
—
2010-10-01T19:59:49Z —
#3

Um Ok. I get that part. I am just curious if other browsers (other than IE) can understand:src: url( "AndaleMono.eot" );thus causing browsers other than IE to make multiple server requests/downloads for fonts they cant use...

RyanReese
—
2010-09-30T03:14:20Z —
#4

Some don't support all types of fonts, aka only IE supports .EOT files, while others such as FF support a different type

dresden_phoenix
—
2010-09-30T02:30:49Z —
#5

Thanks Paul. I read those articles. What they dont answer for me is WHY?

We server the EOT fonts first for IE, So IE doesnt make the server calls for the other unusable versions, but then doesn't that mean that browsers like Firefox, for example, are calling EOT font versions as well? In another words are we making allowances for IE performance while forgoing the effiency of other user agents?

felgall
—
2010-09-29T06:57:19Z —
#6

dresden_phoenix said:

what is the function of "src: local

to look first for the font on your visitor's own computer and if it is there to not bother downloading any of the following versions.

dresden_phoenix said:

But why the different formats??

woff is actually the standard format for embedded fonts but few browsers support it yet.ttf is supported by most browsers apart from IE, iPhone, and iPadsvg is necessary to support iPhone and iPad

felgall
—
2010-09-30T07:09:28Z —
#7

dresden_phoenix said:

We server the EOT fonts first for IE, So IE doesnt make the server calls for the other unusable versions, but then doesn't that mean that browsers like Firefox, for example, are calling EOT font versions as well? In another words are we making allowances for IE performance while forgoing the effiency of other user agents?

The last reference is the one closest to the content and so takes priority. By placing the EOT reference first it ensures that browsers that understand the second command will ignore the first one.

IE doesn't understand the local reference in the second command and so is theonly browser that has to read past that command back to the first one that references the EOT file.

CSS files are always processed from the bottom up because the last reference in the file where there are overlaps will be the one to be used.

PaulOB
—
2010-09-29T07:57:08Z —
#8

I think Paul Irish's article explains all these points in some detail.