I recently discovered that the 'src' attribute of the @fontface directive supports the inline 'data:' syntax (like you can do with images etc.).<p>So you can basically do this:<p><pre><code> @fontface {
...
src: url("data:font/opentype;base64,<base64-encoded-otf/ttf-file>");
}
</code></pre>
Although this expands the payload size slightly, it does remove the need for another round trip to a server (so renders potentially faster), and also gives you full control over your embedded fonts.