diff options
Diffstat (limited to 'tex/context/base/mkiv/font-otc.lua')
-rw-r--r-- | tex/context/base/mkiv/font-otc.lua | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tex/context/base/mkiv/font-otc.lua b/tex/context/base/mkiv/font-otc.lua index 943bb7e38..67b77b111 100644 --- a/tex/context/base/mkiv/font-otc.lua +++ b/tex/context/base/mkiv/font-otc.lua @@ -501,15 +501,15 @@ local function addfeature(data,feature,specifications,prepareonly) local lookups = rule.lookups or false local subtype = nil if lookups and sublookups then --- inspect(lookups) -if #lookups > 0 then - local ns = stop - start + 1 - for i=1,ns do - if lookups[i] == nil then - lookups[i] = 0 - end - end -end + -- inspect(lookups) + if #lookups > 0 then + local ns = stop - start + 1 + for i=1,ns do + if lookups[i] == nil then + lookups[i] = 0 + end + end + end local l = { } for k, v in sortedhash(lookups) do local t = type(v) @@ -830,7 +830,7 @@ end order = featureorder, [stepkey] = steps, nofsteps = nofsteps, - type = types[featuretype], + type = specification.handler or types[featuretype], } if prepareonly then return sequence |