Hi,

For instance, I have these font files in /Library/Fonts/ :

华文仿宋.ttf
华文细黑.ttf
华文黑体.ttf

As the file name is non-ascii chars only, the name of cache file for
these fonts is always the same, that is "temp--.lua"

So it would be better to apply a simple patch like the following to
otfl-data-con.lua :

--- 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


Regards,
--
Dohyun Kim
Seoul, Republic of Korea

Reply via email to