Libertinus font and AnonymousPro

Wolfgang Engelmann engelmann at uni-tuebingen.de
Wed Jul 7 15:09:30 UTC 2021



Am 07.07.21 um 16:27 schrieb Herbert Voss:
> 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 at 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 at 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
> 

Thanks, Herbert.
I tried your lyx file
but get this error (below after ######)
I guess there is a difference in Ubuntu and Debian.
In the meantime I'll try to proceed with the way Steve describes and 
Kornel pointed to
Wolfgang

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

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

For immediate help type H <return>.
  ...

l.13


A font might not be found for many reasons.
  Check the spelling, where the font is installed etc. etc.

  When in doubt, ask someone for help!


Requested font "AnonymousPro" at 10.00003pt
  -> font not found, using "nullfont"
Missing character: There is no x ("78) in font nullfont!
! Undefined control sequence.
<argument> \LaTeX3 error:
                            Invalid operation fp_to_decimal(inf)
l.13

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


Package fontspec Info: AnonymousPro scale =


More information about the lyx-users mailing list