diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2013-08-31 12:07:10 +0200 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2013-08-31 12:07:10 +0200 |
commit | d37b2982fe11f4d476b6dbc4c33065682af3855b (patch) | |
tree | ecd09543edb76dc81e3322f69ba3e1e331da6d64 | |
parent | 4dd4ee4df065d2681486259bf59dbac8136ead53 (diff) | |
download | luaotfload-d37b2982fe11f4d476b6dbc4c33065682af3855b.tar.gz |
[letterspacing] do not skip first glyph if liga
-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 |