Libertinus and AnonymousPro fonts

Herbert Voss Herbert.Voss at FU-Berlin.DE
Wed Jul 14 09:31:29 UTC 2021


Wolfgang Engelmann schrieb:
> Still struggling with Libertinus and AnonymousPro fonts
>
> I updated my texlive today (14July2021), did texhash also as superuser,
> reconfigured lyx and looked for the Libertinus and AnonymousPro fonts in
> my Lyx Document > Settings > Fonts but can't find it. The PDF output
> format is set to PDF(LuaTex).
>
> The libertinus fonts are found in my
> ./texlive/2021/texmf-dist/fonts/tfm/public/libertinus-type1/LibertinusSerif-
> ... etc

Wolfgang,

look into your Debian font configuration. There should be a
file 09-texlive.conf in the directory  /etc/fonts/conf.d/

If not, create it as root with the following contents:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
  <dir>/usr/local/texlive/2021/texmf-dist/fonts/opentype</dir>
  <dir>/usr/local/texlive/2021/texmf-dist/fonts/truetype</dir>
</fontconfig>


Then run


fc-cache -fv


The Libertinus should be found. You can test it with


voss at Lenovo:~$ fc-list | grep -i libertinus
/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSans-Bold.otf:
Libertinus Sans:style=Bold
/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSerif-Italic.otf:
Libertinus Serif:style=Italic
/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSerif-Regular.otf:
Libertinus Serif:style=Regular
/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSerifDisplay-Regular.otf:
Libertinus Serif Display:style=Regular
/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSerif-Semibold.otf:
Libertinus Serif,Libertinus Serif Semibold:style=Semibold,Regular
/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSerif-SemiboldItalic.otf:
Libertinus Serif,Libertinus Serif Semibold Italic:style=Semibold
Italic,Regular
/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSerifInitials-Regular.otf:
Libertinus Serif Initials:style=Regular
/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusKeyboard-Regular.otf:
Libertinus Keyboard:style=Regular
/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusMath-Regular.otf:
Libertinus Math:style=Regular
/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSans-Italic.otf:
Libertinus Sans:style=Italic
/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSans-Regular.otf:
Libertinus Sans:style=Regular
/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusMono-Regular.otf:
Libertinus Mono:style=Regular
/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSerif-BoldItalic.otf:
Libertinus Serif:style=Bold Italic
/usr/local/texlive/2021/texmf-dist/fonts/opentype/public/libertinus-fonts/LibertinusSerif-Bold.otf:
Libertinus Serif:style=Bold


Now reconfigure LyX and restart.

Attaches a screenshot from within LyX.

Herbert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libertinus.png
Type: image/png
Size: 70510 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20210714/f42842d9/attachment-0001.png>


More information about the lyx-users mailing list