summaryrefslogtreecommitdiff
path: root/etc/ps-prin1.ps
diff options
context:
space:
mode:
authorVinicius Jose Latorre <viniciusjl@ig.com.br>2007-01-27 00:10:33 +0000
committerVinicius Jose Latorre <viniciusjl@ig.com.br>2007-01-27 00:10:33 +0000
commitd47570439f26569d1eafbcd6436d6f97fad38f21 (patch)
treef395a170437bcb75cbad80b3207d27dc1600f3ec /etc/ps-prin1.ps
parent430e6c77d8ac048f3947ab918f484c5dedfa7ebd (diff)
downloademacs-d47570439f26569d1eafbcd6436d6f97fad38f21.tar.gz
Fix background height
Diffstat (limited to 'etc/ps-prin1.ps')
-rw-r--r--etc/ps-prin1.ps12
1 files changed, 7 insertions, 5 deletions
diff --git a/etc/ps-prin1.ps b/etc/ps-prin1.ps
index 118133ba73b..3ab3d6176f6 100644
--- a/etc/ps-prin1.ps
+++ b/etc/ps-prin1.ps
@@ -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