LuaHBTeX 或 LuaOTFload 中的 mode=harf 存在一些错误吗?

LuaHBTeX 或 LuaOTFload 中的 mode=harf 存在一些错误吗?

请使用 LuaHBTeX 尝试以下 MWE:

% Plain LuaHBTeX
\input luaotfload.sty

\font\twentyfiverm="MinionPro-Regular.otf:%
   mode=harf;script=latn;language=DFLT;+tlig" at%
   \directlua{tex.print(10*1.2^5)} pt% PROBLEM with Minion and mode=harf!

%\font\twentyfiverm="MinionPro-Regular.otf:%
%mode=node;script=latn;language=DFLT;+tlig" at%
%\directlua{tex.print(10*1.2^5)} pt% mode=node OK!

%\font\twentyfiverm="lmroman10-regular.otf:%
%mode=harf;script=latn;language=DFLT;+tlig" at%
%\directlua{tex.print(10*1.2^5)} pt% mode=harf with Latin Modern OK!

\baselineskip\directlua{tex.print(10*1.2^6)}pt
\twentyfiverm

\font\twentyfivemath="latinmodern-math.otf:mode=base;script=math" at%
   \directlua{tex.print(10*1.2^5)} pt

\textfont1=\twentyfivemath

\Umathcode`+="2"1`+
\Umathcode`-="2"1`−
\Umathcode`±="2"1`±
\Umathcode`=="3"1`=
\Umathcode`(="4"1`(     \Udelcode`(="1`(
\Umathcode`)="5"1`)     \Udelcode`)="1`)
\Umathcode`

相关内容