diff options
author | Philipp Gesang <phg@phi-gamma.net> | 2016-07-28 00:06:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-28 00:06:07 +0200 |
commit | 2fcdccf7edfa1cfb0f03fe8f2163c7c5d8281984 (patch) | |
tree | fcb876f65c47989ecdf254c5ea9d54caa3be10ae /src/fontloader/misc/fontloader-basics-nod.lua | |
parent | deef74c357ff2f88d53bc6a745b36b6a75717d2d (diff) | |
parent | d37cfaf8b6bd3e82c8220d385e5da53793f332e1 (diff) | |
download | luaotfload-2fcdccf7edfa1cfb0f03fe8f2163c7c5d8281984.tar.gz |
Merge pull request #373 from phi-gamma/master
fix adding of custom features
Diffstat (limited to 'src/fontloader/misc/fontloader-basics-nod.lua')
-rw-r--r-- | src/fontloader/misc/fontloader-basics-nod.lua | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/fontloader/misc/fontloader-basics-nod.lua b/src/fontloader/misc/fontloader-basics-nod.lua index e7b5ab2..42a7a2e 100644 --- a/src/fontloader/misc/fontloader-basics-nod.lua +++ b/src/fontloader/misc/fontloader-basics-nod.lua @@ -71,7 +71,7 @@ nodes.nodecodes = nodecodes nodes.glyphcodes = glyphcodes nodes.disccodes = disccodes -local free_node = node.free +local flush_node = node.flush_node local remove_node = node.remove local new_node = node.new local traverse_id = node.traverse_id @@ -95,7 +95,7 @@ function nodes.remove(head, current, free_too) head, current = remove_node(head,current) if t then if free_too then - free_node(t) + flush_node(t) t = nil else t.next, t.prev = nil, nil @@ -128,12 +128,14 @@ nodes.setattr = setfield nodes.tostring = node.tostring or tostring nodes.copy = node.copy +nodes.copy_node = node.copy nodes.copy_list = node.copy_list nodes.delete = node.delete nodes.dimensions = node.dimensions nodes.end_of_math = node.end_of_math nodes.flush_list = node.flush_list nodes.flush_node = node.flush_node +nodes.flush = node.flush_node nodes.free = node.free nodes.insert_after = node.insert_after nodes.insert_before = node.insert_before @@ -149,7 +151,6 @@ nodes.first_glyph = node.first_glyph nodes.has_glyph = node.has_glyph or node.first_glyph nodes.current_attr = node.current_attr -nodes.do_ligature_n = node.do_ligature_n nodes.has_field = node.has_field nodes.last_node = node.last_node nodes.usedlist = node.usedlist @@ -253,9 +254,12 @@ nuts.insert_before = direct.insert_before nuts.insert_after = direct.insert_after nuts.delete = direct.delete nuts.copy = direct.copy +nuts.copy_node = direct.copy nuts.copy_list = direct.copy_list nuts.tail = direct.tail nuts.flush_list = direct.flush_list +nuts.flush_node = direct.flush_node +nuts.flush = direct.flush nuts.free = direct.free nuts.remove = direct.remove nuts.is_node = direct.is_node |