Created
May 10, 2011 15:11
-
-
Save tofumatt/964653 to your computer and use it in GitHub Desktop.
Inline font-face
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@font-face { | |
font-family: "Obviously Arial"; | |
src: url("data:font/opentype;base64,[base64-encoded font data as a string]"); | |
} | |
body { | |
font-family: "Obviously Arial", Helevetica, "Marker Felt", sans-serif; | |
} | |
/** | |
Have a good fallback; this likely won't work. | |
Oh and it'll increase the size of the email by a LOT (however big the font is) | |
**/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment