[OS X TeX] Fontspec issue
Rowland McDonnell
rowland.mcdonnell at physics.org
Sat Nov 27 12:15:23 EST 2021
I’ve installed MacTeX 2021 on an iMac (27-inch, Late 2013) running macOS 10.15.7.
I can use some installed system founts via XeLaTeX and fontspec, but the minimum test document below fails.
Book Antiqua is installed in /Users/rowland/Library/Fonts/Book Antiqua as a font suitcase file. I got the impression that it was an OpenType fount by creating a “Smart Collection” in Fontbook.app that filtered for Kind=OpenType. I have checked the Smart Collection filter setting and it’s definitely Kind=OpenType.
However, when I look at the information panel for Book Antiqua in Fontbook.app, it reports that it is TrueType - OpenType is not mentioned.
I’m baffled. Would anyone be so kind as to explain what’s going on with Fontbook.app - that is, how come I’m filtering for OpenType but being shown something that’s apparently not OpenType, whether or not I can expect to be able to use Book Antiqua, and if so how I might do so?
Thanks in advance,
Rowland.
===============================================================
\documentclass{article}
\usepackage{fontspec}
\setmainfont{Book Antiqua}
\begin{document}
Hello world.
\end{document}
===============================================================
Console output is:
===============================================================
This is XeTeX, Version 3.141592653-2.6-0.999993 (TeX Live 2021) (preloaded format=xelatex)
restricted \write18 enabled.
entering extended mode
(./fontspec fiddling.tex
LaTeX2e <2020-10-01> patch level 4
L3 programming layer <2021-02-18>
(/usr/local/texlive/2021/texmf-dist/tex/latex/base/article.cls
Document Class: article 2020/04/10 v1.4m Standard LaTeX document class
(/usr/local/texlive/2021/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2021/texmf-dist/tex/latex/fontspec/fontspec.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/l3kernel/expl3.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/l3backend/l3backend-xetex.def
(|extractbb --version)))
(/usr/local/texlive/2021/texmf-dist/tex/latex/l3packages/xparse/xparse-2020-10-
01.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/l3packages/xparse/xparse-generic.
tex)))
(/usr/local/texlive/2021/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/base/fontenc.sty)
(/usr/local/texlive/2021/texmf-dist/tex/latex/fontspec/fontspec.cfg)))
(./fontspec fiddling.aux)
(/usr/local/texlive/2021/texmf-dist/tex/latex/base/ts1cmr.fd) [1]
(./fontspec fiddling.aux)
xdvipdfmx:fatal: Cannot proceed without the font: /Users/rowland/Library/Fonts/Book Antiqua
No output PDF file written.
)
Error 256 (driver return code) generating output;
file fontspec fiddling.pdf may not be valid.
SyncTeX written on fontspec fiddling.synctex.gz.
Transcript written on fontspec fiddling.log.
===============================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20211127/04810392/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Book Antiqua.png
Type: image/png
Size: 64216 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20211127/04810392/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Smart Collection filter.png
Type: image/png
Size: 15850 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20211127/04810392/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Fontbook showing Book Antiqua.png
Type: image/png
Size: 281057 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20211127/04810392/attachment-0002.png>
More information about the MacOSX-TeX
mailing list