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:
de78744
)
fix #41020
author
Hironori Kitagawa
<h_kitagawa2001@yahoo.co.jp>
Sun, 20 Dec 2020 09:47:17 +0000
(18:47 +0900)
committer
Hironori Kitagawa
<h_kitagawa2001@yahoo.co.jp>
Sun, 20 Dec 2020 09:47:17 +0000
(18:47 +0900)
src/ltj-adjust.lua
patch
|
blob
|
history
diff --git
a/src/ltj-adjust.lua
b/src/ltj-adjust.lua
index
c7d145d
..
56effa3
100644
(file)
--- a/
src/ltj-adjust.lua
+++ b/
src/ltj-adjust.lua
@@
-287,7
+287,10
@@
local aw_step2, aw_step2_dummy
do
local node_hpack = node.direct.hpack
local function repack(p)
+ local orig_of, orig_hfuzz, orig_hbad = tex.overfullrule, tex.hfuzz, tex.hbadness
+ tex.overfullrule=0; tex.hfuzz=1073741823; tex.hbadness=10000
local f = node_hpack(getlist(p), getfield(p, 'width'), 'exactly')
+ tex.overfullrule=orig_of; tex.hfuzz=orig_hfuzz; tex.hbadness=orig_hbad
setfield(f, 'head', nil)
setfield(p, 'glue_set', getfield(f, 'glue_set'))
setfield(p, 'glue_order', getfield(f, 'glue_order'))