summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/luatexja/ltj-math.lua
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-04-01 20:57:19 +0000
committerKarl Berry <karl@freefriends.org>2017-04-01 20:57:19 +0000
commit5112bfa157654c21370044635eb59293b8c8d895 (patch)
tree960858fa8628c8ee694df6df251b1450b0303687 /Master/texmf-dist/tex/luatex/luatexja/ltj-math.lua
parent39403faccf07a097c5a3fd691d81c23ff24c2e2f (diff)
luatexja (1apr17)
git-svn-id: svn://tug.org/texlive/trunk@43671 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luatexja/ltj-math.lua')
-rw-r--r--Master/texmf-dist/tex/luatex/luatexja/ltj-math.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/luatex/luatexja/ltj-math.lua b/Master/texmf-dist/tex/luatex/luatexja/ltj-math.lua
index abb50ece53b..e85e5f79d53 100644
--- a/Master/texmf-dist/tex/luatex/luatexja/ltj-math.lua
+++ b/Master/texmf-dist/tex/luatex/luatexja/ltj-math.lua
@@ -64,6 +64,7 @@ local ltjd_make_dir_whatsit = ltjd.make_dir_whatsit
local is_math_letters = {}
local list_dir
+-- vcenter noad は軸に揃えるため,欧文ベースライン補正がかかる
local function conv_vcenter(sb)
local h = getfield(sb, 'head');local hd = getlist(h)
if getid(hd)==id_whatsit and
@@ -71,10 +72,9 @@ local function conv_vcenter(sb)
local d = node_next(hd)
if getid(d)==id_vlist and has_attr(d, attr_dir)>=dir_node_auto then
node_free(hd); setfield(h, 'head', nil); node_free(h)
- setfield(sb, 'head', d); h = d
+ setfield(sb, 'head', d); set_attr(d, attr_icflag, 0)
end
end
- set_attr(h, attr_icflag, PROCESSED)
return sb
end