diff options
author | Context Git Mirror Bot <phg42.2a@gmail.com> | 2016-04-18 23:22:47 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2016-04-18 23:22:47 +0200 |
commit | d4edb7402ca3c02612ab4d74aab47c17e384d512 (patch) | |
tree | 6759808c5773582a085953276fa0ceb1c686fbf7 /tex/context/base/mkiv/font-otr.lua | |
parent | 076e1efee0b805673fba71584edbb2b786a01c03 (diff) | |
download | context-d4edb7402ca3c02612ab4d74aab47c17e384d512.tar.gz |
2016-04-18 22:17:00
Diffstat (limited to 'tex/context/base/mkiv/font-otr.lua')
-rw-r--r-- | tex/context/base/mkiv/font-otr.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/mkiv/font-otr.lua b/tex/context/base/mkiv/font-otr.lua index 7226907ca..3542d180e 100644 --- a/tex/context/base/mkiv/font-otr.lua +++ b/tex/context/base/mkiv/font-otr.lua @@ -2020,7 +2020,7 @@ local function loadfontdata(specification) ttcversion = ttcversion, nofsubfonts = nofsubfonts, } - for i=1,fontdata.nofsubfonts do + for i=1,nofsubfonts do subfonts[i] = readdata(f,offsets[i],specification) end end @@ -2167,7 +2167,7 @@ function readers.getinfo(filename,specification) -- string, nil|number|table info[i] = getinfo(fontdata,i,platformnames,rawfamilynames) end return info - elseif subfont > 1 and subfont <= #subfonts then + elseif subfont >= 1 and subfont <= #subfonts then return getinfo(fontdata,subfont,platformnames,rawfamilynames) else return { |