comparison lisp/ps-print.el @ 90192:173dee4e2611

Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-61 Merge from emacs--cvs-trunk--0 Patches applied: * emacs--cvs-trunk--0 (patch 353-357) - Update from CVS
author Miles Bader <miles@gnu.org>
date Thu, 09 Jun 2005 07:13:03 +0000
parents 4da4a09e8b1b 2942738e0235
children b7da78284d4c
comparison
equal deleted inserted replaced
90191:c766b49f5bbd 90192:173dee4e2611
3017 t The foreground color of Emacs session will be used. 3017 t The foreground color of Emacs session will be used.
3018 3018
3019 NUMBER It's a real value between 0.0 (black) and 1.0 (white) that 3019 NUMBER It's a real value between 0.0 (black) and 1.0 (white) that
3020 indicate the gray color. 3020 indicate the gray color.
3021 3021
3022 COLOR-NAME It's a string wich contains the color name. For example: 3022 COLOR-NAME It's a string which contains the color name. For example:
3023 \"yellow\". 3023 \"yellow\".
3024 3024
3025 LIST It's a list of RGB values, that is a list of three real values 3025 LIST It's a list of RGB values, that is a list of three real values
3026 of the form: 3026 of the form:
3027 3027
3057 t The background color of Emacs session will be used. 3057 t The background color of Emacs session will be used.
3058 3058
3059 NUMBER It's a real value between 0.0 (black) and 1.0 (white) that 3059 NUMBER It's a real value between 0.0 (black) and 1.0 (white) that
3060 indicate the gray color. 3060 indicate the gray color.
3061 3061
3062 COLOR-NAME It's a string wich contains the color name. For example: 3062 COLOR-NAME It's a string which contains the color name. For example:
3063 \"yellow\". 3063 \"yellow\".
3064 3064
3065 LIST It's a list of RGB values, that is a list of three real values 3065 LIST It's a list of RGB values, that is a list of three real values
3066 of the form: 3066 of the form:
3067 3067
6117 (defvar ps-print-translation-table 6117 (defvar ps-print-translation-table
6118 (let ((tbl (make-char-table 'translation-table nil))) 6118 (let ((tbl (make-char-table 'translation-table nil)))
6119 (if (and (boundp 'ucs-mule-8859-to-mule-unicode) 6119 (if (and (boundp 'ucs-mule-8859-to-mule-unicode)
6120 (char-table-p ucs-mule-8859-to-mule-unicode)) 6120 (char-table-p ucs-mule-8859-to-mule-unicode))
6121 (map-char-table 6121 (map-char-table
6122 #'(lambda (k v) 6122 #'(lambda (k v)
6123 (if (and v (eq (char-charset v) 'latin-iso8859-1) (/= k v)) 6123 (if (and v (eq (char-charset v) 'latin-iso8859-1) (/= k v))
6124 (aset tbl k v))) 6124 (aset tbl k v)))
6125 ucs-mule-8859-to-mule-unicode)) 6125 ucs-mule-8859-to-mule-unicode))
6126 tbl) 6126 tbl)
6127 "Translation table for PostScript printing. 6127 "Translation table for PostScript printing.