diff options
author | Context Git Mirror Bot <phg42.2a@gmail.com> | 2016-01-04 16:15:08 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2016-01-04 16:15:08 +0100 |
commit | 375d5805bcdeeade99aff1cee9eae3bf7838dc66 (patch) | |
tree | 4ca0e22df4d25e897c6189ee7a0c5b0a65ec3728 /tex/context/base/font-dsp.lua | |
parent | da0401e373d5db17ad5b2da41eb599ec126840bf (diff) | |
download | context-375d5805bcdeeade99aff1cee9eae3bf7838dc66.tar.gz |
2016-01-04 15:49:00
Diffstat (limited to 'tex/context/base/font-dsp.lua')
-rw-r--r-- | tex/context/base/font-dsp.lua | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/tex/context/base/font-dsp.lua b/tex/context/base/font-dsp.lua index 05420f8d6..93c961536 100644 --- a/tex/context/base/font-dsp.lua +++ b/tex/context/base/font-dsp.lua @@ -1618,6 +1618,7 @@ do elseif not next(rlookups) then local name = sequence.name if not reported[name] then + -- can be ok as it aborts a chain sequence report("rule %i in %s lookup %a has %s lookups",i,what,name,"empty") reported[name] = true end @@ -1657,9 +1658,12 @@ do end for i, n in sortedhash(sublookupcheck) do - local t = lookups[i].type + local l = lookups[i] + local t = l.type if n == 0 and t ~= "extension" then - report("%s lookup %i of type %a is not used",what,i,t) + local d = l.done + report("%s lookup %s of type %a is not used",what,d and d.name or l.name,t) + -- inspect(l) end end @@ -1873,7 +1877,7 @@ function readers.gdef(f,fontdata,specification) for i=1,nofsets do local offset = sets[i] if offset ~= 0 then - marksets[i] = readcoverage(f,offset) + marksets[i] = readcoverage(f,marksetsoffset+offset) end end end |