diff --git a/doc/gl2ps.tex b/doc/gl2ps.tex index d07eb64bca3600b4675a75338ce1da901c598108..3de45217b85cc364631c413e5510672e04afbecd 100644 --- a/doc/gl2ps.tex +++ b/doc/gl2ps.tex @@ -1,4 +1,4 @@ -% $Id: gl2ps.tex,v 1.222 2006-11-06 00:48:06 geuzaine Exp $ +% $Id: gl2ps.tex,v 1.223 2006-11-06 00:53:53 geuzaine Exp $ % % GL2PS, an OpenGL to PostScript Printing Library % Copyright (C) 1999-2006 Christophe Geuzaine <geuz@geuz.org> @@ -992,7 +992,7 @@ seem to be available anymore). PostScript output, where a viewport could be drawn with an unwanted colored outline. \item[1.3.2] (Nov 5, 2006) Fixed bug in polygon offset computation; - fixed landscape mode in SVG; fixed possible out-of-bound array + fixed landscape mode in SVG; fixed potential out-of-bounds array access in stippling pattern parser. \end{description} diff --git a/gl2ps.c b/gl2ps.c index 244424c4ea044dffadef385ddc60a3275594355f..3e8642faeb32f8e96b5587677214292e3ecb0ce3 100644 --- a/gl2ps.c +++ b/gl2ps.c @@ -1,4 +1,4 @@ -/* $Id: gl2ps.c,v 1.242 2006-10-30 17:11:52 geuzaine Exp $ */ +/* $Id: gl2ps.c,v 1.243 2006-11-06 00:53:53 geuzaine Exp $ */ /* * GL2PS, an OpenGL to PostScript Printing Library * Copyright (C) 1999-2006 Christophe Geuzaine <geuz@geuz.org> @@ -4870,8 +4870,8 @@ static void gl2psPrintSVGHeader(void) gl2psPrintf("<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n"); gl2psPrintf("<svg xmlns=\"http://www.w3.org/2000/svg\"\n"); gl2psPrintf(" xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n" - " width=\"%dpx\" height=\"%dpx\" viewBox=\"%d %d %d %d\">\n", - width, height, x, y, width, height); + " width=\"%dpx\" height=\"%dpx\" viewBox=\"%d %d %d %d\">\n", + width, height, x, y, width, height); gl2psPrintf("<title>%s</title>\n", gl2ps->title); gl2psPrintf("<desc>\n"); gl2psPrintf("Creator: GL2PS %d.%d.%d%s, %s\n"