summaryrefslogtreecommitdiff
path: root/otfl-font-ott.lua
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2010-05-21 06:46:45 +0300
committerKhaled Hosny <khaledhosny@eglug.org>2010-05-21 07:07:28 +0300
commit3cbef76101d9aaef3b2c355c58675bf9f386d949 (patch)
treee11465e3a2ae642973a74ec1a5202d5cf815b176 /otfl-font-ott.lua
parent7714c6972814b0ff3175479b09d0139dd67c6ab0 (diff)
downloadluaotfload-3cbef76101d9aaef3b2c355c58675bf9f386d949.tar.gz
Sync with ConTeXt beta (beta 2010.05.20)
Diffstat (limited to 'otfl-font-ott.lua')
-rw-r--r--otfl-font-ott.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/otfl-font-ott.lua b/otfl-font-ott.lua
index d26c55f..2be1bf0 100644
--- a/otfl-font-ott.lua
+++ b/otfl-font-ott.lua
@@ -672,13 +672,13 @@ local to_scripts = otf.tables.to_scripts
local to_languages = otf.tables.to_languages
local to_features = otf.tables.to_features
-for k, v in pairs(to_features) do
+for k, v in next, to_features do
local stripped = gsub(k,"%-"," ")
to_features[stripped] = v
local stripped = gsub(k,"[^a-zA-Z0-9]","")
to_features[stripped] = v
end
-for k, v in pairs(to_features) do
+for k, v in next, to_features do
to_features[lower(k)] = v
end