2013/4/28 Dohyun Kim <[email protected]> > --- otfl-data-con.lua.orig 2013-04-28 15:13:48.000000000 +0900 > +++ otfl-data-con.lua 2013-04-28 15:14:05.000000000 +0900 > @@ -128,5 +128,5 @@ > end > > function containers.cleanname(name) > - return (gsub(lower(name),"[^%w%d]+","-")) > + return (gsub(lower(name),"[^%w%d\128-\255]+","-")) > end >
That looks reasonable, could you please report it at https://github.com/khaledhosny/luaotfload so it can be tracked? However, the "cleanname" function still looks fishy to me. Why do such a replacement and lowercasing at all? The cache should simply use the font name as-is, without any modifications.
