changeset 75418:0717aeaaa61d

Fix background height
author Vinicius Jose Latorre <viniciusjl@ig.com.br>
date Sat, 27 Jan 2007 00:10:33 +0000
parents c21d47d727f3
children dc00634e48ff
files etc/ChangeLog etc/ps-prin1.ps lisp/ChangeLog lisp/ps-print.el
diffstat 4 files changed, 21 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/etc/ChangeLog	Fri Jan 26 16:34:19 2007 +0000
+++ b/etc/ChangeLog	Sat Jan 27 00:10:33 2007 +0000
@@ -1,3 +1,7 @@
+2007-01-26  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
+
+	* ps-prin1.ps (printBackground): Fix background height.
+
 2007-01-20  Glenn Morris  <rgm@gnu.org>
 
 	* cd-dired-ref.tex (versionemacs): New def.
--- a/etc/ps-prin1.ps	Fri Jan 26 16:34:19 2007 +0000
+++ b/etc/ps-prin1.ps	Sat Jan 27 00:10:33 2007 +0000
@@ -1,7 +1,7 @@
 % === BEGIN ps-print prologue 1
-% version: 6.0
+% version: 6.1
 
-% Copyright (C) 2000, 2001, 2002, 2003, 2004  Free Software Foundation, Inc.
+% Copyright (C) 2000, 2001, 2002, 2003, 2004, 2007  Free Software Foundation, Inc.
 %
 % This file is part of GNU Emacs.
 %
@@ -429,14 +429,16 @@
 % stack: --
 /printBackground{
   /BackgroundColor where{
+    /LHg LineHeight 0.65 mul def
+    /PHg PrintHeight LHg add def
     pop gsave BackgroundColor SetColor
     NumberOfColumns{
      gsave
-     0 LineHeight 0.65 mul rmoveto
+     0 LHg rmoveto
      PrintWidth 0 rlineto
-     0 PrintHeight neg rlineto
+     0 PHg neg rlineto
      PrintWidth neg 0 rlineto
-     0 PrintHeight rlineto
+     0 PHg rlineto
      fill
      grestore
      PrintWidth InterColumn add 0 rmoveto
--- a/lisp/ChangeLog	Fri Jan 26 16:34:19 2007 +0000
+++ b/lisp/ChangeLog	Sat Jan 27 00:10:33 2007 +0000
@@ -1,3 +1,8 @@
+2007-01-26  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
+
+	* ps-print.ps: Fix background height.
+	(ps-print-version): New version 6.7.2.
+
 2007-01-26  Eli Zaretskii  <eliz@gnu.org>
 
 	* makefile.w32-in (finder-data, custom-deps): Depend on
@@ -100,7 +105,7 @@
 
 	* ps-print.el: Handle frame parameters (background and/or foreground
 	colors) changing dynamically.  Reported by Leo <sdl.web@gmail.com>.
-	(ps-print-version): New Version 6.7.1.
+	(ps-print-version): New version 6.7.1.
 	(ps-x-frame-property, ps-e-frame-parameter): New aliases.
 	(ps-frame-parameter): New fun.
 	(ps-default-fg, ps-default-bg): New default value ('frame-parameter).
@@ -1306,7 +1311,7 @@
 	* ps-mule.el: Eliminate Emacs 20 compatibility.
 
 	* ps-print.el: Eliminate Emacs 20 & 21 compatibility.
-	(ps-print-version): New Version 6.7.
+	(ps-print-version): New version 6.7.
 	(ps-print-quote): Replace '?\ ' by '?\s'.
 
 2006-11-30  Juanma Barranquero  <lekktu@gmail.com>
--- a/lisp/ps-print.el	Fri Jan 26 16:34:19 2007 +0000
+++ b/lisp/ps-print.el	Sat Jan 27 00:10:33 2007 +0000
@@ -10,11 +10,11 @@
 ;; Maintainer: Kenichi Handa <handa@m17n.org> (multi-byte characters)
 ;;	Vinicius Jose Latorre <viniciusjl@ig.com.br>
 ;; Keywords: wp, print, PostScript
-;; Version: 6.7.1
+;; Version: 6.7.2
 ;; X-URL: http://www.emacswiki.org/cgi-bin/wiki/ViniciusJoseLatorre
 
-(defconst ps-print-version "6.7.1"
-  "ps-print.el, v 6.7.1 <2007/01/21 vinicius>
+(defconst ps-print-version "6.7.2"
+  "ps-print.el, v 6.7.2 <2007/01/26 vinicius>
 
 Vinicius's last change version -- this file may have been edited as part of
 Emacs without changes to the version number.  When reporting bugs, please also