diff options
Diffstat (limited to 'Master/texmf-dist/tex/context/base/mkiv/font-otc.lua')
-rw-r--r-- | Master/texmf-dist/tex/context/base/mkiv/font-otc.lua | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/context/base/mkiv/font-otc.lua b/Master/texmf-dist/tex/context/base/mkiv/font-otc.lua index 1866591b4ae..5d879ec1d9e 100644 --- a/Master/texmf-dist/tex/context/base/mkiv/font-otc.lua +++ b/Master/texmf-dist/tex/context/base/mkiv/font-otc.lua @@ -446,10 +446,16 @@ local function addfeature(data,feature,specifications) local t = type(v) if t == "table" then -- already ok + for i=1,#v do + local vi = v[i] + if type(vi) ~= "table" then + v[i] = { vi } + end + end elseif t == "number" then local lookup = sublookups[v] if lookup then - lookups[k] = lookup + lookups[k] = { lookup } if not subtype then subtype = lookup.type end |