[Top][All Lists]

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

Re: for white on black ps-print generates white on white text

From: Vinicius Jose Latorre
Subject: Re: for white on black ps-print generates white on white text
Date: Thu, 30 Sep 2004 00:37:34 -0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a4) Gecko/20040927

Hi Jens,

This problem is already fixed in ps-print version 6.6.5 (the latest).

Please, do:

  (setq ps-default-fg t)
  (setq ps-default-bg t)

So, ps-print will use the Emacs session foreground and background colors.

The default value for ps-default-fg is black and for ps-default-bg is white.

Some time ago the default for both variables were t, but this was an annoyance by some folk. So, I changed the default values.

Please, see the ps-default-bg and ps-default-fg doc (C-h v ps-default-fg RET).

Also, the settings:

  (setq ps-default-fg "black")
  (setq ps-default-bg "white")

Work as a charm.

The latest ps-print can be downloaded from Emacs CVS repository or from:




Jens Petersen wrote:

To reproduce:

% emacs -q
 M-x set-foreground-color RET white RET
 M-x set-background-color RET black RET
 C-x C-f /usr/include/stdio.h
 C-u M-x ps-print-buffer-with-faces RET ~/tmp/psprint.ps RET y
 C-x C-c
% gv ~/tmp/psprint.ps

and observe that the default font with white foreground is rendered
white on white in the ps file.

(setq ps-default-fg "black"
      ps-default-bg "white")
doesn't seem to help.


ps This was reported a good while back at

reply via email to

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