Re: Graphics: newer ImageMagick version causes trouble for LyX-View

2002-07-17 Thread R. Lahaye
Jean-Marc Lasgouttes wrote: > > R> Why the configure script can't find it there? It doesn't look in > R> /usr/local/include and /usr/local/lib ? A mistery to me. Any ideas? > R> I may investigate a bit on this. > > I don't know really. However the error message is quite clear in this > respect:

Re: Graphics: newer ImageMagick version causes trouble for LyX-View

2002-07-17 Thread Jean-Marc Lasgouttes
> "R" == R Lahaye <[EMAIL PROTECTED]> writes: R> In the CVS-diff, I see that you swapped a black/white string to fix R> this. Right? Yes. R> John seemed to have objections to this change. But I have not :). R> It works wonderful here! Excellent. R> Why the configure script can't find it t

Re: Graphics: newer ImageMagick version causes trouble for LyX-View

2002-07-17 Thread R. Lahaye
Jean-Marc Lasgouttes wrote: > > > "R" == R Lahaye <[EMAIL PROTECTED]> writes: > > Yes, I have fixed that in 1.2.x cvs yesterday and in 1.3.0cvs > yesterday evening. So now everything should be fine. In the CVS-diff, I see that you swapped a black/white string to fix this. Right? John seeme

Re: Graphics: newer ImageMagick version causes trouble for LyX-View

2002-07-17 Thread Jean-Marc Lasgouttes
> "R" == R Lahaye <[EMAIL PROTECTED]> writes: R> Uh, the problem seems to be gone with yesterday's cvs update. Don't R> know what has changed. R> Leave this problems for what it is. I'll make noise again as soon R> as the same problem resurfaces with CVS. Yes, I have fixed that in 1.2.x cvs

Re: Graphics: newer ImageMagick version causes trouble for LyX-View

2002-07-16 Thread R. Lahaye
Jean-Marc Lasgouttes wrote: > > > "R" == R Lahaye <[EMAIL PROTECTED]> writes: > > R> I'm using a fairly recent version of ImageMagick (5.4.7). This > R> version's convert produces a color output line > R> " c opaque" > R> which causes a horrible quality in the LyX-View. > > Hmm, I just see

Re: Graphics: newer ImageMagick version causes trouble for LyX-View

2002-07-16 Thread John Levon
On Tue, Jul 16, 2002 at 03:32:35PM +0100, Angus Leeming wrote: > If you can think of a more elegant solution, then I'm all ears. > Angus I've already suggested a XGraphicsImage class which GraphicsImageXPM and xformsImage derive from ... then case to XGraphicsImage regards john -- "i am sorey

Re: Graphics: newer ImageMagick version causes trouble for LyX-View

2002-07-16 Thread John Levon
On Tue, Jul 16, 2002 at 01:36:44PM +0200, Jean-Marc Lasgouttes wrote: > xpm_col[1].value = "opaque"; > xpm_col[1].pixel = lyxColorHandler->colorPixel(LColor::white); > > Shouldn't that be LColor::black? John, why did you choose white > instead of black? Hmm, because it's going to g

Re: Graphics: newer ImageMagick version causes trouble for LyX-View

2002-07-16 Thread Angus Leeming
On Tuesday 16 July 2002 4:31 pm, Jean-Marc Lasgouttes wrote: > > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > Angus> Good idea, actually. John, since you broke it would you like to > Angus> fix it? A > > Another thought: didn't you write that ImageXPM will go away before > 1.3.0? I

Re: Graphics: newer ImageMagick version causes trouble for LyX-View

2002-07-16 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Good idea, actually. John, since you broke it would you like to Angus> fix it? A Another thought: didn't you write that ImageXPM will go away before 1.3.0? In this case, your patch may just be good enough... JMarc

Re: Graphics: newer ImageMagick version causes trouble for LyX-View

2002-07-16 Thread Angus Leeming
On Tuesday 16 July 2002 4:14 pm, Jean-Marc Lasgouttes wrote: > > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > Angus> Because John and Qt don't have a Pixmap getPixmap() method. > Angus> Apparently Pixmaps are X-specific and that's a limitation they > Angus> can do without. > > Angu

Re: Graphics: newer ImageMagick version causes trouble for LyX-View

2002-07-16 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Because John and Qt don't have a Pixmap getPixmap() method. Angus> Apparently Pixmaps are X-specific and that's a limitation they Angus> can do without. Angus> If you can think of a more elegant solution, then I'm all ears. Have

