summaryrefslogtreecommitdiff
path: root/luaotfload-letterspace.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-08-31 12:21:33 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-08-31 12:21:33 +0200
commit57ed66cba09408ce5520668cc75482ccda490ef8 (patch)
treeb3f22e0e63eb452a92d675c1de817efb4e7ed87f /luaotfload-letterspace.lua
parentd37b2982fe11f4d476b6dbc4c33065682af3855b (diff)
downloadluaotfload-57ed66cba09408ce5520668cc75482ccda490ef8.tar.gz
[extralibs] compensate for missing “resources” field
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