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
fig a bug in lltjext + array
[luatex-ja/luatexja.git]
/
src
/
ltj-jfont.lua
diff --git
a/src/ltj-jfont.lua
b/src/ltj-jfont.lua
index
52bc6a5
..
df596b5
100644
(file)
--- a/
src/ltj-jfont.lua
+++ b/
src/ltj-jfont.lua
@@
-155,7
+155,7
@@
function define_jfm(t)
if type(x)=='number' then
v.kern[j] = {x, 0.5}
elseif type(x)=='table' then
- v.kern[j] = { x[1],
ratio=x.ratio or (x[2] and 0.5*(1+x[2]) or 0.5
) }
+ v.kern[j] = { x[1],
(x.ratio or (x[2] and 0.5*(1+x[2]) or 0.5)
) }
end
end
t.char_type[i] = v