![在 chessboard.sty 上查找字体系列名称或更改棋子字体](https://linux22.com/image/444951/%E5%9C%A8%20chessboard.sty%20%E4%B8%8A%E6%9F%A5%E6%89%BE%E5%AD%97%E4%BD%93%E7%B3%BB%E5%88%97%E5%90%8D%E7%A7%B0%E6%88%96%E6%9B%B4%E6%94%B9%E6%A3%8B%E5%AD%90%E5%AD%97%E4%BD%93.png)
在棋盘包中我尝试过但没有成功boardfontfamily={DejaVu Sans}
,但我不得不听说这不是一个“字体系列名称”。
那么,找出字体的字体系列名称的一般方法是什么?
% arara: lualatex
\documentclass[margin=5mm, varwidth]{standalone}
%\usepackage{fontspec}% I do not need the whole document in 'DejaVu Sans';
%\setmainfont{DejaVu Sans}% however it has no effect too
\usepackage{chessboard}
\usepackage{skak}
\setchessboard{
showmover=false,
% Some tests:
%boardfontfamily={DejaVu Sans}% no effect
%boardfontfamily={dejavu},% no effect
%boardfontfamily=DejaVuSans, % no effect
%boardfontfamily=DejaVuSans-Bold,% no effect
%boardfontfamily=DejaVuSans-Bold-tlf-il2.ttf% no effect
}
\begin{document}
\newgame
\chessboard[]
\end{document}