On Tuesday 18 September 2001 14:58, Jean-Marc Lasgouttes wrote:
>I have had this in my mail box for some time. It concerns figinset,
>but should be applied to insetgraphics IMO. The idea is that it should
>be possible to specify the background color for eps (or other images)
>so that people who use white-on-black type of settings can see the
>images.
>Is it easy to implement on insetgraphics (adding a new color
>LColor:graphicsbackground) is really easy, so the question is whether
>we can pass this info to the converters.
>JMarc
> From: Paul Stansell <[EMAIL PROTECTED]>
> Hi,
>
> So that the eps and ps figure files are displayed properly even when a
> dark lyx background colour is specified can you please apply the following
> change sometime:
>
> diff src/insets/figinset.C src/insets/figinset.C.orig
> 469c469
> < lyxColorHandler->colorPixel(LColor::white);
> ---
> > lyxColorHandler->colorPixel(LColor::background);
So, you don't want to just use LColor::background here, JMarc, as Paul
Stansell is suggesting, but rather use a new LColor:graphicsbackground that
defaults to LColor::background?
(Just trying to understand the request.)
Angus