[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ps-print fg and bg colors

From: md5i
Subject: ps-print fg and bg colors
Date: Wed, 23 Oct 2002 15:23:39 -0400
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu)

With this changelog entry:

2002-09-11  Vinicius Jose Latorre  <address@hidden>

        * ps-print.el: Adjust ps-print-color-p, ps-default-fg and
        ps-default-bg setting.
        (ps-print-version): New version number (6.5.7).
        (ps-mark-active-p): New fun.
        (ps-print-preprint-region): Adjust code.

the folowing change was made:

@@ -2890,7 +2913,8 @@
                 (const :tag "Print Black/White Color" black-white))
   :group 'ps-print-color)
-(defcustom ps-default-fg '(0.0 0.0 0.0)
+(defcustom ps-default-fg (or (ps-face-foreground-name 'default)
+                            '(0.0 0.0 0.0)) ; black
   "*RGB values of the default foreground color.  Defaults to black."
   :type '(choice :menu-tag "Default Foreground Gray/Color"
                 :tag "Default Foreground Gray/Color"
@@ -2902,7 +2926,8 @@
                       (number :tag "Blue")))
   :group 'ps-print-color)
-(defcustom ps-default-bg '(1.0 1.0 1.0)
+(defcustom ps-default-bg (or (ps-face-background-name 'default)
+                            '(1.0 1.0 1.0)) ; white
   "*RGB values of the default background color.  Defaults to white."
   :type '(choice :menu-tag "Default Background Gray/Color"
                 :tag "Default Background Gray/Color"

Unfortunately, this is probably the wrong default for people like me
who use a dark background and light foreground.  Maybe forground and
background should be reversed when the frame's background-mode is

Michael Welsh Duggan

reply via email to

[Prev in Thread] Current Thread [Next in Thread]