在 lualatex/texlive2024 中使用帶有名稱中帶有空格的字體的 textls 時出錯

在 lualatex/texlive2024 中使用帶有名稱中帶有空格的字體的 textls 時出錯

到目前為止,在 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?微型? luaoftload?

相關內容