summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/luatexja/ltj-ruby.lua
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-01-07 22:13:27 +0000
committerKarl Berry <karl@freefriends.org>2019-01-07 22:13:27 +0000
commitbd1875cde7b10d9c50c1919729a178ffa0ca77d1 (patch)
treec39000513338bd200b3fb39221b2091798957cb5 /Master/texmf-dist/tex/luatex/luatexja/ltj-ruby.lua
parent0a0336d2291164dec0f697dc2941c1bfa06069e1 (diff)
luatexja (7jan19)
git-svn-id: svn://tug.org/texlive/trunk@49635 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luatexja/ltj-ruby.lua')
-rw-r--r--Master/texmf-dist/tex/luatex/luatexja/ltj-ruby.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/luatex/luatexja/ltj-ruby.lua b/Master/texmf-dist/tex/luatex/luatexja/ltj-ruby.lua
index 3dff4e6848c..060b3226ad3 100644
--- a/Master/texmf-dist/tex/luatex/luatexja/ltj-ruby.lua
+++ b/Master/texmf-dist/tex/luatex/luatexja/ltj-ruby.lua
@@ -208,7 +208,7 @@ do
local hh, hd = getfield(box, 'height'), getfield(box, 'depth')
local hx = h
while hx do
- local hic = has_attr(hx, attr_icflag)
+ local hic = has_attr(hx, attr_icflag) or 0
if (hic == KANJI_SKIP) or (hic == KANJI_SKIP_JFM)
or (hic == XKANJI_SKIP) or (hic == XKANJI_SKIP_JFM)
or ((hic<=FROM_JFM+63) and (hic>=FROM_JFM)) then