summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-08-27 12:15:02 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-08-27 12:15:02 +0200
commit9cdb67a33868357cdfbdf15220e864f4370f4a7c (patch)
treec69bb1658edb80ef18e900cbe0d0d4399b285b16
parent8cac5c680e0a74e87bb7bfe369d6c13a294117f9 (diff)
downloadluaotfload-9cdb67a33868357cdfbdf15220e864f4370f4a7c.tar.gz
[letterspacing] restore unkerned state after exiting letterspaced region
-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