diff options
-rw-r--r-- | luaotfload-extralibs.lua | 9 | ||||
-rw-r--r-- | luaotfload-letterspace.lua | 4 |
2 files changed, 7 insertions, 6 deletions
diff --git a/luaotfload-extralibs.lua b/luaotfload-extralibs.lua index 3769e06..5444b30 100644 --- a/luaotfload-extralibs.lua +++ b/luaotfload-extralibs.lua @@ -369,11 +369,10 @@ kerns.disablecharacterkerning = disablecharacterkerning --- now for the simplistic variant --- unit -> bool local enablefontkerning = function ( ) - return add_processor( - kernfont.handler, - "typesetters.kernfont", - "pre_linebreak_filter", "hpack_filter" - ) + return add_processor( kernfont.handler + , "typesetters.kernfont" + , "pre_linebreak_filter" + , "hpack_filter") end --- unit -> bool diff --git a/luaotfload-letterspace.lua b/luaotfload-letterspace.lua index 3134f22..847f175 100644 --- a/luaotfload-letterspace.lua +++ b/luaotfload-letterspace.lua @@ -118,7 +118,9 @@ kerncharacters = function (head) goto nextnode elseif firstkern then firstkern = false - goto nextnode + if not start.components then + goto nextnode + end end end |