diff options
Diffstat (limited to 'tex/context/base/node-typ.lua')
-rw-r--r-- | tex/context/base/node-typ.lua | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/tex/context/base/node-typ.lua b/tex/context/base/node-typ.lua index 754b398c4..5f8df2b44 100644 --- a/tex/context/base/node-typ.lua +++ b/tex/context/base/node-typ.lua @@ -13,7 +13,6 @@ local fontparameters = fonts.hashes.parameters local hpack = node.hpack local vpack = node.vpack -local fast_hpack = nodes.fasthpack local nodepool = nodes.pool @@ -46,9 +45,7 @@ local function tonodes(str,fontid,spacing) -- quick and dirty next = newglyph(fontid or 1,c) spacedone = false end - if not next then - -- nothing - elseif not head then + if not head then head = next else prev.next = next @@ -65,10 +62,6 @@ function typesetters.hpack(str,fontid,spacing) return hpack(tonodes(str,fontid,spacing),"exactly") end -function typesetters.fast_hpack(str,fontid,spacing) - return fast_hpack(tonodes(str,fontid,spacing),"exactly") -end - function typesetters.vpack(str,fontid,spacing) -- vpack is just a hack, and a proper implentation is on the agenda -- as it needs more info etc than currently available |