diff options
author | Context Git Mirror Bot <phg42.2a@gmail.com> | 2016-03-31 10:13:17 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2016-03-31 10:13:17 +0200 |
commit | e819b543f65c17964c36a2371f152b3c5f55d28a (patch) | |
tree | 14b05d0cc09ff0023832aa3723934cb36162e9e9 /tex/context/base/mkiv/typo-krn.lua | |
parent | ed2c824995ef51ddb1dfc1fa2a526933cd377cda (diff) | |
download | context-e819b543f65c17964c36a2371f152b3c5f55d28a.tar.gz |
2016-03-31 09:10:00
Diffstat (limited to 'tex/context/base/mkiv/typo-krn.lua')
-rw-r--r-- | tex/context/base/mkiv/typo-krn.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/mkiv/typo-krn.lua b/tex/context/base/mkiv/typo-krn.lua index bb9061c56..7607fc5f5 100644 --- a/tex/context/base/mkiv/typo-krn.lua +++ b/tex/context/base/mkiv/typo-krn.lua @@ -50,7 +50,7 @@ local setsubtype = nuts.setsubtype local texsetattribute = tex.setattribute local unsetvalue = attributes.unsetvalue -local resetglue = nuts.resetglue +local setglue = nuts.setglue -- todo local new_kern = nodepool.kern local new_glue = nodepool.glue @@ -554,13 +554,13 @@ function kerns.handler(head) local width = w + gluefactor * w * krn local stretch = getfield(start,"stretch") * width / w local shrink = getfield(start,"shrink") * width / w - setfield(start,"width",width) if fillup then stretch = 2 * stretch shrink = 2 * shrink setfield(start,"stretch_order",1) -- shrink_order ? end + setfield(start,"width",width) setfield(start,"stretch",stretch) setfield(start,"shrink", shrink) -- |