summaryrefslogtreecommitdiff
path: root/luaotfload-deferred.lua
diff options
context:
space:
mode:
Diffstat (limited to 'luaotfload-deferred.lua')
-rw-r--r--luaotfload-deferred.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/luaotfload-deferred.lua b/luaotfload-deferred.lua
index 93e8bb2..efa0298 100644
--- a/luaotfload-deferred.lua
+++ b/luaotfload-deferred.lua
@@ -29,6 +29,8 @@ add_to_callback("hpack_filter",
"luaotfload.node_processor",
1)
+luaotfload.loadmodule("font-otc.lua")
+
loadmodule("lib-dir.lua") -- required by font-nms; will change with lualibs update
loadmodule("font-nms.lua")
loadmodule("font-clr.lua")
@@ -95,6 +97,7 @@ local patch_defined_font = function (...)
if type(tfmdata) == "table" and tfmdata.shared then
call_callback("luaotfload.patch_font", tfmdata)
end
+ --inspect(tfmdata.shared.features)
return tfmdata
end
@@ -128,8 +131,6 @@ elseif luaotfload.font_definer == "patch" then
1)
end
---luaotfload.loadmodule("font-otc.lua") -- broken
-
--local register_base_sub = fonts.otf.features.register_base_substitution
--local gsubs = {
--"ss01", "ss02", "ss03", "ss04", "ss05",