rpms/paps/FC-5 paps-0.6.3-fix-pagesize.patch,NONE,1.1
Akira Tagoh (tagoh)
fedora-extras-commits at redhat.com
Fri Mar 24 09:49:54 UTC 2006
Author: tagoh
Update of /cvs/extras/rpms/paps/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26497
Added Files:
paps-0.6.3-fix-pagesize.patch
Log Message:
paps-0.6.3-fix-pagesize.patch:
--- NEW FILE paps-0.6.3-fix-pagesize.patch ---
diff -ruN paps-0.6.3.orig/src/paps.c paps-0.6.3/src/paps.c
--- paps-0.6.3.orig/src/paps.c 2005-12-21 05:22:04.000000000 +0900
+++ paps-0.6.3/src/paps.c 2006-03-24 18:27:06.000000000 +0900
@@ -558,6 +558,7 @@
"%%%%Title: %s\n"
"%%%%Creator: paps version 0.1 by Dov Grobgeld\n"
"%%%%Pages: (atend)\n"
+ "%%%%BoundingBox: 0 0 %d %d\n"
"%%%%BeginProlog\n"
"%%%%Orientation: %s\n"
"/papsdict 1 dict def\n"
@@ -605,6 +606,8 @@
" 0 pageheight neg translate\n"
"} def\n",
title,
+ page_layout->page_width,
+ page_layout->page_height,
orientation_names[orientation]
);
@@ -612,6 +615,7 @@
"%% User settings\n"
"/pagewidth %d def\n"
"/pageheight %d def\n"
+ "pagewidth pageheight setpagesize\n"
"/column_width %d def\n"
"/bodyheight %d def\n"
More information about the fedora-extras-commits
mailing list