[OS X TeX] Fontspec issue

Murray Eisenberg murrayeisenberg at gmail.com
Sat Nov 27 12:57:16 EST 2021


I get the same error but with Book Antiqua installed as a system font in /Library/Fonts/Microsoft .

> On 27 Nov2021, at 12:15 PM, Rowland McDonnell <rowland.mcdonnell at physics.org> wrote:
> 
> 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.
> 
> ===============================================================
> 
> 
> <Book Antiqua.png>
> 
> <Smart Collection filter.png>
> 
> 
> <Fontbook showing Book Antiqua.png>
> 
> 
> 
> 
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/TeX/
> List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
>                https://email.esm.psu.edu/pipermail/macosx-tex/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex

---
Murray Eisenberg		murrayeisenberg at gmail.com
Mobile (413)-427-5334
503 King Farm Blvd #101		
Rockville, MD 20850-6667	





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20211127/05ca8211/attachment-0001.htm>


More information about the MacOSX-TeX mailing list