Re: Graphics: newer ImageMagick version causes trouble for LyX-View

2002-07-16 Thread Angus Leeming
On Tuesday 16 July 2002 3:50 pm, Jean-Marc Lasgouttes wrote: > > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > Angus> On Tuesday 16 July 2002 3:26 pm, R. Lahaye wrote: > >> Jean-Marc Lasgouttes wrote: > > "R" == R Lahaye > >> > >> <[EMAIL PROTECTED]> writes: > >> > R> I would te

Re: Graphics: newer ImageMagick version causes trouble for LyX-View

2002-07-16 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> On Tuesday 16 July 2002 3:26 pm, R. Lahaye wrote: >> Jean-Marc Lasgouttes wrote: > > "R" == R Lahaye >> <[EMAIL PROTECTED]> writes: >> > >> > R> I would test that right away, but GraphicsImageXPM.C is badly >> > R> broken in CV

Re: Graphics: newer ImageMagick version causes trouble for LyX-View

2002-07-16 Thread Angus Leeming
On Tuesday 16 July 2002 3:26 pm, R. Lahaye wrote: > Jean-Marc Lasgouttes wrote: > > > "R" == R Lahaye <[EMAIL PROTECTED]> writes: > > > > R> I would test that right away, but GraphicsImageXPM.C is badly > > R> broken in CVS right now. Please fix that first: > > > > Try the following patch. > >

Re: Graphics: newer ImageMagick version causes trouble for LyX-View

2002-07-16 Thread R. Lahaye
Jean-Marc Lasgouttes wrote: > > > "R" == R Lahaye <[EMAIL PROTECTED]> writes: > > R> I would test that right away, but GraphicsImageXPM.C is badly > R> broken in CVS right now. Please fix that first: > > Try the following patch. > >grxpm.patchName: grxpm.patch > Type: tex

Re: Graphics: newer ImageMagick version causes trouble for LyX-View

2002-07-16 Thread Jean-Marc Lasgouttes
> "R" == R Lahaye <[EMAIL PROTECTED]> writes: R> Also have a look at the warnings that autogen.sh produce; it's in R> an earlier message of mine: R> http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg40925.html I've seen and fixed it. I have removed a couple warnings in my tree. Concerni

Re: Graphics: newer ImageMagick version causes trouble for LyX-View

2002-07-16 Thread Jean-Marc Lasgouttes
> "R" == R Lahaye <[EMAIL PROTECTED]> writes: R> Argh, no I can't. The machine where I have FreeBSD 4.6 + latest R> ImageMagick (thus that opaque problem), does not compile 1.2.x. The R> reason is not that clear to me, but there seem to be a problem in R> src/config with HAVE_UNISTD_H and def

Re: Graphics: newer ImageMagick version causes trouble for LyX-View

2002-07-16 Thread Jean-Marc Lasgouttes
> "R" == R Lahaye <[EMAIL PROTECTED]> writes: R> I would test that right away, but GraphicsImageXPM.C is badly R> broken in CVS right now. Please fix that first: Try the following patch. JMarc Index: src/graphics/ChangeLog =

Re: Graphics: newer ImageMagick version causes trouble for LyX-View

2002-07-16 Thread R. Lahaye
Jean-Marc Lasgouttes wrote: > > > "R" == R Lahaye <[EMAIL PROTECTED]> writes: > > R> Jean-Marc Lasgouttes wrote: > >> > >> > >> Hmm, I just see that the code in GraphicsImageXPM does: > >> > >> // some image magick versions use this xpm_col[1].name = 0; > >> xpm_col[1].value = "opaque"; xpm_

Re: Graphics: newer ImageMagick version causes trouble for LyX-View

2002-07-16 Thread Jean-Marc Lasgouttes
> "R" == R Lahaye <[EMAIL PROTECTED]> writes: R> Jean-Marc Lasgouttes wrote: >> >> >> Hmm, I just see that the code in GraphicsImageXPM does: >> >> // some image magick versions use this xpm_col[1].name = 0; >> xpm_col[1].value = "opaque"; xpm_col[1].pixel = >> lyxColorHandler->colorPixel(

Re: Graphics: newer ImageMagick version causes trouble for LyX-View

2002-07-16 Thread R. Lahaye
Jean-Marc Lasgouttes wrote: > > > Hmm, I just see that the code in GraphicsImageXPM does: > > // some image magick versions use this > xpm_col[1].name = 0; > xpm_col[1].value = "opaque"; > xpm_col[1].pixel = lyxColorHandler->colorPixel(LColor::white); > > Should

