diff options
author | Luigi Scarso <luigi.scarso@gmail.com> | 2019-02-22 23:11:47 +0000 |
---|---|---|
committer | Luigi Scarso <luigi.scarso@gmail.com> | 2019-02-22 23:11:47 +0000 |
commit | 5c6357cdb820b4f628d036ba7b2248f221d50c0b (patch) | |
tree | 6365552f2737faaffe63a395272da242ee2c4f03 /Master/texmf-dist/tex/context/base/mkiv/font-web.lua | |
parent | b4568bc71e054f3d1fd6404b45d2322631778284 (diff) |
ConTeXt version 2019.02.22 19:35
git-svn-id: svn://tug.org/texlive/trunk@50086 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/context/base/mkiv/font-web.lua')
-rw-r--r-- | Master/texmf-dist/tex/context/base/mkiv/font-web.lua | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/context/base/mkiv/font-web.lua b/Master/texmf-dist/tex/context/base/mkiv/font-web.lua index 452a8f59b67..376b036f2dd 100644 --- a/Master/texmf-dist/tex/context/base/mkiv/font-web.lua +++ b/Master/texmf-dist/tex/context/base/mkiv/font-web.lua @@ -23,18 +23,30 @@ local streamwriter = readers and readers.streamwriter or utilities.files local readstring = streamreader.readstring local readcardinal2 = streamreader.readcardinal2 local readcardinal4 = streamreader.readcardinal4 +local getsize = streamreader.getsize +local setposition = streamreader.setposition +local getposition = streamreader.getposition local writestring = streamwriter.writestring local writecardinal4 = streamwriter.writecardinal4 local writecardinal2 = streamwriter.writecardinal2 local writebyte = streamwriter.writebyte -local getsize = streamreader.getsize -local setposition = streamreader.setposition -local getposition = streamreader.getposition - local decompress = zlib.decompress +directives.register("fonts.streamreader",function() + + streamreader = utilities.streams + + readstring = streamreader.readstring + readcardinal2 = streamreader.readcardinal2 + readcardinal4 = streamreader.readcardinal4 + getsize = streamreader.getsize + setposition = streamreader.setposition + getposition = streamreader.getposition + +end) + local infotags = { ["os/2"] = true, ["head"] = true, |