Don't use carriage return in ps2epsi output (bug #635786).

This commit is contained in:
Tim Waugh 2010-09-30 17:03:41 +01:00
parent e32518926c
commit 1deda51edb
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,14 @@
diff -up ghostscript-8.71/lib/ps2epsi.ps.ps2epsi-cr ghostscript-8.71/lib/ps2epsi.ps
--- ghostscript-8.71/lib/ps2epsi.ps.ps2epsi-cr 2010-09-30 17:02:05.673891679 +0100
+++ ghostscript-8.71/lib/ps2epsi.ps 2010-09-30 17:02:13.877891640 +0100
@@ -193,8 +193,8 @@ ps2edict begin
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

View File

@ -43,6 +43,7 @@ Patch24: ghostscript-epstopdf-failure.patch
Patch25: ghostscript-bbox-close.patch
Patch26: ghostscript-gdevcups-ripcache.patch
Patch27: ghostscript-Fontmap.local.patch
Patch28: ghostscript-ps2epsi-cr.patch
Requires: urw-fonts >= 1.1, ghostscript-fonts
BuildRequires: xz
@ -204,6 +205,9 @@ rm -rf libpng zlib jpeg jasper
# package manifest.
%patch27 -p1
# Don't use carriage return in ps2epsi output (bug #635786).
%patch28 -p1 -b .ps2epsi-cr
# Convert manual pages to UTF-8
from8859_1() {
iconv -f iso-8859-1 -t utf-8 < "$1" > "${1}_"
@ -386,6 +390,7 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Thu Sep 30 2010 Tim Waugh <twaugh@redhat.com> 8.71-17
- Don't use carriage return in ps2epsi output (bug #635786).
- Include more documentation (bug #634354).
* Mon Sep 13 2010 Tim Waugh <twaugh@redhat.com> 8.71-16