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
luatexja-preset: fix that \ltjnewpreset* did not overwrite presets
[luatex-ja/luatexja.git]
/
src
/
ltj-adjust.lua
diff --git
a/src/ltj-adjust.lua
b/src/ltj-adjust.lua
index
7758d93
..
3314874
100644
(file)
--- a/
src/ltj-adjust.lua
+++ b/
src/ltj-adjust.lua
@@
-496,7
+496,7
@@
do
if h>hmax then hmax=h end
if (bw-h-d)<lmin then lmin=bw-h-d end
end
- if lmin==1/0 then lmin =
0
end
+ if lmin==1/0 then lmin =
bw
end
return lmin,
bw - lmin - getfield(before, 'depth')
- getfield(after, mirrored and 'depth' or 'height')