From 75fbb107b15d01179a4b772844144e0661240e77 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Tue, 7 Nov 2017 12:49:36 +0100 Subject: 2017-11-07 11:43:00 --- tex/context/base/mkiv/font-otr.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tex/context/base/mkiv/font-otr.lua') diff --git a/tex/context/base/mkiv/font-otr.lua b/tex/context/base/mkiv/font-otr.lua index c36f1ae42..5bac75052 100644 --- a/tex/context/base/mkiv/font-otr.lua +++ b/tex/context/base/mkiv/font-otr.lua @@ -1345,7 +1345,7 @@ formatreaders[4] = function(f,fontdata,offset) offsets[i] = readushort(f) end -- format length language nofsegments searchrange entryselector rangeshift 4-tables - local size = (length - 2 * 2 - 5 * 2 - 4 * nofsegments * 2) / 2 + local size = (length - 2 * 2 - 5 * 2 - 4 * 2 * nofsegments) / 2 for i=1,size-1 do indices[i] = readushort(f) end -- cgit v1.2.3