summaryrefslogtreecommitdiff
path: root/tex/context/base/font-ott.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/font-ott.lua')
-rw-r--r--tex/context/base/font-ott.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/tex/context/base/font-ott.lua b/tex/context/base/font-ott.lua
index 34802de9f..379032f18 100644
--- a/tex/context/base/font-ott.lua
+++ b/tex/context/base/font-ott.lua
@@ -635,9 +635,9 @@ local baselines = {
['romn'] = 'Roman baseline'
}
-local to_scripts = table.reverse_hash(scripts )
-local to_languages = table.reverse_hash(languages)
-local to_features = table.reverse_hash(features )
+local to_scripts = table.swaphash(scripts )
+local to_languages = table.swaphash(languages)
+local to_features = table.swaphash(features )
tables.scripts = scripts
tables.languages = languages