diff options
| author | Vinicius Jose Latorre | 2007-01-26 23:47:52 +0000 |
|---|---|---|
| committer | Vinicius Jose Latorre | 2007-01-26 23:47:52 +0000 |
| commit | 949aadcc0793d7e129f0f65e0cb7c2ae6a3e75e0 (patch) | |
| tree | 2b54082c21f8ab448c23f03dc742fa3cc6b5f6b5 /etc | |
| parent | 3fb6f73a75addb33db276790cf88a938f0ea7eb5 (diff) | |
| download | emacs-949aadcc0793d7e129f0f65e0cb7c2ae6a3e75e0.tar.gz emacs-949aadcc0793d7e129f0f65e0cb7c2ae6a3e75e0.zip | |
Fix background height
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/ChangeLog.unicode | 6 | ||||
| -rw-r--r-- | etc/ps-prin1.ps | 36 |
2 files changed, 18 insertions, 24 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 @@ | |||
| 1 | 2007-01-26 Vinicius Jose Latorre <viniciusjl@ig.com.br> | ||
| 2 | |||
| 3 | * ps-prin1.ps (printBackground): Fix background height. | ||
| 4 | |||
| 1 | 2006-07-07 Kenichi Handa <handa@m17n.org> | 5 | 2006-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 |