summaryrefslogtreecommitdiff
path: root/otfl-node-dum.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-node-dum.lua
parenta4ad0bc15c4d506ba81f1e95431cf225ab094274 (diff)
downloadluaotfload-e7e1f9fa9046828a20677ac09a230eb383854c93.tar.gz
updating to latest (20090809) ConTeXt code (with minor bugfix)
Diffstat (limited to 'otfl-node-dum.lua')
-rw-r--r--otfl-node-dum.lua13
1 files changed, 4 insertions, 9 deletions
diff --git a/otfl-node-dum.lua b/otfl-node-dum.lua
index 274e0cd..f39a087 100644
--- a/otfl-node-dum.lua
+++ b/otfl-node-dum.lua
@@ -8,17 +8,12 @@ if not modules then modules = { } end modules ['node-dum'] = {
nodes = nodes or { }
-function nodes.simple_font_dummy(head,tail)
- return tail
-end
-
function nodes.simple_font_handler(head)
- local tail = node.slide(head)
--- lang.hyphenate(head,tail)
- head = nodes.process_characters(head,tail)
+-- lang.hyphenate(head)
+ head = nodes.process_characters(head)
nodes.inject_kerns(head)
nodes.protect_glyphs(head)
- tail = node.ligaturing(head,tail)
- tail = node.kerning(head,tail)
+ head = node.ligaturing(head)
+ head = node.kerning(head)
return head
end