Using fonts from the LaTeX Font Catalogue

David Carlisle d.p.carlisle at
Sat May 8 12:20:59 CEST 2021

I suspect using the aliases file can be made to work.

If I take the plain xetex file

\font\asm=["Asana-Math"]\show\asm \asm a

\font\asmb=["Alegreya"]\show\asmb \asmb b


then by default it will fail.

You can make it work by configuring fontconfig as discussed at length but
you can also make it work
by saving this file  aliases (no extension) in

Alegreya-Regular.otf Alegreya
Asana-Math.otf Asana-Math
Asana-Math.otf AsanaMath
FreeSerif.ttf FreeSerif
NotoSerif-Regular.ttf NotoSerif

Unfortunately that doesn't allow the asanamath.tex test file from the font
catalogue to run as


seeing no extension only tries fontconfig lookup not kpathsearch so the
alias doesn't get seen but that is probably fixable.


On Fri, 7 May 2021 at 23:55, Paulo Ney de Souza <pauloney at> wrote:

> On Fri, May 7, 2021 at 3:43 PM David Carlisle <d.p.carlisle at>
> wrote:
>> On Fri, 7 May 2021 at 22:47, Reinhard Kotucha <reinhard.kotucha at>
>> wrote:
>>> On 2021-05-07 at 21:12:44 +0200, Ulrike Fischer wrote:
>>> Ulrike, this is easier said than done.  The installer doesn't know
>>> where fontconfig files are located and deriving it from fc-conflist
>>> isn't sufficient either.  There is no fontconfig directory in the
>>> user's HOME directory by default and the one in /etc is not writable
>>> by mortal users.  The only reliable solution is to give some hints in
>>> the documentation.
>>> Regards,
>>>   Reinhard
>> That is true but.... How feasible would it be to not configure fontspec
>> to look in the telive tree and instead use a kpathsearch aliases file?
>> That was originally because someone was mad enough to name the longtable
>> package with more than 8 letters but  could we re-write
>> texmf-var/luatex-cache/generic/names/luaotfload-lookup-cache.lua
>> in that format so kpathsea can find the fonts using their internal font
>> names?
>> David
> This is an important issue because releasing such an amount of fonts on a
> system is not an unconsequential move. I do remember that a couple of
> releases ago, the fc-cache move would break Evince display due to similarly
> named, but distinct fonts.
> Paulo Ney
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the texhax mailing list.