diff options
Diffstat (limited to 'tex/context/base/font-otp.lua')
-rw-r--r-- | tex/context/base/font-otp.lua | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tex/context/base/font-otp.lua b/tex/context/base/font-otp.lua index 6453268bf..6c4f185b3 100644 --- a/tex/context/base/font-otp.lua +++ b/tex/context/base/font-otp.lua @@ -509,5 +509,11 @@ local function unpackdata(data) end end -otf.enhancers.register( "pack", packdata) -otf.enhancers.register("unpack",unpackdata) +if otf.enhancers.register then + + otf.enhancers.register( "pack", packdata) + otf.enhancers.register("unpack",unpackdata) + +end + +otf.enhancers.unpack = unpackdata -- used elsewhere |