これまでは、lualatex でフォントのフルネームを使用すると、すべてのケースで正常に機能していました。ただし、TeXLive 2024 へのアップデート以降、 を使用するとエラーが発生します\textls[]{}
。
次のコードではこのエラーが発生します
luaotfload | db : Reload initiated (formats: otf,ttf,ttc); reason: Font "kernfactor=-0.005;Libertinus Serif at 10.95pt" not found....xmf-dist/tex/lu
atex/luaotfload/fontloader-basics-gen.lua:156: bad argument #2 to 'find_file' (
invalid option '95pt').
<to be read again>
edef
l.14 \textls[-5]{\blindtext}
\documentclass[11pt]{article}
\usepackage{fontspec}
\usepackage{microtype}
\setmainfont{Libertinus Serif}
\usepackage{blindtext}
\begin{document}
\textls[-5]{\blindtext}
\end{document}
を使用\setmainfont{LibertinusSerif}
すると、期待どおりに動作します。 を使用しない場合は\textls[]{}
、両方の構文が正常に動作します。
ただし、どこに問題を報告すればよいかわかりません: fontspec? microtype? luaoftload?