Re: [NTG-context] [fontloader] cached fonts have invalid tounicode values

2013-06-28 Thread Philipp Gesang
···date: 2013-06-28, Friday···from: Akira Kakuto··· Hi Philipp, I’ve traced it to luatex-basics-gen.lua. luaotfload-basics-gen.lua and luaotfload-merged.lua? The latter is generated from the former, so yes. For a hot fix it suffices to patch the merged file. Anyways, luaotfload will be

Re: [NTG-context] [fontloader] cached fonts have invalid tounicode values

2013-06-28 Thread Hans Hagen
On 6/28/2013 1:12 PM, Philipp Gesang wrote: ···date: 2013-06-28, Friday···from: Akira Kakuto··· Hi Philipp, I’ve traced it to luatex-basics-gen.lua. luaotfload-basics-gen.lua and luaotfload-merged.lua? The latter is generated from the former, so yes. For a hot fix it suffices to patch

[NTG-context] [fontloader] cached fonts have invalid tounicode values

2013-06-27 Thread Philipp Gesang
Hi Hans, this has been reported by Dohyun Kim [1]: the generic fontloader (not Context) serializes some tounicode values as Lua numbers, not strings. When re-reading the cache file the values lose all leading zeros, so they are no longer well-formed UTF-16BE. ... [tounicode]={

Re: [NTG-context] [fontloader] cached fonts have invalid tounicode values

2013-06-27 Thread Philipp Gesang
···date: 2013-06-27, Thursday···from: Philipp Gesang··· Hi Hans, this has been reported by Dohyun Kim [1]: the generic fontloader (not Context) serializes some tounicode values as Lua numbers, not strings. When re-reading the cache file the values lose all leading zeros, so they are no

[NTG-context] [fontloader] cached fonts have invalid tounicode values

2013-06-27 Thread Akira Kakuto
Hi Philipp, I’ve traced it to luatex-basics-gen.lua. luaotfload-basics-gen.lua and luaotfload-merged.lua? Thank you very much. Akira ___ If your question is of interest to others as well, please add an entry to