summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Gesang <megas.kapaneus@gmail.com>2013-04-10 14:52:40 +0200
committerPhilipp Gesang <megas.kapaneus@gmail.com>2013-04-10 14:52:40 +0200
commit3b03067cbc7811eb2c537dff7f40fcfa2e2222a2 (patch)
tree8f221f80bfd4685e3b6acec259c4df3bcc8c19a9
parent4645b2624f853cd795140d18964e3e1eb73ea55f (diff)
downloadluaotfload-3b03067cbc7811eb2c537dff7f40fcfa2e2222a2.tar.gz
load font-otc; tlig seems to work
-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",