diff options
-rw-r--r-- | Master/texmf-dist/tex/context/base/mkiv/font-dsp.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/context/base/mkiv/font-dsp.lua b/Master/texmf-dist/tex/context/base/mkiv/font-dsp.lua index f8bf6f2c872..046ba285057 100644 --- a/Master/texmf-dist/tex/context/base/mkiv/font-dsp.lua +++ b/Master/texmf-dist/tex/context/base/mkiv/font-dsp.lua @@ -3502,15 +3502,15 @@ function readers.avar(f,fontdata,specification) local lastfrom = false local lastto = false for i=1,nofvalues do - local from = read2dot14(f) - local to = read2dot14(f) - if lastfrom and from <= lastfrom then + local f = read2dot14(f) + local t = read2dot14(f) + if lastfrom and f <= lastfrom then -- ignore - elseif lastto and to >= lastto then + elseif lastto and t >= lastto then -- ignore else - values[#values+1] = { from, to } - lastfrom, lastto = from, to + values[#values+1] = { f, t } + lastfrom, lastto = f, t end end nofvalues = #values |