红联Linux门户
Linux帮助

[BugFix] The font "Arial" cannot be found的解决方法

发布时间:2016-12-19 15:36:51来源:blog.csdn.net/robertsong2004作者:HaveFunInLinux
pandoc 转换 md 到 pdf 时,出现下面的错误:
$ pandoc test.md -o test.pdf -t beamer --latex-engine=xelatex --template=beamer-template.tex
pandoc: Error producing PDF from TeX source.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: "font-not-found"
!
! The font "Arial" cannot be found.
!
! See the fontspec documentation for further information.
!
! For immediate help type H <return>.
!...............................................
 
解决方法:
ubuntu 下执行下面命令:
apt-get install ttf-mscorefonts-installer
 
本文永久更新地址:http://www.linuxdiyf.com/linux/27054.html