diff options
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luatexja/ltj-ruby.lua')
-rw-r--r-- | Master/texmf-dist/tex/luatex/luatexja/ltj-ruby.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/luatex/luatexja/ltj-ruby.lua b/Master/texmf-dist/tex/luatex/luatexja/ltj-ruby.lua index 34cdc8c7fc7..9824ff155ac 100644 --- a/Master/texmf-dist/tex/luatex/luatexja/ltj-ruby.lua +++ b/Master/texmf-dist/tex/luatex/luatexja/ltj-ruby.lua @@ -278,9 +278,9 @@ function luatexja.ruby.texiface(rst, rtlr, rtlp) 'the body (' .. #rtlr .. ' != ' .. #rtlp .. ').', '') else - local f = true + local f, eps = true, rst.eps for i = 1,#rtlr do - if getfield(rtlr[i], 'width') > getfield(rtlp[i], 'width') then + if getfield(rtlr[i], 'width') > getfield(rtlp[i], 'width') + eps then f = false; break end end |