xelatex 找不到一些它曾经找到的 Hoefler Text 连字符

xelatex 找不到一些它曾经找到的 Hoefler Text 连字符

我刚刚更新到 MacTex 2020,在昨天编译正常的文档上出现以下错误,并且没有对文档进行任何更改。

我编译如下:

xelatex test.tex

并得到:

This is XeTeX, Version 3.14159265-2.6-0.999992 (TeX Live 2020) (preloaded format=xelatex)
 restricted \write18 enabled.
entering extended mode
(./test2.tex
LaTeX2e <2020-02-02> patch level 5
L3 programming layer <2020-03-06>
(/usr/local/texlive/2020/texmf-dist/tex/latex/koma-script/scrartcl.cls
Document Class: scrartcl 2020/01/24 v3.29 KOMA-Script document class (article)
(/usr/local/texlive/2020/texmf-dist/tex/latex/koma-script/scrkbase.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/koma-script/scrbase.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/koma-script/scrlfile.sty)))
(/usr/local/texlive/2020/texmf-dist/tex/latex/koma-script/tocbasic.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/koma-script/scrsize10pt.clo)
(/usr/local/texlive/2020/texmf-dist/tex/latex/koma-script/typearea.sty))
(/usr/local/texlive/2020/texmf-dist/tex/latex/fontspec/fontspec.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/l3kernel/expl3.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/l3backend/l3backend-xdvipdfmx.def
))) (/usr/local/texlive/2020/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/base/fontenc.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/fontspec/fontspec.cfg)))
(/usr/local/texlive/2020/texmf-dist/tex/xelatex/xltxtra/xltxtra.sty
(/usr/local/texlive/2020/texmf-dist/tex/generic/iftex/ifluatex.sty
(/usr/local/texlive/2020/texmf-dist/tex/generic/iftex/iftex.sty))
(/usr/local/texlive/2020/texmf-dist/tex/generic/iftex/ifxetex.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/realscripts/realscripts.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/metalogo/metalogo.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2020/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2020/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(/usr/local/texlive/2020/texmf-dist/tex/latex/graphics-def/xetex.def)))))

Package fontspec Warning: AAT feature
(fontspec)                'Ligatures=Common,Rare,Historic,Contextual' (1,2)
(fontspec)                not available in font 'Hoefler Text'.


Package fontspec Warning: AAT feature
(fontspec)                'Ligatures=Common,Rare,Historic,Contextual' (1,4)
(fontspec)                not available in font 'Hoefler Text'.


! LaTeX3 Error: Key 'fontspec-aat/Ligatures' accepts only a fixed set of
(LaTeX3)        choices.

For immediate help type H <return>.
 ...

l.7

?

其中 test.tex 是:

\documentclass[10pt,a4paper]{scrartcl}
\usepackage{fontspec, xltxtra}
\setmainfont[Mapping=tex-text, ItalicFeatures={Alternate = 0}, 
Ligatures={Common,Rare,Historic,Contextual},Contextuals=Inner,Alternate=1]{Hoefler Text}

\begin{document}
ff fi ffi ct st
\end{document}

我应该怎样修复此问题?

附录添加Renderer=OpenType删除编译时的错误信息和连ct字符st丢失。

附录2此 .tex 文件(旧)也不再编译,并且使用时Renderer=OpenType,不会显示以前的连字和花饰。因此,显然有些东西丢失了/不向后兼容。

附录3这相关邮政似乎也没有什么帮助。

答案1

我认为 AAT 渲染器不再能与 XeTeX 正常配合使用,并且/或者 macOS 中分发的旧 AAT 字体不再像以前那样发挥作用。

最重要的是,我怀疑 Hoefler Text 没有设置正确的 OpenType 字体表(它与您从 Hoefler 购买的版本不同)。

虽然还不能确定,但​​我认为最好的选择是寻找一种新的字体……

相关内容