OSDN Git Service
(root)
/
luatex-ja
/
luatexja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5b953c
)
luatexja.lua: sync with kitagawa_jfmv3 branch
author
Hironori Kitagawa
<h_kitagawa2001@yahoo.co.jp>
Sun, 23 Jul 2017 01:51:47 +0000
(10:51 +0900)
committer
Hironori Kitagawa
<h_kitagawa2001@yahoo.co.jp>
Sun, 23 Jul 2017 01:51:47 +0000
(10:51 +0900)
src/luatexja.lua
patch
|
blob
|
history
diff --git
a/src/luatexja.lua
b/src/luatexja.lua
index
28c1a98
..
3aae0c9
100644
(file)
--- a/
src/luatexja.lua
+++ b/
src/luatexja.lua
@@
-409,8
+409,10
@@
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)
- .. ' off: (' .. print_scaled(p.xoffset)
- .. ',' .. print_scaled(p.yoffset) .. ')'
+ if p.xoffset~=0 or p.yoffset~=0 then
+ s = s .. ' off: (' .. print_scaled(p.xoffset)
+ .. ',' .. print_scaled(p.yoffset) .. ')'
+ end
print_fn(s)
elseif pt=='hlist' or pt=='vlist' or pt=='unset'or pt=='ins' then
if pt=='ins' then