diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2013-05-20 11:32:48 -0700 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2013-05-20 11:32:48 -0700 |
commit | e7b6210272a3287205d0692c995d35d5b783c189 (patch) | |
tree | cc7c7efe7d19eaeaa0c694ad29fd7aa443bec43b /luaotfload-extralibs.lua | |
parent | 24caa705787b2b8259d47392483c188759b41226 (diff) | |
parent | 1a66cdf2619cbbb8cd43b40200e265d52a321a85 (diff) | |
download | luaotfload-e7b6210272a3287205d0692c995d35d5b783c189.tar.gz |
Merge pull request #85 from phi-gamma/master
fix pfa loading (missing upvalue); fix letterspacing of user kerns
Diffstat (limited to 'luaotfload-extralibs.lua')
-rw-r--r-- | luaotfload-extralibs.lua | 6 |
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", |