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:
328aede
)
ltj-adjust.lua: fix aw_step1 (as 10e5a41)
author
Hironori Kitagawa
<h_kitagawa2001@yahoo.co.jp>
Wed, 1 Oct 2014 11:03:36 +0000
(20:03 +0900)
committer
Hironori Kitagawa
<h_kitagawa2001@yahoo.co.jp>
Wed, 1 Oct 2014 11:03:36 +0000
(20:03 +0900)
src/ltj-adjust.lua
patch
|
blob
|
history
diff --git
a/src/ltj-adjust.lua
b/src/ltj-adjust.lua
index
6a5a300
..
729f186
100644
(file)
--- a/
src/ltj-adjust.lua
+++ b/
src/ltj-adjust.lua
@@
-172,7
+172,8
@@
end
-- step 1: 行末に kern を挿入(句読点,中点用)
local function aw_step1(p, res, total)
- local x = node_tail(getlist(p)); if not x then return false end
+ local head = getlist(p)
+ local x = node_tail(head); if not x then return false end
-- x: \rightskip
x = node_prev(x); if not x then return false end
if getid(x) == id_glue and getsubtype(x) == 15 then