summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/luaotfload/luaotfload-features.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luaotfload/luaotfload-features.lua')
-rw-r--r--Master/texmf-dist/tex/luatex/luaotfload/luaotfload-features.lua30
1 files changed, 12 insertions, 18 deletions
diff --git a/Master/texmf-dist/tex/luatex/luaotfload/luaotfload-features.lua b/Master/texmf-dist/tex/luatex/luaotfload/luaotfload-features.lua
index 72f63a9b92f..6aff692ff7f 100644
--- a/Master/texmf-dist/tex/luatex/luaotfload/luaotfload-features.lua
+++ b/Master/texmf-dist/tex/luatex/luaotfload/luaotfload-features.lua
@@ -5,8 +5,8 @@
local ProvidesLuaModule = {
name = "luaotfload-features",
- version = "2.98", --TAGVERSION
- date = "2019-07-04", --TAGDATE
+ version = "2.99", --TAGVERSION
+ date = "2019-08-11", --TAGDATE
description = "luaotfload submodule / features",
license = "GPL v2.0",
author = "Hans Hagen, Khaled Hosny, Elie Roux, Philipp Gesang, Marcel Krüger",
@@ -581,22 +581,16 @@ local add_auto_features = function ()
end
end
-return {
- init = function ()
+return function ()
+ logreport = luaotfload.log.report
- logreport = luaotfload.log.report
-
- if not fonts and fonts.handlers then
- logreport ("log", 0, "features",
- "OTF mechanisms missing -- did you forget to \z
- load a font loader?")
- return false
- end
-
- add_auto_features ()
-
- return true
+ if not fonts and fonts.handlers then
+ logreport ("log", 0, "features",
+ "OTF mechanisms missing -- did you forget to \z
+ load a font loader?")
+ return false
end
-}
-
+ add_auto_features ()
+ return true
+end
-- vim:tw=79:sw=4:ts=4:expandtab