diff options
| -rw-r--r-- | luaotfload-extralibs.lua | 7 | ||||
| -rw-r--r-- | luaotfload-letterspace.lua | 3 | 
2 files changed, 8 insertions, 2 deletions
diff --git a/luaotfload-extralibs.lua b/luaotfload-extralibs.lua index 5444b30..d04ba5b 100644 --- a/luaotfload-extralibs.lua +++ b/luaotfload-extralibs.lua @@ -211,7 +211,12 @@ if not markdata then      if k == true then        return marks[currentfont()]      else -      local resources = identifiers[k].resources or { } +      local resources = { } + +      if identifiers[k] then +        resources = identifiers[k].resources or { } +      end +        local marks = resources.marks or { }        t[k] = marks        return marks diff --git a/luaotfload-letterspace.lua b/luaotfload-letterspace.lua index 847f175..961b0c5 100644 --- a/luaotfload-letterspace.lua +++ b/luaotfload-letterspace.lua @@ -118,7 +118,8 @@ kerncharacters = function (head)            goto nextnode          elseif firstkern then            firstkern = false -          if not start.components then +          if (id ~= disc_code) and (not start.components) then +            --- not a ligature, skip node              goto nextnode            end          end  | 
