summaryrefslogtreecommitdiff
path: root/luaotfload-extralibs.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-05-20 13:40:27 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-05-20 13:40:27 +0200
commitac4c2a64fc7883ad9c32f12d532fc8f0fc6f14a8 (patch)
treef83a825a8193f37b5955c20738cb5113e9caa3b9 /luaotfload-extralibs.lua
parent166b74a41e2ff61a7f09846081c474872a799d20 (diff)
downloadluaotfload-ac4c2a64fc7883ad9c32f12d532fc8f0fc6f14a8.tar.gz
fix adapted letterspacing
Diffstat (limited to 'luaotfload-extralibs.lua')
-rw-r--r--luaotfload-extralibs.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/luaotfload-extralibs.lua b/luaotfload-extralibs.lua
index ddf3694..84819f4 100644
--- a/luaotfload-extralibs.lua
+++ b/luaotfload-extralibs.lua
@@ -51,12 +51,16 @@ local kernfont = typesetters.kernfont
nodes = nodes or { } --- should be present with luaotfload
local bothways = function (t) return table.swapped (t, t) end
-nodes.kerncodes = bothways({
+local kerncodes = bothways({
[0] = "fontkern",
[1] = "userkern",
[2] = "accentkern",
})
+kerncodes.kerning = kerncodes.fontkern --- idiosyncrasy
+
+nodes.kerncodes = kerncodes
+
nodes.skipcodes = bothways({
[ 0] = "userskip",
[ 1] = "lineskip",