Using fonts from the LaTeX Font Catalogue
Reinhard Kotucha
reinhard.kotucha at web.de
Sun May 9 23:27:42 CEST 2021
On 2021-05-09 at 22:17:22 +0100, David Carlisle wrote:
> 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.
Sounds promising...
Regards,
Reinhard
--
------------------------------------------------------------------
Reinhard Kotucha Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover mailto:reinhard.kotucha at web.de
------------------------------------------------------------------
More information about the texhax
mailing list.