OSDN Git Service

ltj-charrange.lua: definition of jcr_cjk and jcr_noncjk was too late.
[luatex-ja/luatexja.git] / src / ltj-jfont.lua
index 7e10815..c3ffb6a 100644 (file)
@@ -180,6 +180,7 @@ mem_leak_kern = mem_leak_kern +1
               v[k] = {false, g, w[2]/sz}
            end
         end
+        v.glue, v.kern = nil, nil
       end
       t.kanjiskip = mult_table(metrics[j].kanjiskip, sz)
       t.xkanjiskip = mult_table(metrics[j].xkanjiskip,sz)