[lltx] Can luatex auto-run mkluatexfontdb ?

Khaled Hosny khaledhosny at eglug.org
Sun May 16 18:34:48 CEST 2010


On Sun, May 16, 2010 at 03:31:52PM +0300, Khaled Hosny wrote:
> On Sun, May 16, 2010 at 06:50:41PM +0930, Will Robertson wrote:
> > Hello,
> > 
> > I'm thinking about the workflow that users will need to follow when installing new system fonts for LuaLaTeX. In XeTeX, if a font is not found then the font cache is refreshed to see if there have been new fonts installed. This is far friendly than having to run mkluatexfontdb, even if it has a button in tlmgr. But am I right in thinking that this won't be possible for security reasons? (A la shell escape.)
> 
> We don't need to run the script, almost all the code is part of
> luaotfload itself, the script is just a command line interface to it. It
> is doable, basically we can do the following:
> * in names.load() if no names database found, generate one.

I just implemented this and it seems to work, except that fc-list won't
be run unless "--shell-escape" is enabled.

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer


More information about the lualatex-dev mailing list