<div dir="ltr"><br><div>Hello.</div><div><br></div><div>Following instructions in</div><div>/usr/local/texlive/2022/texmf-dist/doc/latex/fontspec/fontspec.pdf<br></div><div>I am trying to compile</div><div>/usr/local/texlive/2022/texmf-dist/tex/xetex/xetexfontinfo/opentype-info.tex<br></div><div><br></div><div>However, using it "as is", with</div><div><b>\def\myfontname{Latin Modern Roman}</b><br></div><div>I get</div><div><font face="monospace">This is XeTeX, Version 3.141592653-2.6-0.999994 (TeX Live 2022) (preloaded format=xetex)<br> restricted \write18 enabled.<br>entering extended mode<br>(./opentype-info.tex<br>./opentype-info.tex:27: Font \testfont="Latin Modern Roman/ICU" at 12.0pt not l<br>oadable: Metric (TFM) file or installed font not found.<br>l.27 \font\testfont="\myfontname/ICU" at 12pt<br>                                             <br>? <br>[1] )<br>Output written on opentype-info.pdf (1 page).<br>SyncTeX written on opentype-info.synctex.gz.<br>Transcript written on opentype-info.log.<br></font></div><div>and a PDF with</div><div><b>OpenType Layout features found in ‘Latin Modern Roman’<br>None<br></b></div><div><br></div><div>Now, with</div><div><b>\def\myfontname{NewCM10-Book.otf}</b><br></div><div>(which is what I am interested in)</div><div>I get</div><div><font face="monospace">This is XeTeX, Version 3.141592653-2.6-0.999994 (TeX Live 2022) (preloaded format=xetex)<br> restricted \write18 enabled.<br>entering extended mode<br>(./opentype-info2.tex<br>kpathsea: Running mktextfm NewCM10-Book.otf/ICU<br>/usr/local/texlive/2022/texmf-dist/web2c/mktexnam: Could not map source abbreviation I for ICU.<br>/usr/local/texlive/2022/texmf-dist/web2c/mktexnam: Need to update /usr/local/texlive/2022/texmf-dist/fonts/map/fontname/special.map?<br>mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input ICU<br>This is METAFONT, Version 2.71828182 (TeX Live 2022) (preloaded base=mf)<br><br>kpathsea: Running mktexmf ICU<br><br>! I can't find file `ICU'.<br><*> ...e:=ljfour; mag:=1; ; nonstopmode; input ICU<br>                                                  <br>Please type another input file name<br>! Emergency stop.<br><*> ...e:=ljfour; mag:=1; ; nonstopmode; input ICU<br>                                                  <br>Transcript written on mfput.log.<br>grep: ICU.log: No such file or directory<br>mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input ICU' failed to make ICU.tfm.<br>kpathsea: Appending font creation commands to missfont.log.<br><br>./opentype-info2.tex:27: Font \testfont=NewCM10-Book.otf/ICU at 12.0pt not load<br>able: Metric (TFM) file or installed font not found.<br>l.27 \font\testfont="\myfontname/ICU" at 12pt<br>                                             <br>? <br>[1] )<br>Output written on opentype-info2.pdf (1 page).<br>SyncTeX written on opentype-info2.synctex.gz.<br>Transcript written on opentype-info2.log.<br></font></div><div>and a PDF with</div><div><b>OpenType Layout features found in ‘NewCM10-Book.otf’<br>None<br></b></div><div><br></div><div>What am I doing wrong?</div><div><br></div><div>Guillermo</div><div><br></div><div><br></div><div><br></div></div>