In my case I used only 4 icons from http://fortawesome.github.io/Font-Awesome/ so it's not efficient to include the whole bunch of fortawesome files
-
At http://fontello.com/ selects required icons and export them.
-
Encode required font file (.eot .svg .woff .ttf) into base64
Linux example