diff options
| author | Kenichi Handa | 2000-01-05 07:16:52 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2000-01-05 07:16:52 +0000 |
| commit | 3ea591bda68ddd635bcec81c82b8b019a2722fde (patch) | |
| tree | a6180b04b567359c1e62f8010537dafeff8aa16e | |
| parent | ae833aae6e67bdf826e789a9da55a7b7d695fd57 (diff) | |
| download | emacs-3ea591bda68ddd635bcec81c82b8b019a2722fde.tar.gz emacs-3ea591bda68ddd635bcec81c82b8b019a2722fde.zip | |
ps-vars eliminated, ps-multibyte-buffer now is
`;;;###autoload'.
| -rw-r--r-- | lisp/ps-mule.el | 105 |
1 files changed, 50 insertions, 55 deletions
diff --git a/lisp/ps-mule.el b/lisp/ps-mule.el index 014913fc59c..fa6a1ac55cc 100644 --- a/lisp/ps-mule.el +++ b/lisp/ps-mule.el | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | ;; Maintainer: Kenichi Handa <handa@etl.go.jp> (multi-byte characters) | 7 | ;; Maintainer: Kenichi Handa <handa@etl.go.jp> (multi-byte characters) |
| 8 | ;; Maintainer: Vinicius Jose Latorre <vinicius@cpqd.com.br> | 8 | ;; Maintainer: Vinicius Jose Latorre <vinicius@cpqd.com.br> |
| 9 | ;; Keywords: wp, print, PostScript, multibyte, mule | 9 | ;; Keywords: wp, print, PostScript, multibyte, mule |
| 10 | ;; Time-stamp: <99/06/24 23:07:11 vinicius> | 10 | ;; Time-stamp: <99/12/11 20:09:24 vinicius> |
| 11 | 11 | ||
| 12 | ;; This file is part of GNU Emacs. | 12 | ;; This file is part of GNU Emacs. |
| 13 | 13 | ||
| @@ -93,57 +93,52 @@ | |||
| 93 | (eval-and-compile (require 'ps-print)) | 93 | (eval-and-compile (require 'ps-print)) |
| 94 | 94 | ||
| 95 | 95 | ||
| 96 | (require 'ps-vars) ; Common definitions | 96 | ;;;###autoload |
| 97 | 97 | (defcustom ps-multibyte-buffer nil | |
| 98 | 98 | "*Specifies the multi-byte buffer handling. | |
| 99 | ;;;; `ps-multibyte-buffer' definition should be placed in `ps-mule' but due to | 99 | |
| 100 | ;;;; compilation and customization gripes it was moved to `ps-print-def'. | 100 | Valid values are: |
| 101 | ;; | 101 | |
| 102 | ;;(defcustom ps-multibyte-buffer nil | 102 | nil This is the value to use the default settings which |
| 103 | ;; "*Specifies the multi-byte buffer handling. | 103 | is by default for printing buffer with only ASCII |
| 104 | ;; | 104 | and Latin characters. The default setting can be |
| 105 | ;;Valid values are: | 105 | changed by setting the variable |
| 106 | ;; | 106 | `ps-mule-font-info-database-default' differently. |
| 107 | ;; nil This is the value to use the default settings which | 107 | The initial value of this variable is |
| 108 | ;; is by default for printing buffer with only ASCII | 108 | `ps-mule-font-info-database-latin' (see |
| 109 | ;; and Latin characters. The default setting can be | 109 | documentation). |
| 110 | ;; changed by setting the variable | 110 | |
| 111 | ;; `ps-mule-font-info-database-default' differently. | 111 | `non-latin-printer' This is the value to use when you have a Japanese |
| 112 | ;; The initial value of this variable is | 112 | or Korean PostScript printer and want to print |
| 113 | ;; `ps-mule-font-info-database-latin' (see | 113 | buffer with ASCII, Latin-1, Japanese (JISX0208 and |
| 114 | ;; documentation). | 114 | JISX0201-Kana) and Korean characters. At present, |
| 115 | ;; | 115 | it was not tested the Korean characters printing. |
| 116 | ;; `non-latin-printer' This is the value to use when you have a Japanese | 116 | If you have a korean PostScript printer, please, |
| 117 | ;; or Korean PostScript printer and want to print | 117 | test it. |
| 118 | ;; buffer with ASCII, Latin-1, Japanese (JISX0208 and | 118 | |
| 119 | ;; JISX0201-Kana) and Korean characters. At present, | 119 | `bdf-font' This is the value to use when you want to print |
| 120 | ;; it was not tested the Korean characters printing. | 120 | buffer with BDF fonts. BDF fonts include both latin |
| 121 | ;; If you have a korean PostScript printer, please, | 121 | and non-latin fonts. BDF (Bitmap Distribution |
| 122 | ;; test it. | 122 | Format) is a format used for distributing X's font |
| 123 | ;; | 123 | source file. BDF fonts are included in |
| 124 | ;; `bdf-font' This is the value to use when you want to print | 124 | `intlfonts-1.1' which is a collection of X11 fonts |
| 125 | ;; buffer with BDF fonts. BDF fonts include both latin | 125 | for all characters supported by Emacs. In order to |
| 126 | ;; and non-latin fonts. BDF (Bitmap Distribution | 126 | use this value, be sure to have installed |
| 127 | ;; Format) is a format used for distributing X's font | 127 | `intlfonts-1.1' and set the variable |
| 128 | ;; source file. BDF fonts are included in | 128 | `bdf-directory-list' appropriately (see ps-bdf.el for |
| 129 | ;; `intlfonts-1.1' which is a collection of X11 fonts | 129 | documentation of this variable). |
| 130 | ;; for all characters supported by Emacs. In order to | 130 | |
| 131 | ;; use this value, be sure to have installed | 131 | `bdf-font-except-latin' This is like `bdf-font' except that it is used |
| 132 | ;; `intlfonts-1.1' and set the variable | 132 | PostScript default fonts to print ASCII and Latin-1 |
| 133 | ;; `bdf-directory-list' appropriately (see ps-bdf.el for | 133 | characters. This is convenient when you want or |
| 134 | ;; documentation of this variable). | 134 | need to use both latin and non-latin characters on |
| 135 | ;; | 135 | the same buffer. See `ps-font-family', |
| 136 | ;; `bdf-font-except-latin' This is like `bdf-font' except that it is used | 136 | `ps-header-font-family' and `ps-font-info-database'. |
| 137 | ;; PostScript default fonts to print ASCII and Latin-1 | 137 | |
| 138 | ;; characters. This is convenient when you want or | 138 | Any other value is treated as nil." |
| 139 | ;; need to use both latin and non-latin characters on | 139 | :type '(choice (const non-latin-printer) (const bdf-font) |
| 140 | ;; the same buffer. See `ps-font-family', | 140 | (const bdf-font-except-latin) (other :tag "nil" nil)) |
| 141 | ;; `ps-header-font-family' and `ps-font-info-database'. | 141 | :group 'ps-print-font) |
| 142 | ;; | ||
| 143 | ;;Any other value is treated as nil." | ||
| 144 | ;; :type '(choice (const non-latin-printer) (const bdf-font) | ||
| 145 | ;; (const bdf-font-except-latin) (other :tag "nil" nil)) | ||
| 146 | ;; :group 'ps-print-font) | ||
| 147 | 142 | ||
| 148 | 143 | ||
| 149 | ;; For Emacs 20.2 and the earlier version. | 144 | ;; For Emacs 20.2 and the earlier version. |
| @@ -640,9 +635,9 @@ STRING should contain only ASCII characters." | |||
| 640 | /RelativeCompose [ 0 0.1 ] def | 635 | /RelativeCompose [ 0 0.1 ] def |
| 641 | } { | 636 | } { |
| 642 | RelativeCompose false ne { | 637 | RelativeCompose false ne { |
| 643 | [ BaselineOffset RelativeCompose BaselineOffset add | 638 | [ BaselineOffset RelativeCompose BaselineOffset add |
| 644 | [ FontMatrix { FontSize div } forall ] transform ] | 639 | [ FontMatrix { FontSize div } forall ] transform ] |
| 645 | /RelativeCompose exch def | 640 | /RelativeCompose exch def |
| 646 | } if | 641 | } if |
| 647 | } ifelse | 642 | } ifelse |
| 648 | currentdict | 643 | currentdict |