From 36c6b8260133c93a4197536965dfb94c4ece41f0 Mon Sep 17 00:00:00 2001 From: Hiroki Sato Date: Sun, 15 Jan 2012 08:02:26 +0000 Subject: Update to 9.04. --- print/ghostscript9/files/patch-lips:gdevlips.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'print/ghostscript9/files/patch-lips:gdevlips.c') diff --git a/print/ghostscript9/files/patch-lips:gdevlips.c b/print/ghostscript9/files/patch-lips:gdevlips.c index 95f8b06f4841..0917be89e49a 100644 --- a/print/ghostscript9/files/patch-lips:gdevlips.c +++ b/print/ghostscript9/files/patch-lips:gdevlips.c @@ -1,18 +1,18 @@ ---- contrib/lips4/gdevlips.c.orig Thu Nov 2 12:09:18 2000 -+++ contrib/lips4/gdevlips.c Tue Jan 13 01:23:47 2004 +--- contrib/lips4/gdevlips.c.orig 2011-08-05 20:12:20.000000000 +0900 ++++ contrib/lips4/gdevlips.c 2011-12-06 15:31:38.000000000 +0900 @@ -62,7 +62,15 @@ - height = tmp; + height = tmp; } for (pt = lips_paper_table; pt->num_unit < 80; pt++) +/* add by shige 11/06 2003 */ +#ifdef USE_LIPS_SIZE_ERROR + if(pt->width+LIPS_SIZE_ERROR_VALUE>=width -+ && pt->width-LIPS_SIZE_ERROR_VALUE<=width -+ && pt->height+LIPS_SIZE_ERROR_VALUE>=height -+ && pt->height-LIPS_SIZE_ERROR_VALUE<=height) ++ && pt->width-LIPS_SIZE_ERROR_VALUE<=width ++ && pt->height+LIPS_SIZE_ERROR_VALUE>=height ++ && pt->height-LIPS_SIZE_ERROR_VALUE<=height) +#else - if (pt->width == width && pt->height == height) + if (pt->width == width && pt->height == height) +#endif - break; + break; return pt->num_unit + landscape; -- cgit v1.2.3