Using fonts from the LaTeX Font Catalogue

David Carlisle d.p.carlisle at gmail.com
Sun May 9 23:17:22 CEST 2021


On Sun, 9 May 2021 at 22:00, Reinhard Kotucha <reinhard.kotucha at web.de>
wrote:

>
>
>
> After all, lookup tables of any kind are extremely painful unless they
> can be generated and updated automatically without much effort.
>
> Regards,
>   Reinhard
>
>
sure but the relevant table (in any syntax) can be generated from the
existing lualatex font cache, luaotfload has
already done the work of trawling every font in the texlive tree and
mapping the internal names to filenames.

All you need to do is walk over that Lua data and write it to a file in a
suitable syntax.

There is already (Marcel is quick:-) an experimental branch of the
luaotfload-tool git sources with an option to do exactly that.

Not easily usable yet from latex, as fontspec would need to know about it
but already it allows the primitive \font syntax
to use (normalised) font names rather than file names.

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/texhax/attachments/20210509/0ec1eb03/attachment.html>


More information about the texhax mailing list.