[OS X TeX] opentype-info.tex not working

G. M.-S. lists.gms at gmail.com
Sun Jul 10 09:24:10 EDT 2022


Hello.

Following instructions in
/usr/local/texlive/2022/texmf-dist/doc/latex/fontspec/fontspec.pdf
I am trying to compile
/usr/local/texlive/2022/texmf-dist/tex/xetex/xetexfontinfo/opentype-info.tex

However, using it "as is", with
*\def\myfontname{Latin Modern Roman}*
I get
This is XeTeX, Version 3.141592653-2.6-0.999994 (TeX Live 2022) (preloaded
format=xetex)
 restricted \write18 enabled.
entering extended mode
(./opentype-info.tex
./opentype-info.tex:27: Font \testfont="Latin Modern Roman/ICU" at 12.0pt
not l
oadable: Metric (TFM) file or installed font not found.
l.27 \font\testfont="\myfontname/ICU" at 12pt

?
[1] )
Output written on opentype-info.pdf (1 page).
SyncTeX written on opentype-info.synctex.gz.
Transcript written on opentype-info.log.
and a PDF with


*OpenType Layout features found in ‘Latin Modern Roman’None*

Now, with
*\def\myfontname{NewCM10-Book.otf}*
(which is what I am interested in)
I get
This is XeTeX, Version 3.141592653-2.6-0.999994 (TeX Live 2022) (preloaded
format=xetex)
 restricted \write18 enabled.
entering extended mode
(./opentype-info2.tex
kpathsea: Running mktextfm NewCM10-Book.otf/ICU
/usr/local/texlive/2022/texmf-dist/web2c/mktexnam: Could not map source
abbreviation I for ICU.
/usr/local/texlive/2022/texmf-dist/web2c/mktexnam: Need to update
/usr/local/texlive/2022/texmf-dist/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; ;
nonstopmode; input ICU
This is METAFONT, Version 2.71828182 (TeX Live 2022) (preloaded base=mf)

kpathsea: Running mktexmf ICU

! I can't find file `ICU'.
<*> ...e:=ljfour; mag:=1; ; nonstopmode; input ICU

Please type another input file name
! Emergency stop.
<*> ...e:=ljfour; mag:=1; ; nonstopmode; input ICU

Transcript written on mfput.log.
grep: ICU.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode;
input ICU' failed to make ICU.tfm.
kpathsea: Appending font creation commands to missfont.log.

./opentype-info2.tex:27: Font \testfont=NewCM10-Book.otf/ICU at 12.0pt not
load
able: Metric (TFM) file or installed font not found.
l.27 \font\testfont="\myfontname/ICU" at 12pt

?
[1] )
Output written on opentype-info2.pdf (1 page).
SyncTeX written on opentype-info2.synctex.gz.
Transcript written on opentype-info2.log.
and a PDF with


*OpenType Layout features found in ‘NewCM10-Book.otf’None*

What am I doing wrong?

Guillermo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20220710/a62fc91e/attachment.htm>


More information about the MacOSX-TeX mailing list