rpms/paps/devel paps-0.6.8-dsc-compliant.patch, 1.2, 1.3 paps.spec, 1.29, 1.30

Akira Tagoh (tagoh) fedora-extras-commits at redhat.com
Wed Jan 23 02:15:23 UTC 2008


Author: tagoh

Update of /cvs/pkgs/rpms/paps/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20365

Modified Files:
	paps-0.6.8-dsc-compliant.patch paps.spec 
Log Message:
* Wed Jan 23 2008 Akira TAGOH <tagoh at redhat.com> - 0.6.8-4
- Fix an exception on ghostscript. (#429275)

paps-0.6.8-dsc-compliant.patch:

Index: paps-0.6.8-dsc-compliant.patch
===================================================================
RCS file: /cvs/pkgs/rpms/paps/devel/paps-0.6.8-dsc-compliant.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- paps-0.6.8-dsc-compliant.patch	15 Jan 2008 02:16:55 -0000	1.2
+++ paps-0.6.8-dsc-compliant.patch	23 Jan 2008 02:15:05 -0000	1.3
@@ -26,9 +26,9 @@
 -			 "/goto_x { fontdict begin /last_x exch def end } def\n"
 -			 "/fwd_x { fontdict begin /last_x exch last_x add def end } def\n"
 +			 "/draw_char { fontdict begin gsave %f dup scale last_x cvi last_y cvi translate load exec end grestore} def\n"
-+			 "/goto_xy { fontdict begin /last_y exch last_y cvs def /last_x exch last_x cvs def end } def\n"
-+			 "/goto_x { fontdict begin /last_x exch last_x cvs def end } def\n"
-+			 "/fwd_x { fontdict begin /last_x exch last_x cvi add last_x cvs def end } def\n"
++			 "/goto_xy { fontdict begin /last_y exch string_y cvs def /last_x exch string_x cvs def end } def\n"
++			 "/goto_x { fontdict begin /last_x exch string_x cvs def end } def\n"
++			 "/fwd_x { fontdict begin /last_x exch last_x cvi add string_x cvs def end } def\n"
  			 "/c /curveto load def\n"
  			 "/x /conicto load def\n"
  			 "/l /lineto load def\n"
@@ -37,7 +37,7 @@
    /* Open up dictionaries */
    g_string_append(paps->header,
 -		  "/fontdict 1 dict def\n"
-+		  "/fontdict 1 dict dup begin /last_x 16 string def /last_y 16 string def end def\n"
++		  "/fontdict 1 dict dup begin 16 string dup /string_x exch def /last_x exch def 16 string dup /string_y exch def /last_y exch def end def\n"
  		  "papsdict begin fontdict begin\n");
  }
  


Index: paps.spec
===================================================================
RCS file: /cvs/pkgs/rpms/paps/devel/paps.spec,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- paps.spec	15 Jan 2008 02:16:55 -0000	1.29
+++ paps.spec	23 Jan 2008 02:15:05 -0000	1.30
@@ -1,6 +1,6 @@
 Name:		paps
 Version:	0.6.8
-Release:	3%{?dist}
+Release:	4%{?dist}
 
 License:	LGPLv2+
 URL:		http://paps.sourceforge.net/
@@ -98,6 +98,9 @@
 %{_libdir}/libpaps.so
 
 %changelog
+* Wed Jan 23 2008 Akira TAGOH <tagoh at redhat.com> - 0.6.8-4
+- Fix an exception on ghostscript. (#429275)
+
 * Tue Jan 15 2008 Akira TAGOH <tagoh at redhat.com> - 0.6.8-3
 - Put %%%%Pages: after %%%%Trailer. (#424951)
 




More information about the fedora-extras-commits mailing list