summaryrefslogtreecommitdiff
path: root/luaotfload-override.lua
diff options
context:
space:
mode:
authorElie Roux <elie.roux@telecom-bretagne.eu>2013-04-29 06:47:05 -0700
committerElie Roux <elie.roux@telecom-bretagne.eu>2013-04-29 06:47:05 -0700
commit49cc81c4edff6e3c813a93964923bdb35f07e95c (patch)
tree94e152a8442ca68434c3b99a59e4844443c9b70b /luaotfload-override.lua
parentb4277e428451947a72326e6f43b78c236f3297a7 (diff)
parent1d871e6152c1acfa01db6fd90ee809274b9f8751 (diff)
downloadluaotfload-49cc81c4edff6e3c813a93964923bdb35f07e95c.tar.gz
Merge pull request #13 from lualatex/master
update with lualatex master
Diffstat (limited to 'luaotfload-override.lua')
-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