summaryrefslogtreecommitdiff
path: root/tex/context/base/node-typ.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2012-10-19 01:20:13 +0300
committerMarius <mariausol@gmail.com>2012-10-19 01:20:13 +0300
commit69d2352af4b60929b37fc49f3bdb263977016244 (patch)
treedb5eb11398e345dfa23b4c4500fb93575d2afb7c /tex/context/base/node-typ.lua
parentc18f7cbe51449a611ea1819fedd9a4ff18529b7d (diff)
downloadcontext-69d2352af4b60929b37fc49f3bdb263977016244.tar.gz
stable 2012.05.30 11:26
Diffstat (limited to 'tex/context/base/node-typ.lua')
-rw-r--r--tex/context/base/node-typ.lua9
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