Skip to content

Instantly share code, notes, and snippets.

@jakearchibald
Created December 21, 2012 17:29
Show Gist options
  • Save jakearchibald/4354269 to your computer and use it in GitHub Desktop.
Save jakearchibald/4354269 to your computer and use it in GitHub Desktop.
<style>
@font-face {
font-family: 'myfont';
src: url('font.woff');
unicode-range: U+61-7A; /* lowercase a-z */
}
p {
font-family: myfont, sans-serif;
}
</style>
<p>HI THERE</p>
<!-- font.woff should not download, but it does in WebKit, Firefox, Opera, IE10 -->
<!-- Pretty sure WebKit used to do the right thing, but regressed -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment