From 9c16f2f73eed3946020b0197d9fe97034c4f9f24 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Sun, 28 Apr 2013 10:17:50 +0200 Subject: workaround for non-ascii cache file names --- luaotfload-override.lua | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v1.2.3