summaryrefslogtreecommitdiff
path: root/luaotfload-letterspace.lua
diff options
context:
space:
mode:
Diffstat (limited to 'luaotfload-letterspace.lua')
-rw-r--r--luaotfload-letterspace.lua3
1 files changed, 2 insertions, 1 deletions
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