[tex-k] output.c (dvipsk-5.86e)

Akira Kakuto kakuto@fsci.fuk.kindai.ac.jp
Wed, 12 Dec 2001 02:17:57 +0900


Hi. I think the following patch will be correct:

--- output.c.orig	Mon Oct 22 07:08:08 2001
+++ output.c	Wed Dec 12 01:48:29 2001
@@ -399,8 +399,8 @@
                               (void)putc(c, bitfile) ;
                               if (c == '\n')
                                  newlines++ ;
-                              else if (c == '\n')
-                                 newlines++ ;
+                              else if (c == '\r')
+                                 returns++ ;
                            }
                            /*
                             *   If we've seen precisely one too few newlines,

BTW, thumbnail in illustrator 9 causes an error, because
the byte count does not include \r and \n.
If I use scanForEnd = "%%EndData" instead of the byte count,
I can include an eps with thumbnail.
 
Sincerely,
Akira
-- 
Akira Kakuto