summaryrefslogtreecommitdiff
path: root/tex/context/base/font-enc.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2008-08-04 15:59:00 +0200
committerHans Hagen <pragma@wxs.nl>2008-08-04 15:59:00 +0200
commitf8ba0550d77fd6e2b307ff9dd3175fc0c613b8e2 (patch)
treeae27ca6edd0b2f1bcbe315d241b8152107d4e6a3 /tex/context/base/font-enc.lua
parent1d63a6eae86a6b78d4563ed60521449e4bf89f3c (diff)
downloadcontext-f8ba0550d77fd6e2b307ff9dd3175fc0c613b8e2.tar.gz
stable 2008.08.04 15:59
Diffstat (limited to 'tex/context/base/font-enc.lua')
-rw-r--r--tex/context/base/font-enc.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/tex/context/base/font-enc.lua b/tex/context/base/font-enc.lua
index fc77aefb9..86ace93c6 100644
--- a/tex/context/base/font-enc.lua
+++ b/tex/context/base/font-enc.lua
@@ -62,11 +62,11 @@ function fonts.enc.load(filename)
return data
end
local vector, tag, hash, unicodes = { }, "", { }, { }
- local foundname = input.find_file(texmf.instance,filename,'enc')
+ local foundname = input.find_file(filename,'enc')
if foundname and foundname ~= "" then
- local ok, encoding, size = input.loadbinfile(texmf.instance,foundname)
+ local ok, encoding, size = input.loadbinfile(foundname)
if ok and encoding then
- local enccodes = characters.context.enccodes
+ local enccodes = characters.enccodes
encoding = encoding:gsub("%%(.-)\n","")
local tag, vec = encoding:match("/(%w+)%s*%[(.*)%]%s*def")
local i = 0