diff options
author | Hans Hagen <pragma@wxs.nl> | 2010-10-21 23:27:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2010-10-21 23:27:00 +0200 |
commit | 67de987aa9e60bf263e0d1bc8a34a203e88a7447 (patch) | |
tree | 364615f963dc83246f6afd3209910300c2ccdfe3 /tex/context/base/font-enc.lua | |
parent | 90d120bb6575d66730755fceaa113a14d16b8712 (diff) | |
download | context-67de987aa9e60bf263e0d1bc8a34a203e88a7447.tar.gz |
beta 2010.10.21 23:27
Diffstat (limited to 'tex/context/base/font-enc.lua')
-rw-r--r-- | tex/context/base/font-enc.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tex/context/base/font-enc.lua b/tex/context/base/font-enc.lua index 000fb21bb..7b4f4a4f8 100644 --- a/tex/context/base/font-enc.lua +++ b/tex/context/base/font-enc.lua @@ -53,6 +53,8 @@ Latin Modern or <l n='tex'> Gyre) come in OpenType variants too, so these will be used.</p> --ldx]]-- +local enccodes = characters.enccodes + function enc.load(filename) local name = file.removesuffix(filename) local data = containers.read(enc.cache,name) @@ -70,7 +72,6 @@ function enc.load(filename) if foundname and foundname ~= "" then local ok, encoding, size = resolvers.loadbinfile(foundname) if ok and encoding then - local enccodes = characters.enccodes encoding = gsub(encoding,"%%(.-)\n","") local tag, vec = match(encoding,"/(%w+)%s*%[(.*)%]%s*def") local i = 0 |