unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* for white on black ps-print generates white on white text
@ 2004-09-29  8:54 Jens Petersen
  2004-09-30  3:37 ` Vinicius Jose Latorre
  0 siblings, 1 reply; 2+ messages in thread
From: Jens Petersen @ 2004-09-29  8:54 UTC (permalink / raw)
  Cc: Vinicius Jose Latorre

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.

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

-Jens

ps This was reported a good while back at
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=75763

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: for white on black ps-print generates white on white text
  2004-09-29  8:54 for white on black ps-print generates white on white text Jens Petersen
@ 2004-09-30  3:37 ` Vinicius Jose Latorre
  0 siblings, 0 replies; 2+ messages in thread
From: Vinicius Jose Latorre @ 2004-09-30  3:37 UTC (permalink / raw)
  Cc: emacs-devel

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:

   http://www.cpqd.com.br/~vinicius/emacs/


Regards,


Vinicius



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.
>
> Setting
> (setq ps-default-fg "black"
>       ps-default-bg "white")
> doesn't seem to help.
>
> -Jens
>
> ps This was reported a good while back at
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=75763
>
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-09-30  3:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-29  8:54 for white on black ps-print generates white on white text Jens Petersen
2004-09-30  3:37 ` Vinicius Jose Latorre

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).