OSDN Git Service

luatexja.lua: print xoffset info
authorHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Sun, 24 Apr 2016 03:33:55 +0000 (12:33 +0900)
committerHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Sun, 24 Apr 2016 03:33:55 +0000 (12:33 +0900)
src/luatexja.lua

index 67a9e9b..370141a 100644 (file)
@@ -380,6 +380,7 @@ local function debug_show_node_X(p,print_fn, limit)
          .. tostring(p.font)
          .. ' (' .. print_scaled(p.height) .. '+'
          .. print_scaled(p.depth) .. ')x' .. print_scaled(p.width)
+         .. ' xoff: ' .. print_scaled(p.xoffset)
       print_fn(s)
    elseif pt=='hlist' or pt=='vlist' or pt=='unset'or pt=='ins' then
       if pt=='ins' then