I have a document that I prepared with the ebgaramond
package, because I like the look of Garamond fonts. It looks fine on the screen, but when I try to print it, all the characters that should be in the garamond font just come out as hollow rectangles. What can I do to try and resolve this?
Some details: I'm using pdflatex (via TexShop) on a Mac. I've tried upgrading to TexLive 2019 and making sure my printer drivers are up to date, but those things didn't change anything.
On a suggestion from @Mico, I tried compiling the document using LuaLaTeX and XeLaTeX instead of pdflatex. They both complain about the ebgaramond package. Here's a MWE:
\documentclass[a4paper]{article}
\usepackage{ebgaramond}
\begin{document}
This is a test.
\end{document}
and here's the output from LuaLaTeX:
This is LuaTeX, Version 1.10.0 (TeX Live 2019)
restricted system commands enabled.
(./ebgaramond.tex
LaTeX2e <2020-02-02> patch level 1
L3 programming layer <2020-02-11>
(/usr/local/texlive/2019/texmf-dist/tex/latex/base/article.cls
Document Class: article 2019/12/20 v1.4l Standard LaTeX document class
(/usr/local/texlive/2019/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2019/texmf-dist/tex/latex/ebgaramond/ebgaramond.sty
(/usr/local/texlive/2019/texmf-dist/tex/generic/iftex/ifxetex.sty
(/usr/local/texlive/2019/texmf-dist/tex/generic/iftex/iftex.sty))
(/usr/local/texlive/2019/texmf-dist/tex/generic/iftex/ifluatex.sty)
(/usr/local/texlive/2019/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(/usr/local/texlive/2019/texmf-dist/tex/generic/xkeyval/xkeyval.tex
(/usr/local/texlive/2019/texmf-dist/tex/generic/xkeyval/xkvutils.tex
(/usr/local/texlive/2019/texmf-dist/tex/generic/xkeyval/keyval.tex))))
(/usr/local/texlive/2019/texmf-dist/tex/latex/base/textcomp.sty)
(/usr/local/texlive/2019/texmf-dist/tex/latex/fontspec/fontspec.sty
(/usr/local/texlive/2019/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
(/usr/local/texlive/2019/texmf-dist/tex/latex/l3kernel/expl3.sty
(/usr/local/texlive/2019/texmf-dist/tex/latex/l3backend/l3backend-pdfmode.def))
) (/usr/local/texlive/2019/texmf-dist/tex/latex/fontspec/fontspec-luatex.sty
(/usr/local/texlive/2019/texmf-dist/tex/latex/base/fontenc.sty)
(/usr/local/texlive/2019/texmf-dist/tex/latex/fontspec/fontspec.cfg)))
/usr/local/texlive/2019/texmf-dist/tex/latex/ebgaramond/ebgaramond.sty:140: LaT
eX3 Error: Command '\swshape' already defined!
For immediate help type H <return>.
...
l.140 \newfontfamily
\ebgaramondOsF
\let\swshape\undefined
before loading the package.