summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/font-enc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkiv/font-enc.lua')
-rw-r--r--tex/context/base/mkiv/font-enc.lua7
1 files changed, 5 insertions, 2 deletions
diff --git a/tex/context/base/mkiv/font-enc.lua b/tex/context/base/mkiv/font-enc.lua
index 1470f3b8d..f448685a6 100644
--- a/tex/context/base/mkiv/font-enc.lua
+++ b/tex/context/base/mkiv/font-enc.lua
@@ -13,6 +13,9 @@ local match, gmatch, gsub = string.match, string.gmatch, string.gsub
local setmetatableindex = table.setmetatableindex
+local allocate = utilities.storage.allocate
+local mark = utilities.storage.mark
+
--[[ldx--
<p>Because encodings are going to disappear, we don't bother defining
them in tables. But we may do so some day, for consistency.</p>
@@ -25,7 +28,7 @@ fonts.encodings = encodings
encodings.version = 1.03
encodings.cache = containers.define("fonts", "enc", fonts.encodings.version, true)
-encodings.known = utilities.storage.allocate { -- sort of obsolete
+encodings.known = allocate { -- sort of obsolete
texnansi = true,
ec = true,
qx = true,
@@ -152,7 +155,7 @@ if not encodings.agl then
-- font is loaded for caching. Once we're further along the route we can also
-- delay it in the generic version (which doesn't use this file).
- encodings.agl = { }
+ encodings.agl = allocate { }
setmetatableindex(encodings.agl, function(t,k)
report_encoding("loading (extended) adobe glyph list")