diff options
Diffstat (limited to 'tex/context/base/mkiv/font-ctx.lua')
-rw-r--r-- | tex/context/base/mkiv/font-ctx.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tex/context/base/mkiv/font-ctx.lua b/tex/context/base/mkiv/font-ctx.lua index 8b8934c92..be233e570 100644 --- a/tex/context/base/mkiv/font-ctx.lua +++ b/tex/context/base/mkiv/font-ctx.lua @@ -2212,6 +2212,7 @@ end do + local kerncodes = nodes.kerncodes local copy_node = nuts.copy local kern = nuts.pool.register(nuts.pool.kern()) @@ -2223,7 +2224,9 @@ do return c end) - directives.register("nodes.injections.fontkern", function(v) setsubtype(kern,v and 0 or 1) end) + directives.register("fonts.injections.fontkern", function(v) + setsubtype(kern,v and kerncodes.fontkern or kerncodes.userkern) + end) end |