From ebdcfba2fc6c9bf4db2008a00058f3422a9d1da8 Mon Sep 17 00:00:00 2001 From: Jonathan Kew Date: Wed, 21 May 2008 13:19:17 +0000 Subject: update to xdvipdfmx 0.7, from xetex svn r.688 git-svn-id: svn://tug.org/texlive/trunk@8272 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/xdvipdfmx/src/t1_load.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Build/source/texk/xdvipdfmx/src/t1_load.c') diff --git a/Build/source/texk/xdvipdfmx/src/t1_load.c b/Build/source/texk/xdvipdfmx/src/t1_load.c index 100dfd6f794..5c05fefd2a3 100644 --- a/Build/source/texk/xdvipdfmx/src/t1_load.c +++ b/Build/source/texk/xdvipdfmx/src/t1_load.c @@ -1,4 +1,4 @@ -/* $Header: /home/cvsroot/dvipdfmx/src/t1_load.c,v 1.10 2006/12/06 12:52:43 chofchof Exp $ +/* $Header: /home/cvsroot/dvipdfmx/src/t1_load.c,v 1.11 2008/01/11 18:04:15 matthias Exp $ This is dvipdfmx, an eXtended version of dvipdfm by Mark A. Wicks. @@ -1071,6 +1071,9 @@ get_pfb_segment (FILE *fp, int expected_type, long *length) ERROR("PFB segment length zero?"); } + buffer = RENEW(buffer, bytesread+1, unsigned char); + buffer[bytesread] = 0; + if (length) *length = bytesread; return buffer; -- cgit v1.2.3