diff options
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luaotfload/luaotfload-loaders.lua')
-rw-r--r-- | Master/texmf-dist/tex/luatex/luaotfload/luaotfload-loaders.lua | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/Master/texmf-dist/tex/luatex/luaotfload/luaotfload-loaders.lua b/Master/texmf-dist/tex/luatex/luaotfload/luaotfload-loaders.lua index 5c9e9d01192..e193b78d350 100644 --- a/Master/texmf-dist/tex/luatex/luaotfload/luaotfload-loaders.lua +++ b/Master/texmf-dist/tex/luatex/luaotfload/luaotfload-loaders.lua @@ -8,8 +8,8 @@ local ProvidesLuaModule = { name = "luaotfload-loaders", - version = "2.98", --TAGVERSION - date = "2019-07-04", --TAGDATE + version = "2.99", --TAGVERSION + date = "2019-08-11", --TAGDATE description = "luaotfload submodule / callback handling", license = "GPL v2.0" } @@ -226,18 +226,15 @@ local install_callbacks = function () return true end -return { - init = function () - local ret = true - if not install_formats () then - logreport ("log", 0, "loaders", "Error initializing OFM/PF{A,B} loaders.") - ret = false - end - if not install_callbacks () then - logreport ("log", 0, "loaders", "Error installing font loader callbacks.") - ret = false - end - return ret +return function () + if not install_formats () then + logreport ("log", 0, "loaders", "Error initializing OFM/PF{A,B} loaders.") + return false end -} + if not install_callbacks () then + logreport ("log", 0, "loaders", "Error installing font loader callbacks.") + return false + end + return true +end -- vim:tw=79:sw=2:ts=2:expandtab |