[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Creating a function to change custom-set-faces
From: |
Johan Bockgård |
Subject: |
Re: Creating a function to change custom-set-faces |
Date: |
Tue, 15 Apr 2003 20:12:34 +0200 |
User-agent: |
Gnus/5.090018 (Oort Gnus v0.18) Emacs/21.2 (usg-unix-v) |
j_del_strother@hotmail.com (Jon) writes:
> I tried M-x custom-set-faces, which doesn't exist.
The function does exist, but it is not interactive (hence M-x doesn't
work). See C-h f custom-set-faces
> I have a set of custom colors set up in emacs that I find much
> easier on the eyes - lots of greens & pastels. Unfortunately, it
> doesn't print too nicely.
You might also want to look at ps-print.el (it should be in the lisp
directory). If so there is plenty in that file to read.
,----[ ps-print.el ]
| ;; About ps-print
| ;; --------------
| ;;
| ;; This package provides printing of Emacs buffers on PostScript
| ;; printers; the buffer's bold and italic text attributes are
| ;; preserved in the printer output. ps-print is intended for use
| ;; with Emacs or Lucid Emacs, together with a fontifying package
| ;; such as font-lock or hilit.
| ;;
| ;; ps-print uses the same face attributes defined through font-lock
| ;; or hilit to print a PostScript file, but some faces are better
| ;; seeing on the screen than on paper, specially when you have a
| ;; black/white PostScript printer.
| ;;
| ;; ps-print allows a remap of face to another one that it is better
| ;; to print, for example, the face font-lock-comment-face (if you
| ;; are using font-lock) could have bold or italic attribute when
| ;; printing, besides foreground color. This remap improves printing
| ;; look (see How Ps-Print Maps Faces).
|
| [...]
|
| ;; How Ps-Print Deals With Color
| ;; -----------------------------
| ;;
| ;; ps-print detects faces with foreground and background colors
| ;; defined and embeds color information in the PostScript image. The
| ;; default foreground and background colors are defined by the
| ;; variables `ps-default-fg' and `ps-default-bg'.
| ;; On black/white printers, colors are displayed in gray scale. To
| ;; turn off color output, set `ps-print-color-p' to nil. You can
| ;; also set `ps-print-color-p' to 'black-white to have a better
| ;; looking on black/white printers. See also `ps-black-white-faces'
| ;; for documentation.
|
| [...]
`----
--
Johan Bockgård