summaryrefslogtreecommitdiff
path: root/otfl-font-otn.lua
diff options
context:
space:
mode:
authorElie Roux <elie.roux@telecom-bretagne.eu>2009-08-10 08:54:22 +0300
committerElie Roux <elie.roux@telecom-bretagne.eu>2009-08-10 08:54:22 +0300
commite7e1f9fa9046828a20677ac09a230eb383854c93 (patch)
tree9539e3bb3f59e690d2f1d70c8053fde76b5c52df /otfl-font-otn.lua
parenta4ad0bc15c4d506ba81f1e95431cf225ab094274 (diff)
downloadluaotfload-e7e1f9fa9046828a20677ac09a230eb383854c93.tar.gz
updating to latest (20090809) ConTeXt code (with minor bugfix)
Diffstat (limited to 'otfl-font-otn.lua')
-rw-r--r--otfl-font-otn.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/otfl-font-otn.lua b/otfl-font-otn.lua
index 719c0ca..3c11b84 100644
--- a/otfl-font-otn.lua
+++ b/otfl-font-otn.lua
@@ -150,7 +150,7 @@ trackers.register("*otf.sample","otf.steps,otf.actions,otf.analyzing")
local insert_node_after = node.insert_after
local delete_node = nodes.delete
local copy_node = node.copy
-local slide_node_list = node.slide
+local find_node_tail = node.tail or node.slide
local set_attribute = node.set_attribute
local has_attribute = node.has_attribute
@@ -1905,7 +1905,7 @@ function fonts.methods.node.otf.features(head,font,attr)
local handler = handlers[typ]
local thecache = featuredata[typ] or { }
-- we need to get rid of this slide !
- start = slide_node_list(head) -- slow (we can store tail because there's always a skip at the end): todo
+ start = find_node_tail(head) -- slow (we can store tail because there's always a skip at the end): todo
while start do
local id = start.id
if id == glyph then