From 64f6e8fc0c6cb9254a6fe3db0b4ab31c51cf8524 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Thu, 4 Apr 2019 14:11:01 +0200 Subject: 2019-04-04 13:38:00 --- tex/context/base/mkiv/font-imp-quality.lua | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'tex/context/base/mkiv/font-imp-quality.lua') diff --git a/tex/context/base/mkiv/font-imp-quality.lua b/tex/context/base/mkiv/font-imp-quality.lua index 224d8dc27..01f0afe63 100644 --- a/tex/context/base/mkiv/font-imp-quality.lua +++ b/tex/context/base/mkiv/font-imp-quality.lua @@ -451,9 +451,12 @@ local function initialize(tfmdata,value) right = right, } for i, chr in next, tfmdata.characters do - local v, pl, pr = vector[i], nil, nil + local v = vector[i] + local pl = nil + local pr = nil if v then - pl, pr = v[1], v[2] + pl = v[1] + pr = v[2] else local d = data[i] if d then @@ -461,13 +464,15 @@ local function initialize(tfmdata,value) if not s then -- sorry elseif type(s) == "table" then - local vl, vr = vector[s[1]], vector[s[#s]] + local vl = vector[s[1]] + local vr = vector[s[#s]] if vl then pl = vl[1] end if vr then pr = vr[2] end else v = vector[s] if v then - pl, pr = v[1], v[2] + pl = v[1] + pr = v[2] end end end -- cgit v1.2.3