summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--luaotfload-override.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/luaotfload-override.lua b/luaotfload-override.lua
index 726000d..7ee9730 100644
--- a/luaotfload-override.lua
+++ b/luaotfload-override.lua
@@ -81,4 +81,10 @@ logs.names_report = function (mode, lvl, ...)
end
end
+--- This will vanish as soon as Hans fixes it in data-con
+--- https://github.com/lualatex/luaotfload/issues/17
+
+containers.cleanname = function (name)
+ return (string.gsub(string.lower(name),"[^%w%d\128\255]+","-"))
+end
-- vim:tw=71:sw=4:ts=4:expandtab