diff options
author | Hans Hagen <pragma@wxs.nl> | 2010-09-27 11:54:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2010-09-27 11:54:00 +0200 |
commit | 7635c09a0cab08e0c03efced85b6b8ffc0b508c1 (patch) | |
tree | 36f1af3165148b9671f8500e57c99eadeca3f240 /tex/context/base/font-otp.lua | |
parent | 1eb36c19101fc0bb7a9d2257413fb072118e47d9 (diff) | |
download | context-7635c09a0cab08e0c03efced85b6b8ffc0b508c1.tar.gz |
beta 2010.09.27 11:54
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 |