diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2010-06-14 16:10:15 +0300 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2010-06-14 16:19:12 +0300 |
commit | 621517c654f76d4ace7720d7a03e3418c057b6e3 (patch) | |
tree | 72ad41f2c785d9e5ebb63e8ecd5c181e1453392c /otfl-node-dum.lua | |
parent | 313233199b453d1f39eabe01a6ae67ebbdfb48db (diff) | |
download | luaotfload-621517c654f76d4ace7720d7a03e3418c057b6e3.tar.gz |
Misc. bug fixes
No features were processed in node mode.
Diffstat (limited to 'otfl-node-dum.lua')
-rw-r--r-- | otfl-node-dum.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/otfl-node-dum.lua b/otfl-node-dum.lua index fbc8264..9483e51 100644 --- a/otfl-node-dum.lua +++ b/otfl-node-dum.lua @@ -13,6 +13,7 @@ attributes = attributes or { } local traverse_id = node.traverse_id local free_node = node.free local remove_node = node.remove +local new_node = node.new local glyph = node.id('glyph') @@ -48,6 +49,7 @@ nodes.unprotect_glyphs = node.unprotect_glyphs function nodes.process_characters(head) local usedfonts, done, prevfont = { }, false, nil for n in traverse_id(glyph,head) do + local font = n.font if font ~= prevfont then prevfont = font local used = usedfonts[font] |