[tex-live] [luatex] lltxplatform integration

Siep Kroonenberg siepo at cybercomm.nl
Thu Jun 4 10:45:18 CEST 2015

On Thu, Jun 04, 2015 at 09:25:18AM +0200, Élie Roux wrote:
> > As I understand it, ConTeXt gets the list of OS fonts by running a
> > script at install time, or really mtxrun --generate time.  I expect we
> > could figure out something similar for lualatex.  Ideally even re-using
> > the same file if it exists ...
> Sadly, Windows has a mechanism that stocks some installed fonts only in
> the registry, and not in a standard directory. Fonts installed this way
> are not handled by ConTeXt. There aren't many cases where users install
> fonts this way, but (AFAIK) the mechanism is quite recent and there
> might be more and more demand on this...
> There are currently two ways to access the registry in LuaTeX:
>  - loading a .so file that calls the Windows API (lua-winreg,
> lualatex-platform, etc.)
>  - calling the "reg" command
> The second is already forbidden by shell_escape_commands (which is
> good), and if you forbid the first one, this means that users will never
> be able to have all their fonts found by TeX.

Would it be practical to collect this information from the registry
and have it written to a file in a separate step, just as already
happens with mktexlsr and updmap?

Siep Kroonenberg

More information about the tex-live mailing list