summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/typo-tal.lua
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2016-03-30 12:07:47 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2016-03-30 12:07:47 +0200
commited2c824995ef51ddb1dfc1fa2a526933cd377cda (patch)
treed70dbfc0cfe6b33c0b87c662d259e5fc53cb9afd /tex/context/base/mkiv/typo-tal.lua
parentf025339d0770904176dd9b32a405b23f809772ae (diff)
downloadcontext-ed2c824995ef51ddb1dfc1fa2a526933cd377cda.tar.gz
2016-03-30 12:01:00
Diffstat (limited to 'tex/context/base/mkiv/typo-tal.lua')
-rw-r--r--tex/context/base/mkiv/typo-tal.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/mkiv/typo-tal.lua b/tex/context/base/mkiv/typo-tal.lua
index c7efc0f28..f76a69a26 100644
--- a/tex/context/base/mkiv/typo-tal.lua
+++ b/tex/context/base/mkiv/typo-tal.lua
@@ -54,10 +54,10 @@ local insert_node_after = nuts.insert_after
local traverse_list_by_id = nuts.traverse_id
local dimensions_of_list = nuts.dimensions
local first_glyph = nuts.first_glyph
+local reset_glue = nuts.reset_glue
local nodepool = nuts.pool
local new_kern = nodepool.kern
-local new_gluespec = nodepool.gluespec
local tracers = nodes.tracers
local setcolor = tracers.colors.set
@@ -260,7 +260,7 @@ function characteralign.handler(originalhead,where)
local prev = getprev(current)
if next and prev and getid(next) == glyph_code and getid(prev) == glyph_code then -- too much checking
local width = fontcharacters[getfont(b_start)][separator or period].width
- setfield(current,"spec",new_gluespec(width))
+ reset_glue(current,width)
setattr(current,a_character,punctuationspace)
if a_start then
a_stop = current