diff options
Diffstat (limited to 'macros/luatex/generic/luaotfload/luaotfload-features.lua')
-rw-r--r-- | macros/luatex/generic/luaotfload/luaotfload-features.lua | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/macros/luatex/generic/luaotfload/luaotfload-features.lua b/macros/luatex/generic/luaotfload/luaotfload-features.lua index eecf1aa0f5..d297061a7d 100644 --- a/macros/luatex/generic/luaotfload/luaotfload-features.lua +++ b/macros/luatex/generic/luaotfload/luaotfload-features.lua @@ -5,8 +5,8 @@ assert(luaotfload_module, "This is a part of luaotfload and should not be loaded independently") { name = "luaotfload-features", - version = "3.19", --TAGVERSION - date = "2022-02-24", --TAGDATE + version = "3.20", --TAGVERSION + date = "2022-02-27", --TAGDATE description = "luaotfload submodule / features", license = "GPL v2.0", author = "Hans Hagen, Khaled Hosny, Elie Roux, Philipp Gesang, Marcel Krüger", @@ -843,7 +843,10 @@ local normalize_lookup = setmetatable({}, {__index = function(t, f) t[fontdir] = result return result end}) -local normalize_funcs = { +-- When this is loaded as part of luaotfload-tool, then we can't access nodes +-- and therefore uni_normalize doesn't exists. In that case we don't need it +-- anyway, so just skip it then. +local normalize_funcs = uni_normalize and { nfc = uni_normalize.NFC, nfd = uni_normalize.NFD, nfkd = uni_normalize.NFKD, |