diff options
author | Hans Hagen <pragma@wxs.nl> | 2008-05-21 15:21:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2008-05-21 15:21:00 +0200 |
commit | 1d63a6eae86a6b78d4563ed60521449e4bf89f3c (patch) | |
tree | 5a0db36538992d01458e22ff765bf8258bd16161 /tex/context/base/font-enc.lua | |
parent | d7e26feb7432f7bd29dd065fa578dc8395fb408f (diff) | |
download | context-1d63a6eae86a6b78d4563ed60521449e4bf89f3c.tar.gz |
stable 2008.05.21 15:21
Diffstat (limited to 'tex/context/base/font-enc.lua')
-rw-r--r-- | tex/context/base/font-enc.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tex/context/base/font-enc.lua b/tex/context/base/font-enc.lua index 73b4ae5d8..fc77aefb9 100644 --- a/tex/context/base/font-enc.lua +++ b/tex/context/base/font-enc.lua @@ -27,7 +27,7 @@ fonts.enc.known = { } function fonts.enc.is_known(encoding) - return containers.is_valid(fonts.enc.cache,encoding) + return containers.is_valid(fonts.enc.cache(),encoding) end --[[ldx-- @@ -51,7 +51,7 @@ will be used.</p> function fonts.enc.load(filename) local name = file.removesuffix(filename) - local data = containers.read(fonts.enc.cache,name) + local data = containers.read(fonts.enc.cache(),name) if data then return data end @@ -93,7 +93,7 @@ function fonts.enc.load(filename) hash=hash, unicodes=unicodes } - return containers.write(fonts.enc.cache, name, data) + return containers.write(fonts.enc.cache(), name, data) end --[[ldx-- @@ -116,5 +116,5 @@ function fonts.enc.make_unicode_vector() for name, code in pairs(characters.synonyms) do vector[code], hash[name] = name, code end - return containers.write(fonts.enc.cache, 'unicode', { name='unicode', tag='unicode', vector=vector, hash=hash }) + return containers.write(fonts.enc.cache(), 'unicode', { name='unicode', tag='unicode', vector=vector, hash=hash }) end |