fontspec error (cannot resolve fontname of NewComputerModern)

Robert Alessi alessi at
Sat May 22 10:58:22 CEST 2021

On Sat, May 22, 2021 at 10:40:14AM +0200, Herbert Voss wrote:
> \documentclass{article}
> \usepackage{fontspec}
> \setmainfont{NewComputerModern10-Regular}
> \setsansfont{NewCMSans10-Book}
> \begin{document}
> Hello. \textsf{Hello.}
> \end{document}
> chooses Sans regular and book ....

This time from the PostScript name!  Nevertheless, with:

Hello. \textsf{Hello, \emph{hello}.}

One gets no italic or oblique sans serif.  The only way is to specify
everything as in fspdefault.sty...


> Herbert

More information about the tex-live mailing list.