annotate lisp/ps-vars.el @ 27114:4efa5e54e9a9

(Qunspecified_fg, Qunspecified_bg): Remove. (syms_of_xfaces): Remove their staticpro's. (tty_color_name): Return Lisp strings for unspecified fore- and back-ground colors. (Finternal_set_lisp_face_attribute): Remove the special treatment for Qunspecified_{f,b}g. (realize_default_face): Replace Qunspecified_{f,b}g with a Lisp string.
author Eli Zaretskii <eliz@gnu.org>
date Mon, 03 Jan 2000 16:52:52 +0000
parents 390d4b3523e9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26484
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
1 ;;; ps-vars.el --- Common definitions for ps-print package
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
3 ;; Copyright (C) 1999 Free Software Foundation, Inc.
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
4
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
5 ;; Author: Vinicius Jose Latorre <vinicius@cpqd.com.br>
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
6 ;; Maintainer: Vinicius Jose Latorre <vinicius@cpqd.com.br>
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
7 ;; Keywords: wp, print, PostScript
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
8 ;; Time-stamp: <99/07/03 20:16:48 vinicius>
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
9 ;; Version: 1.0
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
10
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
11 ;; This file is part of GNU Emacs.
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
12
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
13 ;; GNU Emacs is free software; you can redistribute it and/or modify
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
14 ;; it under the terms of the GNU General Public License as published by
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
15 ;; the Free Software Foundation; either version 2, or (at your option)
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
16 ;; any later version.
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
17
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
18 ;; GNU Emacs is distributed in the hope that it will be useful,
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
19 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
20 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
21 ;; GNU General Public License for more details.
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
22
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
23 ;; You should have received a copy of the GNU General Public License
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
24 ;; along with GNU Emacs; see the file COPYING. If not, write to the
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
25 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
26 ;; Boston, MA 02111-1307, USA.
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
27
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
28 ;;; Commentary:
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
29
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
30 ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
31 ;;
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
32 ;; Common definitions for ps-print package.
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
33 ;;
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
34 ;; See ps-print.el, ps-mule.el and ps-bdf.el for documentation.
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
35 ;;
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
36 ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
37
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
38 ;;; Code:
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
39
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
40
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
41 ;; `ps-multibyte-buffer' definition should be placed in `ps-mule', but
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
42 ;; `ps-print' and `ps-mule' both use it so it's here.
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
43
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
44 (defcustom ps-multibyte-buffer nil
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
45 "*Specify the multi-byte buffer handling.
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
46
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
47 Valid values are:
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
48
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
49 nil This is the value to use the default settings which
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
50 is by default for printing buffer with only ASCII
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
51 and Latin characters. The default setting can be
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
52 changed by setting the variable
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
53 `ps-mule-font-info-database-default' differently.
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
54 The initial value of this variable is
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
55 `ps-mule-font-info-database-latin' (see
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
56 documentation).
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
57
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
58 `non-latin-printer' This is the value to use when you have a Japanese
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
59 or Korean PostScript printer and want to print
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
60 buffer with ASCII, Latin-1, Japanese (JISX0208 and
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
61 JISX0201-Kana) and Korean characters. At present,
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
62 it was not tested the Korean characters printing.
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
63 If you have a korean PostScript printer, please,
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
64 test it.
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
65
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
66 `bdf-font' This is the value to use when you want to print
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
67 buffer with BDF fonts. BDF fonts include both latin
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
68 and non-latin fonts. BDF (Bitmap Distribution
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
69 Format) is a format used for distributing X's font
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
70 source file. BDF fonts are included in
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
71 `intlfonts-1.1' which is a collection of X11 fonts
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
72 for all characters supported by Emacs. In order to
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
73 use this value, be sure to have installed
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
74 `intlfonts-1.1' and set the variable
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
75 `bdf-directory-list' appropriately (see ps-bdf.el for
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
76 documentation of this variable).
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
77
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
78 `bdf-font-except-latin' This is like `bdf-font' except that it is used
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
79 PostScript default fonts to print ASCII and Latin-1
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
80 characters. This is convenient when you want or
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
81 need to use both latin and non-latin characters on
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
82 the same buffer. See `ps-font-family',
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
83 `ps-header-font-family' and `ps-font-info-database'.
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
84
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
85 Any other value is treated as nil."
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
86 :type '(choice :tag "Multi-Byte Buffer"
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
87 (const non-latin-printer) (const bdf-font)
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
88 (const bdf-font-except-latin) (other :tag "nil" nil))
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
89 :group 'ps-print-font)
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
90
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
91
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
92 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
93
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
94 (provide 'ps-vars)
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
95
390d4b3523e9 rename ps-print-def.el to ps-vars.el
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
96 ;;; ps-vars.el ends here