OSDN Git Service
(root)
/
luatex-ja
/
luatexja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix #39431: support notdef=... (introduced in luaotfload v2.98)
[luatex-ja/luatexja.git]
/
src
/
ltj-direction.lua
diff --git
a/src/ltj-direction.lua
b/src/ltj-direction.lua
index
0df63db
..
107d27a
100644
(file)
--- a/
src/ltj-direction.lua
+++ b/
src/ltj-direction.lua
@@
-640,7
+640,7
@@
do
local bh = getlist(b)
local box_dir, dn = get_box_dir(b, ltjs.list_dir)
-- 既に b の中身にあるwhatsit
local bh = getlist(b)
local box_dir, dn = get_box_dir(b, ltjs.list_dir)
-- 既に b の中身にあるwhatsit
- if
not dn
then
+ if
(box_dir<dir_node_auto) and (not dn)
then
bh = create_dir_whatsit(bh, 'make_dir_whatsit', dir_yoko)
dn = bh; setfield(b, 'head', bh)
end
bh = create_dir_whatsit(bh, 'make_dir_whatsit', dir_yoko)
dn = bh; setfield(b, 'head', bh)
end
@@
-1067,6
+1067,11
@@
do
local finalize_inner
local function finalize_dir_node(db,new_dir)
local b = getlist(db)
local finalize_inner
local function finalize_dir_node(db,new_dir)
local b = getlist(db)
+ if getid(b)==id_whatsit and getsubtype(b)==sid_user
+ and getfield(b, 'user_id')==DIR then
+ local ob = b; b = node_remove(b,b); setfield(db, 'head', b);
+ node_free(ob)
+ end
finalize_inner(b)
local w = getfield(b, 'width')
local h = getfield(b, 'height')
finalize_inner(b)
local w = getfield(b, 'width')
local h = getfield(b, 'height')