summaryrefslogtreecommitdiff
path: root/tex/context/base/font-otd.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/font-otd.lua')
-rw-r--r--tex/context/base/font-otd.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/font-otd.lua b/tex/context/base/font-otd.lua
index 89f84804c..cedc66a72 100644
--- a/tex/context/base/font-otd.lua
+++ b/tex/context/base/font-otd.lua
@@ -116,7 +116,7 @@ end
-- we reimplement the dataset resolver
-local constants = fonts.analyzers.constants
+local autofeatures = fonts.analyzers.features -- was: constants
local resolved = { } -- we only resolve a font,script,language,attribute pair once
local wildcard = "*"
@@ -147,7 +147,7 @@ local function initialize(sequence,script,language,s_enabled,a_enabled,font,attr
what = wildcard
end
if valid then
- local attribute = constants[kind] or false
+ local attribute = autofeatures[kind] or false
if a_e and dynamic < 0 then
valid = false
end