[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#681843: Spurious \r in ps2epsi.ps



First of all, PostScript can have \r, \n, or \r\n line
endings or any combination thereof. So the blame should be
directed to gv, rather than ps2epsi.

Yet, inconsistent line endings look strange. The original gs
has \n everywhere; it never had this bug. Somebody has
introduced it in the distribution. Please roll this change back.


--- /usr/share/ghostscript/9.10/lib/ps2epsi.ps	2015-07-29 16:51:57.000000000 -0400
+++ ghostscript-9.18/lib/ps2epsi.ps	2015-10-05 04:21:11.000000000 -0400
@@ -190,8 +190,8 @@
          epsifile (\n) writestring
      epsifile flushfile
 
-        epsifile BBoxString writestring epsifile (\r) writestring
-        epsifile HiresBBoxString writestring epsifile (\r) writestring
+        epsifile BBoxString writestring epsifile (\n) writestring
+        epsifile HiresBBoxString writestring epsifile (\n) writestring
 
     % Define character and bit widths for the output line buffer:
      /cwidth rm lm sub 1 add def

Reply to: