目前有一个错误,我正在尝试使用这个https://github.com/posquit0/Awesome-CV。它曾经与 vscode 配合得很好。现在我试图将它与 TeX Studio 一起使用,但编译时出现此错误:
name = FontAwesome, rootname = FontAwesome,
pointsize = mktexmf: empty or non-existent rootfile!
kpathsea: Running mktexmf FontAwesome.mf
The command name is C:\texlive\2019\bin\win32\mktexmf
Cannot find FontAwesome.mf.
日志为:
Font TU/FontAwesome(1)/m/n/6.8=FontAwesome at 6.8pt not loadable:
Metric (TFM) file or installed font not found.
Font TU/Roboto(1)/m/n/32=Roboto-Thin at 32.0pt not loadable:
Metric (TFM) file or installed font not found.
我的电脑上也已经安装了该字体...
答案1
我通过使用修复了我的错误
\newfontfamily{\FA}{fontawesome.otf}
\newfontfamily{\FA}{roboto.otf}
代替
\newfontfamily{\FA}{FontAwesome}
\newfontfamily{\FA}{Roboto}