Re: Graphics: newer ImageMagick version causes trouble for LyX-View

2002-07-16 Thread Jean-Marc Lasgouttes
> "R" == R Lahaye <[EMAIL PROTECTED]> writes: R> Hi, R> After a useful communication with Herbert on my problem displaying R> xpm-files on the LyX canvas, we came to the following conclusion: R> I'm using a fairly recent version of ImageMagick (5.4.7). This R> version's convert produces a c

Re: Graphics: newer ImageMagick version causes trouble for LyX-View

2002-07-16 Thread R. Lahaye
Jean-Marc Lasgouttes wrote: > Note that autoconf 2.53 is not really supposed to work for lyx, > but we might as well try to make it work. 2.53 ships with FreeBSD 4.6 and it's around for quite some time already. It's too much work to get the older version of autoconf on my system (need to compile

Re: Graphics: newer ImageMagick version causes trouble for LyX-View

2002-07-16 Thread Jean-Marc Lasgouttes
> "R" == R Lahaye <[EMAIL PROTECTED]> writes: R> Jean-Marc Lasgouttes wrote: >> With xforms 1.0.0, you should not be using the XPM loader. 'lyx >> -version' should confirm that you are using the xforms loader, R> Confirm? How? This is my output: R> Special build flags: warnings assertions

Re: Graphics: newer ImageMagick version causes trouble for LyX-View

2002-07-16 Thread R. Lahaye
Jean-Marc Lasgouttes wrote: > > With xforms 1.0.0, you should not be using the XPM loader. 'lyx > -version' should confirm that you are using the xforms loader, Confirm? How? This is my output: $ lyx -version LyX 1.3.0cvs of Fri, May 3, 2002 Built on Jul 15 2002, 18:12:56 Configuration Host t

Re: Graphics: newer ImageMagick version causes trouble for LyX-View

2002-07-16 Thread Jean-Marc Lasgouttes
> "R" == R Lahaye <[EMAIL PROTECTED]> writes: R> How do I know whether I'm using that code from GraphicsImageXPM or R> not? With xforms 1.0.0, you should not be using the XPM loader. 'lyx -version' should confirm that you are using the xforms loader, actually. The question now is to know whe

Re: Graphics: newer ImageMagick version causes trouble for LyX-View

2002-07-16 Thread R. Lahaye
Jean-Marc Lasgouttes wrote: > > > "R" == R Lahaye <[EMAIL PROTECTED]> writes: > > R> Jean-Marc Lasgouttes wrote: > >> > "Rob" == R Lahaye <[EMAIL PROTECTED]> writes: > Rob> I'm using a fairly recent version of ImageMagick (5.4.7). This > Rob> version's convert produces a color output li

Re: Graphics: newer ImageMagick version causes trouble for LyX-View

2002-07-16 Thread Jean-Marc Lasgouttes
> "R" == R Lahaye <[EMAIL PROTECTED]> writes: R> Jean-Marc Lasgouttes wrote: >> > "Rob" == R Lahaye <[EMAIL PROTECTED]> writes: Rob> I'm using a fairly recent version of ImageMagick (5.4.7). This Rob> version's convert produces a color output line " c opaque" which Rob> causes a horrible

Re: Graphics: newer ImageMagick version causes trouble for LyX-View

2002-07-16 Thread R. Lahaye
Jean-Marc Lasgouttes wrote: > > > "Rob" == R Lahaye <[EMAIL PROTECTED]> writes: > Rob> I'm using a fairly recent version of ImageMagick (5.4.7). This > Rob> version's convert produces a color output line > Rob> " c opaque" > Rob> which causes a horrible quality in the LyX-View. > Rob> Manua

Re: Graphics: newer ImageMagick version causes trouble for LyX-View

2002-07-16 Thread Jean-Marc Lasgouttes
> "Rob" == R Lahaye <[EMAIL PROTECTED]> writes: Rob> Hi, Rob> After a useful communication with Herbert on my problem Rob> displaying xpm-files on the LyX canvas, we came to the following Rob> conclusion: Rob> I'm using a fairly recent version of ImageMagick (5.4.7). This Rob> version's con

Graphics: newer ImageMagick version causes trouble for LyX-View

2002-07-15 Thread R. Lahaye
Hi, After a useful communication with Herbert on my problem displaying xpm-files on the LyX canvas, we came to the following conclusion: I'm using a fairly recent version of ImageMagick (5.4.7). This version's convert produces a color output line " c opaque" which causes a horrible quality