summaryrefslogtreecommitdiff
path: root/otfl-font-ota.lua
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2010-06-18 17:40:29 +0300
committerKhaled Hosny <khaledhosny@eglug.org>2010-06-18 17:40:29 +0300
commit03e78f8f86fa8286c8bee314a26c454d79a871f4 (patch)
tree742ef2437f0298e132d25e2e5be9547f391a8709 /otfl-font-ota.lua
parentbf920c5bd42fd1ada8f3c5f116164370d7a59d57 (diff)
downloadluaotfload-03e78f8f86fa8286c8bee314a26c454d79a871f4.tar.gz
Sync with ConTeXt beta (beta 2010.06.18)
Diffstat (limited to 'otfl-font-ota.lua')
-rw-r--r--otfl-font-ota.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/otfl-font-ota.lua b/otfl-font-ota.lua
index 0b61e17..0e5b555 100644
--- a/otfl-font-ota.lua
+++ b/otfl-font-ota.lua
@@ -51,6 +51,7 @@ local a_to_language = otf.a_to_language
-- somewhat slower; and .. we need a chain of them
function fonts.initializers.node.otf.analyze(tfmdata,value,attr)
+ local script, language
if attr and attr > 0 then
script, language = a_to_script[attr], a_to_language[attr]
else