diff options
author | Hans Hagen <pragma@wxs.nl> | 2020-11-15 21:03:33 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2020-11-15 21:03:33 +0100 |
commit | a9eb7ca71c27fdd59cf99273adf74b17d72063b2 (patch) | |
tree | bb5c72ee61c52da8046ed81bfe4b0906cd412030 /tex/context/base/mkiv/font-ttf.lua | |
parent | 87bd04a46f60bb925f6c98b7977f30441f5e8944 (diff) | |
download | context-a9eb7ca71c27fdd59cf99273adf74b17d72063b2.tar.gz |
2020-11-15 20:43: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, 2 insertions, 3 deletions
diff --git a/tex/context/base/mkiv/font-ttf.lua b/tex/context/base/mkiv/font-ttf.lua index 865f8e6e3..a2732aa5f 100644 --- a/tex/context/base/mkiv/font-ttf.lua +++ b/tex/context/base/mkiv/font-ttf.lua @@ -163,8 +163,7 @@ local function mergecomposites(glyphs,shapes) return contours, points end --- for index=1,#glyphs do - for index=0,#glyphs-1 do + for index=0,#glyphs do local shape = shapes[index] if shape then local components = shape.components @@ -659,7 +658,7 @@ local function repackpoints(glyphs,shapes) local result = { } -- reused local xpoints = { } -- reused local ypoints = { } -- reused - for index=0,#glyphs-1 do + for index=0,#glyphs do local shape = shapes[index] if shape then local r = 0 |