Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"FontAwesome" not found in example #5

Open
kewiechecki opened this issue Jan 23, 2022 · 0 comments
Open

"FontAwesome" not found in example #5

kewiechecki opened this issue Jan 23, 2022 · 0 comments

Comments

@kewiechecki
Copy link

kewiechecki commented Jan 23, 2022

When I try to run the example I get the following error:

kpathsea: Running mktextfm FontAwesome
/usr/local/texlive/2021/texmf-dist/web2c/mktexnam: Could not map source abbreviation F for FontAwesome.
/usr/local/texlive/2021/texmf-dist/web2c/mktexnam: Need to update /usr/local/texlive/2021/texmf-dist/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input FontAwesome
This is METAFONT, Version 2.71828182 (TeX Live 2021) (preloaded base=mf)

kpathsea: Running mktexmf FontAwesome
! I can't find file `FontAwesome'.
<*> ...r; mag:=1; ; nonstopmode; input FontAwesome
                                                  
Please type another input file name
! Emergency stop.
<*> ...r; mag:=1; ; nonstopmode; input FontAwesome
                                                  
Transcript written on mfput.log.
grep: FontAwesome.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input FontAwesome' failed to make FontAwesome.tfm.

I still have this problem even after commenting out all refer
I'm using XeTeX Version 3.141592653-2.6-0.999993 (TeX Live 2021) on Ubuntu 20.04.

Edit: This issue appears related to posquit0#191. It seems to be a combination of broken font installations and xelatex trying to access fonts from the system rather than the fonts directory in the template. I was able to work around it by commenting out the lines

\newfontfamily{\FA}{FontAwesome}

and

\newfontfamily{\FA}{Academicons}
\setfontfamily{\AI}{Academicons}

from awesome-cv.cls, then adding

\setfontfamily\FA[Path=\@fontdir]{Academicons}

to awesome-cv.cls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant