Font (detection) problems (want to use a Garamond font)
Christian Obst
christian.obst86 at gmail.com
Fri May 5 18:24:24 UTC 2023
(Should I reply to both the list and the sender, or just the list?)
That's interesting! Libreoffice or fc-list doesn't see it, either! Why
does the TexLive installer install to /opt if that's not normal?
I can also see that in /etc/fonts/conf.d/, there are many config files
(including urw-*) which link to /usr/share/fontconfig/conf.avail/, but
none for garamond. How come other fonts installed by tlmgr are
visible, but not all? Even of they are installed in /opt? Should I
reinstall TexLive to another location? What's the default location?
On Fri, May 5, 2023 at 1:40 PM Eckhard Höffner
<eckhard.hoffner at gmail.com> wrote:
>
> Maybe it's because they are in /opt. I don't assume I'm right, but if you look a /etc/fonts/fonts.conf (or a subdirectory), /opt is not a usual fontpath.
>
> fc-list | grep garamond
>
> is another method.
>
> Are other programs showing the fonts (e. g. libreoffice).
>
> You can also copy the fonts you want (otf // ttf) to HOME/.local/share/fonts/ (or /usr/local/share/fonts); both should be in the font path of al programs. My LyX and fontspec (debian) have no problems using the HOME-directory.
>
>
>
>
>
> Am 05.05.23 um 17:22 schrieb Christian Obst:
>
> 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
>
> --
> Eckhard Höffner
> Volkarstr. 64
> D-80636 München
> Tel.: 089 210 31 888
>
> --
> lyx-users mailing list
> lyx-users at lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
More information about the lyx-users
mailing list