diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2013-04-28 10:17:50 +0200 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2013-04-28 10:17:50 +0200 |
commit | 9c16f2f73eed3946020b0197d9fe97034c4f9f24 (patch) | |
tree | 3c60ef65c7d590856aadfd60ddbb54392dc6a846 /luaotfload-override.lua | |
parent | 84eec2bb9d4e33f5ceacd33ee38a7d686b9134eb (diff) | |
download | luaotfload-9c16f2f73eed3946020b0197d9fe97034c4f9f24.tar.gz |
workaround for non-ascii cache file names
Diffstat (limited to 'luaotfload-override.lua')
-rw-r--r-- | luaotfload-override.lua | 6 |
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 |