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:
f75eb7b
)
Fix #41556
author
Hironori Kitagawa
<h_kitagawa2001@yahoo.co.jp>
Thu, 11 Feb 2021 09:08:11 +0000
(18:08 +0900)
committer
Hironori Kitagawa
<h_kitagawa2001@yahoo.co.jp>
Thu, 11 Feb 2021 09:08:11 +0000
(18:08 +0900)
src/ltj-jfmglue.lua
patch
|
blob
|
history
diff --git
a/src/ltj-jfmglue.lua
b/src/ltj-jfmglue.lua
index
019e24a
..
7437492
100644
(file)
--- a/
src/ltj-jfmglue.lua
+++ b/
src/ltj-jfmglue.lua
@@
-3,7
+3,7
@@
--
luatexbase.provides_module({
name = 'luatexja.jfmglue',
--
luatexbase.provides_module({
name = 'luatexja.jfmglue',
- date = '202
0-12-22
',
+ date = '202
1-02-11
',
description = 'Insertion process of JFM glues, [x]kanjiskip and others',
})
luatexja.jfmglue = luatexja.jfmglue or {}
description = 'Insertion process of JFM glues, [x]kanjiskip and others',
})
luatexja.jfmglue = luatexja.jfmglue or {}
@@
-347,8
+347,7
@@
function calc_np_aux_glyph_common(lp, acc_flag)
local lx=lp
while lx do
local lai = get_attr_icflag(lx)
local lx=lp
while lx do
local lai = get_attr_icflag(lx)
- if lx==last or lai>=PACKED then
- lp=lx; break
+ if lx==last or lai>=PACKED then break
else
local lid = getid(lx)
if lid==id_glyph and not if_lang_ja(lx) then
else
local lid = getid(lx)
if lid==id_glyph and not if_lang_ja(lx) then
@@
-368,19
+367,20
@@
function calc_np_aux_glyph_common(lp, acc_flag)
else -- アクセントは上下にシフトされている
setfield(lx, 'shift', getfield(lx, 'shift') + (has_attr(lx,attr_ablshift) or 0))
end
else -- アクセントは上下にシフトされている
setfield(lx, 'shift', getfield(lx, 'shift') + (has_attr(lx,attr_ablshift) or 0))
end
- lx = node_next(node_next(lx))
+ set_attr(lx, attr_icflag, PROCESSED)
+ lx = node_next(lx); set_attr(lx, attr_icflag, PROCESSED)
+ lx = node_next(lx); set_attr(lx, attr_icflag, PROCESSED)
elseif ls==0 then
Np.last = lx; lx = node_next(lx)
elseif (ls==3) or (lai==ITALIC) then
Np.last = lx; set_attr(lx, attr_icflag, IC_PROCESSED); lx = node_next(lx)
elseif ls==0 then
Np.last = lx; lx = node_next(lx)
elseif (ls==3) or (lai==ITALIC) then
Np.last = lx; set_attr(lx, attr_icflag, IC_PROCESSED); lx = node_next(lx)
- else
- lp=lx; break
+ else break
end
end
- else
- lp=lx; break
+ else break
end
end
end
end
end
end
+ lp=lx
local r
if adj_depth>node_depth then
r = node_new(id_rule,3)
local r
if adj_depth>node_depth then
r = node_new(id_rule,3)