X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=src%2Fluatexja-core.lua;h=673f581d8f2e198e1df6386b16ae644df2c41d6c;hb=2a89ff80358ba323dd8d07585322e346d320cbbf;hp=aab611cbd19cfafea20f6968be4382638e08f285;hpb=9528e0beb136da2f2115630f593d4385b7722a8b;p=luatex-ja%2Fluatexja.git diff --git a/src/luatexja-core.lua b/src/luatexja-core.lua index aab611c..673f581 100644 --- a/src/luatexja-core.lua +++ b/src/luatexja-core.lua @@ -61,7 +61,7 @@ end -- Three aux. functions, bollowed from tex.web local unity=65536 -local function print_scaled(s) +function print_scaled(s) local out='' local delta=10 if s<0 then @@ -216,7 +216,7 @@ function debug_show_node_X(p,print_fn) local s local pt=node_type(p.id) local base = debug_depth .. string.format('%X', has_attr(p,attr_icflag) or 0) - .. ' ' .. pt .. ' ' .. p.subtype + .. ' ' .. pt .. ' ' .. tostring(p.subtype ) if pt == 'glyph' then s = base .. ' ' .. utf.char(p.char) .. ' ' .. tostring(p.font) .. ' (' .. print_scaled(p.height) .. '+'