diff options
author | Hans Hagen <pragma@wxs.nl> | 2018-07-05 23:56:28 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2018-07-05 23:56:28 +0200 |
commit | d6dece4edc2ef86889f99f3dbe5a6d6ed3b68b02 (patch) | |
tree | c1469b80be7520b9f2159390f9a8106216086997 /tex/context/base/mkiv/font-ttf.lua | |
parent | 847821faaecf92833f1e1564e1ef9377758d4d45 (diff) | |
download | context-d6dece4edc2ef86889f99f3dbe5a6d6ed3b68b02.tar.gz |
2018-07-05 23:13:00
Diffstat (limited to 'tex/context/base/mkiv/font-ttf.lua')
-rw-r--r-- | tex/context/base/mkiv/font-ttf.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tex/context/base/mkiv/font-ttf.lua b/tex/context/base/mkiv/font-ttf.lua index 1365b250d..bdfa3e859 100644 --- a/tex/context/base/mkiv/font-ttf.lua +++ b/tex/context/base/mkiv/font-ttf.lua @@ -710,7 +710,10 @@ local function readglyph(f,nofcontours) -- read deltas here, saves space local points = { } local instructions = { } local flags = { } - local contours = readintegertable(f,nofcontours,short) + local contours = { } -- readintegertable(f,nofcontours,short) + for i=1,nofcontours do + contours[i] = readshort(f) + 1 + end local nofpoints = contours[nofcontours] local nofinstructions = readushort(f) skipbytes(f,nofinstructions) |