Link - Technology
I've come to really love CSS in the last couple years. I've looked at it and played with it enough that there's not much that I'm not aware of, if not skilled with. Something that took me surprise though, was Mozilla's announcement that Firefox 3.1 would support the @font-face css rule, which I'd never heard of.
Basically, @font-face is a tool that says "I want this font to be available, and here's where to download it", like this:
@font-face {
font-family: "Bitstream Vera Serif Bold";
src: url("http://developer.mozilla.org/@api/deki/file/2934/=VeraSeBd.ttf");
}
The web requires that a given font reside on the end user's machine, which means if you declare font-family: My_cool_Font; and they don't have it, too bad. @font-face enables the browser to go find My_cool_Font on the internet, download it, and use it instantly.
I remember when Netscape 4 came out with some built-in font downloading stuff. It was terribly exciting, immediately followed by terribly disappointing. It was awful. I had no idea anyone was even thinking about this anymore, and now suddenly there it is! How fun.
Comments: (3)