diff options
| author | Richard M. Stallman | 1998-05-23 20:20:48 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1998-05-23 20:20:48 +0000 |
| commit | f68af055fb38837041554f7dcd2c52e63f6e05ef (patch) | |
| tree | b3026fba8e09d0c5c3c1bbfd3012ddef5a02c3bc | |
| parent | d5bafc55395399e36bf20b6add8d8b582d2e6d0b (diff) | |
| download | emacs-f68af055fb38837041554f7dcd2c52e63f6e05ef.tar.gz emacs-f68af055fb38837041554f7dcd2c52e63f6e05ef.zip | |
(ps-print-version): Doc fix.
(ps-print-prologue-1): Adjust doLineNumber PostScript function.
| -rw-r--r-- | lisp/ps-print.el | 38 |
1 files changed, 21 insertions, 17 deletions
diff --git a/lisp/ps-print.el b/lisp/ps-print.el index 6c037b1275c..06d56c0effa 100644 --- a/lisp/ps-print.el +++ b/lisp/ps-print.el | |||
| @@ -7,11 +7,11 @@ | |||
| 7 | ;; Author: Vinicius Jose Latorre <vinicius@cpqd.com.br> | 7 | ;; Author: Vinicius Jose Latorre <vinicius@cpqd.com.br> |
| 8 | ;; Maintainer: Vinicius Jose Latorre <vinicius@cpqd.com.br> | 8 | ;; Maintainer: Vinicius Jose Latorre <vinicius@cpqd.com.br> |
| 9 | ;; Keywords: print, PostScript | 9 | ;; Keywords: print, PostScript |
| 10 | ;; Time-stamp: <98/05/15 21:15:06 vinicius> | 10 | ;; Time-stamp: <98/05/22 21:11:07 vinicius> |
| 11 | ;; Version: 3.06.1 | 11 | ;; Version: 3.06.2 |
| 12 | 12 | ||
| 13 | (defconst ps-print-version "3.06.1" | 13 | (defconst ps-print-version "3.06.2" |
| 14 | "ps-print.el, v 3.06.1 <98/05/15 vinicius> | 14 | "ps-print.el, v 3.06.2 <98/05/22 vinicius> |
| 15 | 15 | ||
| 16 | Vinicius's last change version -- this file may have been edited as part of | 16 | Vinicius's last change version -- this file may have been edited as part of |
| 17 | Emacs without changes to the version number. When reporting bugs, | 17 | Emacs without changes to the version number. When reporting bugs, |
| @@ -2065,19 +2065,23 @@ StandardEncoding 46 82 getinterval aload pop | |||
| 2065 | 2065 | ||
| 2066 | % stack: -- | 2066 | % stack: -- |
| 2067 | /doLineNumber { | 2067 | /doLineNumber { |
| 2068 | currentfont | 2068 | /LineNumber where |
| 2069 | gsave | 2069 | { |
| 2070 | 0.0 0.0 0.0 setrgbcolor | 2070 | pop |
| 2071 | /L0 findfont setfont | 2071 | currentfont |
| 2072 | LineNumber Lines ge | 2072 | gsave |
| 2073 | {(end )} | 2073 | 0.0 0.0 0.0 setrgbcolor |
| 2074 | {LineNumber 6 string cvs ( ) strcat} | 2074 | /L0 findfont setfont |
| 2075 | ifelse | 2075 | LineNumber Lines ge |
| 2076 | dup stringwidth pop neg 0 rmoveto | 2076 | {(end )} |
| 2077 | show | 2077 | {LineNumber 6 string cvs ( ) strcat} |
| 2078 | grestore | 2078 | ifelse |
| 2079 | setfont | 2079 | dup stringwidth pop neg 0 rmoveto |
| 2080 | /LineNumber LineNumber 1 add def | 2080 | show |
| 2081 | grestore | ||
| 2082 | setfont | ||
| 2083 | /LineNumber LineNumber 1 add def | ||
| 2084 | } if | ||
| 2081 | } def | 2085 | } def |
| 2082 | 2086 | ||
| 2083 | % stack: -- | 2087 | % stack: -- |