-
Ethan Dunham
-
Wynn
-
Ethan Dunham
Hey there, I'm Wynn!
I'm a front-end designer & developer, CSS & JavaScript framework fanboy Razorback living in Texas.
Featured
-
Recently
Archives
Links
The Changelog – Open Source moves fast. Keep up.- cartagen - Client side framework for creating vector maps in HTML5
- NoRM - Bringing MongoDB to .NET, LINQ, and Mono
- Episode 0.1.6 - Ajax.org frameworks with Ruben Daniels and Rik Arends
- Git clone some nostalgia - NCSA Mosiac
- Ghost means never having to touch /etc/hosts again
- Prism - command line and Ruby library parser for Microformats
- Pull! Skeet - Twitter Extension for Google Chrome
- QR - Easy Redis queues with Python
- Faye - dirt simple pub/sub for Rack and Node.js
- FOWA 2010: David Recordon on Facebook Open Source Projects






@font-face made easy with Font Squirrel
When designing the new Orrka site, I wanted more punch in my typography. Let’s face it, web typography is boring. It’s 2009 and as and industry I think we web designers have gotten our money’s worth out of Helvetica and its ilk.
Sure, alternatives abound such as sIFR, Cufón, and good old image replacement, but what we really want is simple, standards-based, and legal typography choices. We want every machine on the Internet to have every font from MyFonts installed so we could just use
font-familyand call it a day. Well maybe that’s extreme. We want every machine on the Internet to have the fonts we want to use installed.@font-face to the rescue
@font-face has been around since CSS2 and has even been supported in Internet Explorer since Version 5. However, Microsoft chose to implement a proprietary font format (.eot) so @font-face has seen limited adoption. Until now. Recently WebKit and Firefox introduced support for @font-face using the OpenType format (.otf). So now between .eot and .otf, we can deliver some nifty new typography to our users. The problem lies in converting your TrueType fonts (.ttf) to these new formats. Jonathan Snook recently had a great article on how to do just that. The process isn’t painful but it’s not quick either. Further, a lot of us will be repeating the same process for the most popular fonts out there. That’s where Font Squirrel comes in.
Just a Font Squirrel looking for a nut
Font Squirrel is like many font sites you already use — except these fonts are 100% free for commercial use and many have licenses that allow embedding on the web.
@font-face kits — the killer feature
Find a font you like, simply preview the @font-face demo and then download an archive containing
Use @font-face to expand your typography choices
To use a font downloaded from Font Squirrel, copy the font files to location on your server. Next, add bulletproof @font-face syntax to your stylesheet:
@font-face { font-family: 'League Gothic Regular'; src: url('League_Gothic.eot'); src: local('League Gothic Regular'), local('LeagueGothic-Regular'), url('League_Gothic.otf') format('opentype'); }That’s it! Now you can use your shiny new font just like any other:
h1 { font-family: 'League Gothic Regular', Helvetica, Arial, sans-serif; }So get over to Font Squirrel and store up some cool fonts for the winter!
Related posts: