summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/font-otc.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2022-05-11 11:48:41 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2022-05-11 11:48:41 +0200
commit3a55e11c7295abf8f2dfe5e9d1c8b153f4518824 (patch)
treeef19e02db5f451f90d12f88ddf60619e0cb07344 /tex/context/base/mkiv/font-otc.lua
parentd2e1112ef8921f361ac7cf1b49e30923cce6d5f0 (diff)
downloadcontext-3a55e11c7295abf8f2dfe5e9d1c8b153f4518824.tar.gz
2022-05-11 11:35:00
Diffstat (limited to 'tex/context/base/mkiv/font-otc.lua')
-rw-r--r--tex/context/base/mkiv/font-otc.lua20
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