[luatex] Reading registry to find Windows fonts

Élie Roux elie.roux at telecom-bretagne.eu
Sat May 30 11:50:16 CEST 2015

Dear All,

An issue[0] was raised recently, from a user who had fonts installed
under Windows, recognized by his softwares but not LuaTeX (nor XeTeX).
Apparently[1] the fonts are installed through a mechanism documented by
MS[2] consisting in adding the font in the list of fonts in the Windows

Lua has several modules allowing to read the registry, there's an entry
in the FAQ[3], and another module not listed in the FAQ[4].

As ConTeXt may also benefit from reading the registry (there's a ConTeXt
user in [2]), what do you think would be the best solution to access the
registry from LuaTeX? Should a module like lua-winreg be distributed (as
a dll) in TeXLive? Should it be built in LuaTeX?

Thank you very much,

[0]: https://github.com/lualatex/luaotfload/issues/270
[1]: http://forum.high-logic.com/viewtopic.php?f=12&t=5612&p=25551#p25552
[3]: http://www.luafaq.org/#T3.7
[4]: https://github.com/moteus/lua-winreg

More information about the luatex mailing list