I'm trying to compile a motivation letter, for which I used the awesome LaTex template. I've just opened the .tex file and compiled it: no way, it doesn't compile, I get the following error:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
./fontawesome.sty:12: fontspec error: "font-not-found"
!
! The font "FontAwesome" cannot be found.
!
! See the fontspec documentation for further information.
!
! For immediate help type H <return>.
!...............................................
l.12 \newfontfamily{\FA}{FontAwesome}
Well, if you download the template you'll see it's full of files and so on, so I tried to simplify: I got that the problem was with these icons, so I went to this basic page talking about this, and I copy-pasted the following code:
\documentclass[border=0.1cm]{standalone}
\usepackage{fontawesome5}
\begin{document}
This is an example of an open folder
with a \verb|regular| style: \faIcon[regular]{folder-open}
\end{document}
and (always using XeLaTex) I got the same error. I'm using a 2021 Mac, with latest version of TexShop and 2021 Tex Live.
fontawesomepackage, not fromfontawesome5) Forfontawesomethis is a known issue in XeLaTeX and you can follow Willie Wong's comment, but if thefontawesome5document doesn't work than there is something else wrong. I can't say more without seeing the actual error message. – Marcel Krüger Jul 13 '21 at 03:40