summaryrefslogtreecommitdiff
path: root/luaotfload-letterspace.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-08-27 03:16:01 -0700
committerPhilipp Gesang <phg42.2a@gmail.com>2013-08-27 03:16:01 -0700
commita02c539db15612e87b095c3665f56d9436e669fb (patch)
treec69bb1658edb80ef18e900cbe0d0d4399b285b16 /luaotfload-letterspace.lua
parente434a8064bc907aa225732c8575e465e31deddc9 (diff)
parent9cdb67a33868357cdfbdf15220e864f4370f4a7c (diff)
downloadluaotfload-a02c539db15612e87b095c3665f56d9436e669fb.tar.gz
Merge pull request #130 from phi-gamma/master
[letterspacing] restore unkerned state after exiting letterspaced region
Diffstat (limited to 'luaotfload-letterspace.lua')
-rw-r--r--luaotfload-letterspace.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/luaotfload-letterspace.lua b/luaotfload-letterspace.lua
index be51711..3134f22 100644
--- a/luaotfload-letterspace.lua
+++ b/luaotfload-letterspace.lua
@@ -114,6 +114,7 @@ kerncharacters = function (head)
kernfactors[fontid] = krn
end
if not krn or krn == 0 then
+ firstkern = true
goto nextnode
elseif firstkern then
firstkern = false