Fix background height
authorVinicius Jose Latorre <viniciusjl@ig.com.br>
Sat, 27 Jan 2007 00:10:33 +0000 (00:10 +0000)
committerVinicius Jose Latorre <viniciusjl@ig.com.br>
Sat, 27 Jan 2007 00:10:33 +0000 (00:10 +0000)
etc/ChangeLog
etc/ps-prin1.ps
lisp/ChangeLog
lisp/ps-print.el

index 9c0cf45..0c5e074 100644 (file)
@@ -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.
index 118133b..3ab3d61 100644 (file)
@@ -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 @@ StandardEncoding 46 82 getinterval aload pop
 % 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
index 0170c52..38763f6 100644 (file)
@@ -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
 
        * 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).
        * 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>
index 2484bd6..ca8cada 100644 (file)
 ;; 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