diff options
author | Han The Thanh <hanthethanh@gmail.com> | 2009-07-13 08:40:49 +0000 |
---|---|---|
committer | Han The Thanh <hanthethanh@gmail.com> | 2009-07-13 08:40:49 +0000 |
commit | ce020ad65649f6c6ad6721038fe63aa3cf8f34b2 (patch) | |
tree | 3a57a1bf90defae56a025fdb0186dc5a512f7866 /Build/source/texk/web2c/pdftexdir/writettf.c | |
parent | 10f6b2c95a4f134435e20f90eb9d3ca04f5f5e85 (diff) |
minor fixes for pdftex
git-svn-id: svn://tug.org/texlive/trunk@14235 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/pdftexdir/writettf.c')
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/writettf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/writettf.c b/Build/source/texk/web2c/pdftexdir/writettf.c index 920627453bb..211e750f295 100644 --- a/Build/source/texk/web2c/pdftexdir/writettf.c +++ b/Build/source/texk/web2c/pdftexdir/writettf.c @@ -403,7 +403,7 @@ static void ttf_read_mapx(void) glyph->name_index = 0; glyph->name = (char *) notdef; } - glyph_index = xtalloc(glyphs_count, long); + glyph_index = xtalloc(glyphs_count + 1, long); glyph_index[0] = 0; /* index of ".notdef" glyph */ glyph_index[1] = 1; /* index of ".null" glyph */ } |