X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=src%2Fluatexja.lua;h=422035edccee2737d94abcfabe7b917e75601e35;hb=d177010c46e52e722b4752eded1ae4a6807953df;hp=1df8d034f7b6b1cef6237bf7eb31fdccee63c5e5;hpb=343c01c5d356f564bd2a83d6ef7c080813819dfb;p=luatex-ja%2Fluatexja.git diff --git a/src/luatexja.lua b/src/luatexja.lua index 1df8d03..422035e 100644 --- a/src/luatexja.lua +++ b/src/luatexja.lua @@ -410,9 +410,9 @@ local function debug_show_node_X(p,print_fn, limit) local base = prefix .. string.format('%X', get_attr_icflag(p)) .. ' ' .. pt .. ' ' .. tostring(p.subtype) .. ' ' if pt == 'glyph' then - s = base .. ' ' .. utf.char(p.char) .. ' ' - .. tostring(p.font) - .. ' (' .. print_scaled(p.height) .. '+' + s = base .. ' ' .. + (p.char>=0xF0000 and string.format('(U+%X)', p.char) or utf.char(p.char)) .. ' ' + .. tostring(p.font) .. ' (' .. print_scaled(p.height) .. '+' .. print_scaled(p.depth) .. ')x' .. print_scaled(p.width) if p.xoffset~=0 or p.yoffset~=0 then s = s .. ' off: (' .. print_scaled(p.xoffset)