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:
7d71c9e
)
typo
author
Hironori Kitagawa
<h_kitagawa2001@yahoo.co.jp>
Tue, 5 Apr 2016 00:19:08 +0000
(09:19 +0900)
committer
Hironori Kitagawa
<h_kitagawa2001@yahoo.co.jp>
Tue, 5 Apr 2016 00:19:08 +0000
(09:19 +0900)
src/luatexja.lua
patch
|
blob
|
history
diff --git
a/src/luatexja.lua
b/src/luatexja.lua
index
149a18e
..
67a9e9b
100644
(file)
--- a/
src/luatexja.lua
+++ b/
src/luatexja.lua
@@
-20,6
+20,18
@@
function luatexja.load_lua(fn)
end
end
+do
+ local setfield = node.direct.setfield
+ luatexja.setglue = node.direct.setglue or
+ function(g,w,st,sh,sto,sho)
+ setfield(g,'width', w or 0)
+ setfield(g,'stretch',st or 0)
+ setfield(g,'shrink', sh or 0)
+ setfield(g,'stretch_order',sto or 0)
+ setfield(g,'shrink_order', sho or 0)
+ end
+end
+
--- 以下は全ファイルで共有される定数
local icflag_table = {}
luatexja.icflag_table = icflag_table