Font (detection) problems (want to use a Garamond font)

Christian Obst christian.obst86 at gmail.com
Fri May 5 15:22:20 UTC 2023


Hi all,

I'm using LyX 2.3.7, and TexLive 2023 (via tlmgr, not distro) on Void
Linux. My problem is that I can't use any of the Garamond fonts
installed (URW, EB). LyX has been configured via Tools -> Reconfigure,
and the PATH (to /opt/texlive/2023/bin/x86_64-linux) is set. LyX finds
all installed packages etc.

If I try to use "URW Garamond (Mathdesign)", I get an error when compiling:

!pdfTeX error: pdflatex (file ugmm8a.pfb): cannot open Type 1 font
file for reading.

"URW Garamond" (no Mathdesign) is listed as "not installed", even
though it is according to tlmgr.

If I switch to "Don't use TeX-Fonts" in the font dialog, EB Garamond
is not listed at all, but it is installed. Weirdly, old LyX documents
that use that font still compile fine and display it in the output. I
also used to be able (until a week ago) to manually set the main font
to "EB Garamond" using

\usepackage{fontspec}
\setmainfont{EB Garamond}

but that no longer works (gives me an error about not finding that
font). luaotfload-tool --find "EBGaramond" confirms that it is
installed in "/opt/texlive/2023/texmf-dist/fonts/opentype/public/ebgaramond/EBGaramond-Regular.otf"

I am thoroughly confused, and don't even know where to begin checking.
Any help is appreciated!

Best regards,
Christian


More information about the lyx-users mailing list