diff options
Diffstat (limited to 'tex/context/base/mkiv/typo-tal.lua')
-rw-r--r-- | tex/context/base/mkiv/typo-tal.lua | 4 |
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 |