aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinicius Jose Latorre2007-01-26 23:47:52 +0000
committerVinicius Jose Latorre2007-01-26 23:47:52 +0000
commit949aadcc0793d7e129f0f65e0cb7c2ae6a3e75e0 (patch)
tree2b54082c21f8ab448c23f03dc742fa3cc6b5f6b5
parent3fb6f73a75addb33db276790cf88a938f0ea7eb5 (diff)
downloademacs-949aadcc0793d7e129f0f65e0cb7c2ae6a3e75e0.tar.gz
emacs-949aadcc0793d7e129f0f65e0cb7c2ae6a3e75e0.zip
Fix background height
-rw-r--r--etc/ChangeLog.unicode6
-rw-r--r--etc/ps-prin1.ps36
-rw-r--r--lisp/ChangeLog.unicode9
-rw-r--r--lisp/ps-print.el10
4 files changed, 28 insertions, 33 deletions
diff --git a/etc/ChangeLog.unicode b/etc/ChangeLog.unicode
index cbb310093e7..249eecc555b 100644
--- a/etc/ChangeLog.unicode
+++ b/etc/ChangeLog.unicode
@@ -1,3 +1,7 @@
12007-01-26 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2
3 * ps-prin1.ps (printBackground): Fix background height.
4
12006-07-07 Kenichi Handa <handa@m17n.org> 52006-07-07 Kenichi Handa <handa@m17n.org>
2 6
3 * HELLO: Sync with HEAD. 7 * HELLO: Sync with HEAD.
@@ -70,7 +74,7 @@
70;; coding: iso-2022-7bit 74;; coding: iso-2022-7bit
71;; End: 75;; End:
72 76
73 Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002 77 Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2007
74 Free Software Foundation, Inc. 78 Free Software Foundation, Inc.
75 Copying and distribution of this file, with or without modification, 79 Copying and distribution of this file, with or without modification,
76 are permitted provided the copyright notice and this notice are preserved. 80 are permitted provided the copyright notice and this notice are preserved.
diff --git a/etc/ps-prin1.ps b/etc/ps-prin1.ps
index 2b4808c789c..3ab3d6176f6 100644
--- a/etc/ps-prin1.ps
+++ b/etc/ps-prin1.ps
@@ -1,7 +1,7 @@
1% === BEGIN ps-print prologue 1 1% === BEGIN ps-print prologue 1
2% version: 6.0 2% version: 6.1
3 3
4% Copyright (C) 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. 4% Copyright (C) 2000, 2001, 2002, 2003, 2004, 2007 Free Software Foundation, Inc.
5% 5%
6% This file is part of GNU Emacs. 6% This file is part of GNU Emacs.
7% 7%
@@ -429,14 +429,16 @@ StandardEncoding 46 82 getinterval aload pop
429% stack: -- 429% stack: --
430/printBackground{ 430/printBackground{
431 /BackgroundColor where{ 431 /BackgroundColor where{
432 /LHg LineHeight 0.65 mul def
433 /PHg PrintHeight LHg add def
432 pop gsave BackgroundColor SetColor 434 pop gsave BackgroundColor SetColor
433 NumberOfColumns{ 435 NumberOfColumns{
434 gsave 436 gsave
435 0 LineHeight 0.65 mul rmoveto 437 0 LHg rmoveto
436 PrintWidth 0 rlineto 438 PrintWidth 0 rlineto
437 0 PrintHeight neg rlineto 439 0 PHg neg rlineto
438 PrintWidth neg 0 rlineto 440 PrintWidth neg 0 rlineto
439 0 PrintHeight rlineto 441 0 PHg rlineto
440 fill 442 fill
441 grestore 443 grestore
442 PrintWidth InterColumn add 0 rmoveto 444 PrintWidth InterColumn add 0 rmoveto
@@ -770,28 +772,16 @@ StandardEncoding 46 82 getinterval aload pop
770 /is_right exch def 772 /is_right exch def
771 HFStart moveto 773 HFStart moveto
772 { % ---- process the lines 774 { % ---- process the lines
773 dup 0 get F 775 aload pop
776 exch F
774 gsave 777 gsave
778 dup xcheck{exec}if
775 is_right{ 779 is_right{
776 PrintHeaderWidth HFPad HFPad add sub 0 rmoveto 780 dup stringwidth pop
777 dup{ 781 PrintHeaderWidth exch sub HFPad HFPad add sub 0 rmoveto
778 dup type /nametype eq{
779 pop
780 }{
781 dup xcheck{exec}if
782 stringwidth pop neg 0 rmoveto
783 }ifelse
784 } forall
785 }if 782 }if
786 HFColor SetColor 783 HFColor SetColor
787 { 784 show
788 dup type /nametype eq {
789 pop
790 }{
791 dup xcheck{exec}if
792 show
793 } ifelse
794 } forall
795 grestore 785 grestore
796 0 HFLineHeight neg rmoveto 786 0 HFLineHeight neg rmoveto
797 }forall 787 }forall
diff --git a/lisp/ChangeLog.unicode b/lisp/ChangeLog.unicode
index 0f439efb050..0756213576b 100644
--- a/lisp/ChangeLog.unicode
+++ b/lisp/ChangeLog.unicode
@@ -1,8 +1,13 @@
12007-01-26 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2
3 * ps-print.ps: Fix background height.
4 (ps-print-version): New version 7.2.1.
5
12007-01-25 Vinicius Jose Latorre <viniciusjl@ig.com.br> 62007-01-25 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2 7
3 * ps-print.el: Split XEmacs/Emacs definitions and sample setup code 8 * ps-print.el: Split XEmacs/Emacs definitions and sample setup code
4 into separate files. 9 into separate files.
5 (ps-print-version): New Version 7.2. 10 (ps-print-version): New version 7.2.
6 (ps-postscript-code-directory): Fix XEmacs initialization. 11 (ps-postscript-code-directory): Fix XEmacs initialization.
7 (ps-generate-postscript-with-faces): Call 12 (ps-generate-postscript-with-faces): Call
8 ps-generate-postscript-with-faces1 (new fun). 13 ps-generate-postscript-with-faces1 (new fun).
@@ -60,7 +65,7 @@
60 65
61 * ps-print.el: Handle frame parameters (background and/or foreground 66 * ps-print.el: Handle frame parameters (background and/or foreground
62 colors) changing dynamically. Reported by Leo <sdl.web@gmail.com>. 67 colors) changing dynamically. Reported by Leo <sdl.web@gmail.com>.
63 (ps-print-version): New Version 7.1. 68 (ps-print-version): New version 7.1.
64 (ps-x-frame-property, ps-e-frame-parameter): New aliases. 69 (ps-x-frame-property, ps-e-frame-parameter): New aliases.
65 (ps-frame-parameter): New fun. 70 (ps-frame-parameter): New fun.
66 (ps-default-fg, ps-default-bg): New default value ('frame-parameter). 71 (ps-default-fg, ps-default-bg): New default value ('frame-parameter).
diff --git a/lisp/ps-print.el b/lisp/ps-print.el
index dfdfb2c52b9..67152c81034 100644
--- a/lisp/ps-print.el
+++ b/lisp/ps-print.el
@@ -10,11 +10,11 @@
10;; Maintainer: Kenichi Handa <handa@m17n.org> (multi-byte characters) 10;; Maintainer: Kenichi Handa <handa@m17n.org> (multi-byte characters)
11;; Vinicius Jose Latorre <viniciusjl@ig.com.br> 11;; Vinicius Jose Latorre <viniciusjl@ig.com.br>
12;; Keywords: wp, print, PostScript 12;; Keywords: wp, print, PostScript
13;; Version: 7.2 13;; Version: 7.2.1
14;; X-URL: http://www.emacswiki.org/cgi-bin/wiki/ViniciusJoseLatorre 14;; X-URL: http://www.emacswiki.org/cgi-bin/wiki/ViniciusJoseLatorre
15 15
16(defconst ps-print-version "7.2" 16(defconst ps-print-version "7.2.1"
17 "ps-print.el, v 7.2 <2007/01/19 vinicius> 17 "ps-print.el, v 7.2.1 <2007/01/26 vinicius>
18 18
19Vinicius's last change version -- this file may have been edited as part of 19Vinicius's last change version -- this file may have been edited as part of
20Emacs without changes to the version number. When reporting bugs, please also 20Emacs without changes to the version number. When reporting bugs, please also
@@ -2938,8 +2938,6 @@ Valid values are:
2938 2938
2939 frame-parameter The foreground-color frame parameter will be used. 2939 frame-parameter The foreground-color frame parameter will be used.
2940 2940
2941 frame-parameter The foreground-color frame parameter will be used.
2942
2943 NUMBER It's a real value between 0.0 (black) and 1.0 (white) that 2941 NUMBER It's a real value between 0.0 (black) and 1.0 (white) that
2944 indicate the gray color. 2942 indicate the gray color.
2945 2943
@@ -2983,8 +2981,6 @@ Valid values are:
2983 2981
2984 frame-parameter The background-color frame parameter will be used. 2982 frame-parameter The background-color frame parameter will be used.
2985 2983
2986 frame-parameter The background-color frame parameter will be used.
2987
2988 NUMBER It's a real value between 0.0 (black) and 1.0 (white) that 2984 NUMBER It's a real value between 0.0 (black) and 1.0 (white) that
2989 indicate the gray color. 2985 indicate the gray color.
2990 2986