From fd9c4ecd4421d087de21bef1e53d8ffb016285b0 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Sun, 2 Sep 2018 00:04:51 +0200 Subject: 2018-09-01 23:20:00 --- tex/context/base/mkiv/math-noa.lua | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'tex/context/base/mkiv/math-noa.lua') diff --git a/tex/context/base/mkiv/math-noa.lua b/tex/context/base/mkiv/math-noa.lua index 0e502505d..15d9bd0f1 100644 --- a/tex/context/base/mkiv/math-noa.lua +++ b/tex/context/base/mkiv/math-noa.lua @@ -786,19 +786,15 @@ do if id > 0 then local data = fontdata[id] local char = mathematics.big(data,chr,size,method) - local ht = getfield(pointer,"height") - -- local ht = getheight(pointer) -- LUATEXVERSION >= 1.080 - local dp = getfield(pointer,"depth") - -- local dp = getdepth(pointer) -- LUATEXVERSION >= 1.080 + local ht = getheight(pointer) + local dp = getdepth(pointer) if ht == 1 or dp == 1 then -- 1 scaled point is a signal local chardata = data.characters[char] if ht == 1 then - setfield(pointer,"height",chardata.height) - -- setheight(pointer,chardata.height) -- LUATEXVERSION >= 1.080 + setheight(pointer,chardata.height) end if dp == 1 then - setfield(pointer,"depth",chardata.depth) - -- setdepth(pointer,chardata.depth) -- LUATEXVERSION >= 1.080 + setdepth(pointer,chardata.depth) end end if trace_fences then -- cgit v1.2.3