Wolfgang Engelmann schrieb:

I followed your advice, installed Texlive 2021,
added the two lines you provided

\usepackage{libertinus-otf}
\setmonofont[Scale=MatchLowercase,FakeStretch=0.88,Ligatures=ResetAll]{AnonymousPro}


reconfigured lyx

but get this:

Requested font "AnonymousPro" at 10.94997pt
-> font not found, using "nullfont"

! Package fontspec Error: The font "AnonymousPro" cannot be found.


I deleted in your font setting in Document->Setting. The two lines
in the preamble are enough, no further font setting inside LyX document
preferences is needed. Try my attached LyX document. It works for me.

voss@shania:~/Dokumente$ pdffonts AnonymousPro.23-WE.pdf
name type encoding emb sub uni object ID
------------------------------------ ----------------- ----------------
--- --- --- ---------
QHEWKK+LibertinusSerif-Regular CID Type 0C Identity-H yes yes yes 4 0
voss@shania:~/Dokumente$ pdffonts AnonymousPro.23-WE.pdf
name type encoding emb sub uni object ID
------------------------------------ ----------------- ----------------
--- --- --- ---------
VKKRHB+LibertinusSerif-Regular CID Type 0C Identity-H yes yes yes 4 0
WYWFOS+LibertinusSans-Regular CID Type 0C Identity-H yes yes yes 5 0
WWPDNX+AnonymousPro CID TrueType Identity-H yes yes yes 6 0


If it does not work for you, then export the LyX file to latex (lualatex),
go into the directory and run the exported file with

lualatex AnonymousPro.23-WE


and send me this file also with the created log file.

Herbert




Attachment: AnonymousPro.23-WE.lyx
Description: application/lyx

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to