summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/mkiv/font-otp.lua
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-04-19 23:04:15 +0000
committerKarl Berry <karl@freefriends.org>2017-04-19 23:04:15 +0000
commitf74161ca4e7eb3c5af9afcbe92522ae3b58987c1 (patch)
tree3c30a13df5ac7968195c85070a2b074578e669d2 /Master/texmf-dist/tex/context/base/mkiv/font-otp.lua
parent1d5a55ac8f5506a7ae9cfca52f4b588182e199d4 (diff)
context beta/cont-tmf.zip (Apr 16 12:55)
git-svn-id: svn://tug.org/texlive/trunk@43931 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/context/base/mkiv/font-otp.lua')
-rw-r--r--Master/texmf-dist/tex/context/base/mkiv/font-otp.lua19
1 files changed, 2 insertions, 17 deletions
diff --git a/Master/texmf-dist/tex/context/base/mkiv/font-otp.lua b/Master/texmf-dist/tex/context/base/mkiv/font-otp.lua
index 91bd05b322f..c52e574b931 100644
--- a/Master/texmf-dist/tex/context/base/mkiv/font-otp.lua
+++ b/Master/texmf-dist/tex/context/base/mkiv/font-otp.lua
@@ -30,9 +30,6 @@ fonts.handlers = handlers
local otf = handlers.otf or { }
handlers.otf = otf
-local enhancers = otf.enhancers or { }
-otf.enhancers = enhancers
-
local glists = otf.glists or { "gsub", "gpos" }
otf.glists = glists
@@ -146,7 +143,7 @@ end
-- and repack in such cases (never needed anyway) .. a tricky aspect is that
-- we then need to sort more thanks to random hashing
-local function packdata(data)
+function otf.packdata(data)
if data then
-- stripdata(data)
@@ -536,7 +533,7 @@ local unpacked_mt = {
end
}
-local function unpackdata(data)
+function otf.unpackdata(data)
if data then
local tables = data.tables
@@ -895,15 +892,3 @@ local function unpackdata(data)
end
end
end
-
-if otf.enhancers.register then
-
- otf.enhancers.register( "pack", packdata)
- otf.enhancers.register("unpack",unpackdata)
-
--- todo: directive
-
-end
-
-otf.enhancers.unpack = unpackdata -- used elsewhere
-otf.enhancers.pack = packdata -- used elsewhere