summaryrefslogtreecommitdiff
path: root/luaotfload-override.lua
diff options
context:
space:
mode:
authorElie Roux <elie.roux@telecom-bretagne.eu>2013-05-03 01:31:57 -0700
committerElie Roux <elie.roux@telecom-bretagne.eu>2013-05-03 01:31:57 -0700
commit3e3dcf4b43fb6bf14bba1bd4024b418124822e93 (patch)
treeb70a6b21034ce00c7b741329f4b5b50a29ef9e26 /luaotfload-override.lua
parent49cc81c4edff6e3c813a93964923bdb35f07e95c (diff)
parent225c63363a259867bad8848e9e9880e43cbf4ad5 (diff)
downloadluaotfload-3e3dcf4b43fb6bf14bba1bd4024b418124822e93.tar.gz
Merge pull request #14 from lualatex/master
update with lualatex master
Diffstat (limited to 'luaotfload-override.lua')
-rw-r--r--luaotfload-override.lua10
1 files changed, 6 insertions, 4 deletions
diff --git a/luaotfload-override.lua b/luaotfload-override.lua
index 7ee9730..2b9ef8b 100644
--- a/luaotfload-override.lua
+++ b/luaotfload-override.lua
@@ -81,10 +81,12 @@ 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
+if containers then
+ --- 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]+","-"))
+ containers.cleanname = function (name)
+ return (string.gsub(string.lower(name),"[^%w%d\128\255]+","-"))
+ end
end
-- vim:tw=71:sw=4:ts=4:expandtab