[lltx] Can luatex auto-run mkluatexfontdb ?
Khaled Hosny
khaledhosny at eglug.org
Sun May 16 14:39:07 CEST 2010
On Sun, May 16, 2010 at 11:47:13AM +0200, Manuel Pégourié-Gonnard wrote:
> Le 16/05/2010 11:20, Will Robertson a écrit :
> > 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.)
> >
> Basically, yes. But, as you may know, we're finally releasing the "restricted
> shell-escape" feature in TL10. AFAIK, the list of authorised programs is not
> fixed yet, but if it can include fc-list, then mkluatexfontsdb could be invoked
> directly from LuaTeX (not using os.system(), but using it directly since it is
> lua code).
>
> Somehow unrelated: I just realised mkluatexfontsdb uses io.popen(). Last time I
> checked, this function was not working on windows. Did anyone test luaotfload on
> windows?
Elie? Yet another reason to try to get rid of the fc-list hack in the
future, if we had a ready to use xml library for use with lualatex,
then we can just parse fontconfig files and not need the command line
tools at all.
Regards,
Khaled
--
Khaled Hosny
Arabic localiser and member of Arabeyes.org team
Free font developer
More information about the lualatex-dev
mailing list