summaryrefslogtreecommitdiff
path: root/tex/context/base/font-otn.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2012-10-17 20:20:13 +0300
committerMarius <mariausol@gmail.com>2012-10-17 20:20:13 +0300
commit3d3b6af2a13fb57dd36377954669124ceac73b3d (patch)
tree07d6438c44c9ba2ab5cebabf0479092dcc56a63c /tex/context/base/font-otn.lua
parent25454333dc3c49ab6607696ad221d4f9de91e1ef (diff)
downloadcontext-3d3b6af2a13fb57dd36377954669124ceac73b3d.tar.gz
beta 2012.10.17 19:02
Diffstat (limited to 'tex/context/base/font-otn.lua')
-rw-r--r--tex/context/base/font-otn.lua15
1 files changed, 2 insertions, 13 deletions
diff --git a/tex/context/base/font-otn.lua b/tex/context/base/font-otn.lua
index 6ea35f139..2c670825a 100644
--- a/tex/context/base/font-otn.lua
+++ b/tex/context/base/font-otn.lua
@@ -2097,18 +2097,7 @@ end)
-- fonts.hashes.lookups = lookuphashes
-local special_attributes = {
- init = 1,
- medi = 2,
- fina = 3,
- isol = 4,
- -- devanagari
- rphf = 5,
- half = 6,
- pref = 7,
- blwf = 8,
- pstf = 9,
-}
+local constants = fonts.analyzers.constants
local function initialize(sequence,script,language,enabled)
local features = sequence.features
@@ -2118,7 +2107,7 @@ local function initialize(sequence,script,language,enabled)
if valid then
local languages = scripts[script] or scripts[wildcard]
if languages and (languages[language] or languages[wildcard]) then
- return { valid, special_attributes[kind] or false, sequence.chain or 0, kind, sequence }
+ return { valid, constants[kind] or false, sequence.chain or 0, kind, sequence }
end
end
end