OSDN Git Service

Try to solve 'negative yoffset' problem ...
[luatex-ja/luatexja.git] / src / ltj-jfont.lua
index 3094c93..b1943ca 100644 (file)
@@ -212,7 +212,7 @@ do
       if not r then
          r = m.chars[c] or
             luatexbase.call_callback("luatexja.find_char_class", 0, m, c)
-         m.chars_cbcache[c] = r
+         m.chars_cbcache[c or 0] = r
       end
       return r
    end