Skip to content

Instantly share code, notes, and snippets.

@aliang
Created March 11, 2011 11:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aliang/865767 to your computer and use it in GitHub Desktop.
Save aliang/865767 to your computer and use it in GitHub Desktop.
bulletproof font-face
/* replace filenames and other stuff as needed
* the main point is to have the four formats available
* see also fontsquirrel.com, this is where I got it
*/
@font-face {
font-family: 'ChunkFiveRegular';
src: url('Chunkfive-webfont.eot');
src: url('Chunkfive-webfont.eot?iefix') format('eot'),
url('Chunkfive-webfont.woff') format('woff'),
url('Chunkfive-webfont.ttf') format('truetype'),
url('Chunkfive-webfont.svg#webfont90E2uSjN') format('svg');
font-weight: normal;
font-style: normal;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment