On Fri, 1 Dec 2000, Amir Karger wrote:

> On Fri, Dec 01, 2000 at 12:43:02PM +0000, John Levon wrote:
> > 
> > I imagine you mean xforms. In fact I think this might be a problem that
> > was reported ages ago, around when I started reading lyx-devel. I had the
> > hypothesis at the time that this was Xpm routines causing xforms to crash,
> > because it couldn't allocate the colours. This is because the lyx xpm
> > files don't have "m" (mono) options for when the colour can't be
> > allocated, and xforms doesn't seem to like the Xpm routines failing like
> > this.
> > 
> > I really should add these tags to the icon files, but it is a boring job
> > (I can't find a tool that adds them automatically :()
> 
> What exactly do you need to do?
> 
> I only ask because Perl can do *anything* automatically. (Well, most things.
> Usually.)
> 
> -Amir
> 

Change the things like :

"  c None", 
".  c #FFFFFFFFFFFF", 
"X c #7B7B00000000",
"o      c gray70"

to :

"  c None", 
".  c #FFFFFFFFFFFF m black", 
"X c #7B7B00000000 m black",
"o      c gray70 m black"

or similar. It can't be 100% automatic because it needs to be seen how it
looks in mono (though the bw versions, where applicable, can be a
guide). My perl is far too shallow to have a go at this...

thanks
john 

Reply via email to