字体更改后,更改后区域中 XeLaTex(和 LuaLaTex)下的正确花括号会消失,但在更改前区域中仍能正确生成。我不知道为什么。两种字体的字形集中都有正确的花括号。我尝试过其他辅助字体,结果相同。这是 MWE:
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[fontsize=11pt,paper=5in:8in,DIV=12]{scrbook}
\usepackage[english]{babel}
\usepackage{fontspec}
\setmainfont{Bembo Std}
\begin{document}
``You see, Lena, this is a good place because the truck drivers eat here. They always know where the best food is.''
\newfontfamily\myfont{Alegreya}
\begingroup
\myfont
and began what he himself has termed a ``fanatical devotion'' to swimming.
\endgroup
\end{document}
答案1
您缺少以下Ligatures
选项:
\newfontfamily\myfont{Alegreya}[Ligatures=TeX]