[latex3-commits] [git/LaTeX3-latex3-luaotfload] main: Fix luaotfload-tool (8be233e)
Marcel Fabian Krüger
tex at 2krueger.de
Sun Feb 27 01:19:15 CET 2022
Repository : https://github.com/latex3/luaotfload
On branch : main
Link : https://github.com/latex3/luaotfload/commit/8be233e96f7857f63192d0fb96feb19aa88a4ff7
>---------------------------------------------------------------
commit 8be233e96f7857f63192d0fb96feb19aa88a4ff7
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date: Sun Feb 27 01:12:51 2022 +0100
Fix luaotfload-tool
>---------------------------------------------------------------
8be233e96f7857f63192d0fb96feb19aa88a4ff7
src/luaotfload-features.lua | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/luaotfload-features.lua b/src/luaotfload-features.lua
index eecf1aa..52144a5 100644
--- a/src/luaotfload-features.lua
+++ b/src/luaotfload-features.lua
@@ -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,
More information about the latex3-commits
mailing list.