If anyone wants to get this working with
xelatex without installing the font into your system, see section 4.2 By file name of the fontspec.pdf manual:
[Loading the font by file name] is also necessary in XeTeX when loading OpenType fonts that are present within your TEX distribution, such as
/usr/local/texlive/2013/texmf-dist/fonts/opentype/public. Fonts in such locations are visible to XeTeX but cannot be loaded by font name, only file name; LuaTEX does not have this restriction.
fontawesome.sty simply references the font by name:
% definition of \FA as a shortcut to load the Font Awesome font
We have to set the default
Path to locate the font, before loading
Path = /usr/local/texlive/2013/texmf-dist/fonts/opentype/public/fontawesome/ }
You may have to change
Path depending on where
fontawesome is installed. Assuming you're using TeX Live, you can find the relative path to the font file by running:
tlmgr info --list fontawesome
shortdesc: Font containing web-related icons.
longdesc: The package offers access to the large number of web-related icons provided by the included font. The package requires the package, fontspec, running under XeTeX or LuaTeX.
sizes: doc: 173k, run: 101k
cat-date: 2014-04-26 20:05:48 +0200
Included files, by type: