[lltx] Can luatex auto-run mkluatexfontdb ?

Manuel Pégourié-Gonnard mpg at elzevir.fr
Sun May 16 21:35:01 CEST 2010

Le 16/05/2010 18:34, Khaled Hosny a écrit :
> 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.
That's precisely what I meant with the restricted shell-escape.


More information about the lualatex-dev mailing list