fontspec error (cannot resolve fontname of NewComputerModern)
Robert Alessi
alessi at robertalessi.net
Sat May 22 08:20:38 CEST 2021
Hello,
With lualatex (or xelatex), I can't compile this file anymore:
--------------------snip--------------------
\documentclass{article}
\usepackage{fontspec}
\setmainfont{NewComputerModern}
\begin{document}
Hello.
\end{document}
--------------------snip--------------------
I get this:
! Package fontspec Error: The font "NewComputerModern" cannot be
found.
However, luaotfload-tool --find "NewComputerModern" returns:
luaotfload | resolve : Font "NewComputerModern" found!
luaotfload | resolve : Resolved file name "/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/newcomputermodern/NewCM10-Book.otf"
Does anybody have an idea on what is going on?
Thank you,
Robert
More information about the tex-live
mailing list.