emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: ps-print-buffer-with-faces doesn't use selected frame's background


From: Leo
Subject: Re: ps-print-buffer-with-faces doesn't use selected frame's background
Date: Wed, 10 Jan 2007 08:22:08 +0000
User-agent: Gnus v5.11, Emacs/23.0.0.1 (2007-01-01), Fedora 6 gnu/linux

* Vinicius Jose Latorre (2007-01-10 03:01 -0200) said:
  ^^^^^^^^^^^^^^^^^^^^^
> Hi Leo,
>
> Thanks for the Emacs image.

Welcome!

>
[...]
>> Thank you for the answer.
>> However output from ps-print does not look good generally in a dark
>> background? Is this a known problem?
>
> Ok, using the ps-default-bg default value (white) is not good when
> using a dark background.
>
> This is neither a problem nor a bug.
>
> You could set ps-default-bg and ps-default-fg to a suitable color.

A dark background will waste a lot of ink if printed ;) But I think
ps-print should choose a different color according to the background
type: dark or light.

>
> One possible way to improve ps-default-bg initialization could be
>set it in ps-print with
>
>   (frame-parameter nil 'background-color)
>
> The value of ps-default-fg and ps-default-bg variables are not changed
> when frame parameters change.
>
> Note that even the initialization above will not be good if the frame
> parameters (background-color and foreground-color) are changed
> dynamically.
>
> ps-print also allows face remapping, so, the initialization above
> could not be good depending on the colors used.
>
>
> Regards,
>
>
> Vinicius

-- 
Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)





reply via email to

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