It's surprisingly not difficult.
I got the woff files, base64'd them, and then threw the output into several CSS files.
Words of warning, If you use Content Security policy, you must allow Unsafe Inline for the style-src directive.
I got the woff files, base64'd them, and then threw the output into several CSS files.
Words of warning, If you use Content Security policy, you must allow Unsafe Inline for the style-src directive.
Also, I hooked up support for data: URLs so you can use your stylesheet as a source for fonts (if someone was interested in extracting the .woff files back to individual files, for instance):
webfont-dl -d "https://github.com/steakejjs/OpenSans-CSS/raw/master/OpenSans.css" \
-o css/font.css --font-out=font --css-rel=../font --woff=link