diff options
author | Elie Roux <elie.roux@telecom-bretagne.eu> | 2009-04-08 13:18:29 +0200 |
---|---|---|
committer | Elie Roux <elie.roux@telecom-bretagne.eu> | 2009-04-08 13:18:29 +0200 |
commit | c3ccb3ee07e0a67171c24960966ae974e0dd8e98 (patch) | |
tree | c5e7ea101bca45dcadb4adda212b36e8b3203066 /otfl-node-dum.lua | |
download | luaotfload-c3ccb3ee07e0a67171c24960966ae974e0dd8e98.tar.gz |
adding a first working version of luaotfload
Diffstat (limited to 'otfl-node-dum.lua')
-rw-r--r-- | otfl-node-dum.lua | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/otfl-node-dum.lua b/otfl-node-dum.lua new file mode 100644 index 0000000..274e0cd --- /dev/null +++ b/otfl-node-dum.lua @@ -0,0 +1,24 @@ +if not modules then modules = { } end modules ['node-dum'] = { + version = 1.001, + comment = "companion to luatex-*.tex", + author = "Hans Hagen, PRAGMA-ADE, Hasselt NL", + copyright = "PRAGMA ADE / ConTeXt Development Team", + license = "see context related readme files" +} + +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) + nodes.inject_kerns(head) + nodes.protect_glyphs(head) + tail = node.ligaturing(head,tail) + tail = node.kerning(head,tail) + return head +end |