Re: bug in image-preview

2002-10-21 Thread Angus Leeming
On Monday 12 August 2002 12:31 pm, Herbert Voss wrote: > open two docs and copy an image from one into the > other doc. When having relativ filenames and the > docs are in different dirs, then the image preview > shouldn't show the image! > > Running latex gives the expected error -> file not found

Re: bug in image-preview

2002-08-13 Thread Herbert Voss
Angus Leeming wrote: > So we're not talking about previews at all, but the graphics inset? yes, the LyX (pre)view of images Herbert -- http://www.lyx.org/help/

Re: bug in image-preview

2002-08-13 Thread Angus Leeming
On Tuesday 13 August 2002 2:51 pm, Herbert Voss wrote: > Angus Leeming wrote: > > Well, I've tried and tried and I can't trigger it. Call me dumn! > > doc a.lyx from /tmp/a/ with sub dir images/ > doc b.lyx from /tmp/b/ > > - a.lyx contains an image from images/a.gif > - I copy the graphic inset a

Re: bug in image-preview

2002-08-13 Thread Herbert Voss
Angus Leeming wrote: > Well, I've tried and tried and I can't trigger it. Call me dumn! doc a.lyx from /tmp/a/ with sub dir images/ doc b.lyx from /tmp/b/ - a.lyx contains an image from images/a.gif - I copy the graphic inset and paste it into doc b.lyx the relative filename is images/a.gif

Re: bug in image-preview

2002-08-13 Thread Angus Leeming
On Monday 12 August 2002 12:31 pm, Herbert Voss wrote: > open two docs and copy an image from one into the > other doc. When having relativ filenames and the > docs are in different dirs, then the image preview > shouldn't show the image! > > Running latex gives the expected error -> file not foun

Re: bug in image-preview

2002-07-09 Thread Herbert Voss
Garst R. Reese wrote: > Here they are. In example.gif the right border is missing. > Note also that with eps conversion the a real file took 5 min to load > compared to 1 min for ps. > example-old.gif is a screenshot before the change. as you see, I have no problem and the imageconversion take

Re: bug in image-preview

2002-07-09 Thread Herbert Voss
Garst R. Reese wrote: > The look like the ones I get in PS View and I can set the display to > B/W, which is what they are. With the eps conversion, some if the lines > look blue and I have to display as greyscale to see anything. But, I > still defer to Herbert's judgement. please give me an e

Re: bug in image-preview

2002-07-09 Thread Angus Leeming
On Tuesday 09 July 2002 3:18 pm, Garst R. Reese wrote: > And I see it with xforms-1.0rc4 with the new ps to eps conversion in > 1.2.xCVS Well this (the conversion) is Herbert's baby so I'll leave it to him. If you don't convert (remove the ps->eps converter from LYXLIB/lyxrc.defaults) how do yo

Re: bug in image-preview

2002-07-09 Thread Angus Leeming
On Tuesday 09 July 2002 2:50 pm, Jean-Marc Lasgouttes wrote: > Angus> I'lll commit your fix without attempting to be clever. Angus > > Shall this be applied to 1.2.1 too? > > JMarc Yes please. Angus

Re: bug in image-preview

2002-07-09 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> On Tuesday 09 July 2002 2:10 pm, Herbert Voss wrote: >> Angus Leeming wrote: > Can you do some more testing for me. I >> assume that the bug occurs when > the file is loaded. Subsequently >> cropping, resizing etc should not be > "

Re: bug in image-preview

2002-07-09 Thread Angus Leeming
On Tuesday 09 July 2002 2:10 pm, Herbert Voss wrote: > Angus Leeming wrote: > > Can you do some more testing for me. I assume that the bug occurs when > > the file is loaded. Subsequently cropping, resizing etc should not be > > "penalised" like this. > > > > Could you apply the patch (attached) a

Re: bug in image-preview

2002-07-09 Thread Herbert Voss
Angus Leeming wrote: > Can you do some more testing for me. I assume that the bug occurs when the > file is loaded. Subsequently cropping, resizing etc should not be "penalised" > like this. > > Could you apply the patch (attached) and then do some scaling, cropping etc. > +#if FL_VERSION ==

Re: bug in image-preview

2002-07-09 Thread Angus Leeming
On Tuesday 09 July 2002 12:44 pm, Herbert Voss wrote: > Angus Leeming wrote: > > I'd rather put this fix into xformsImage::getWidth. > > oh, sorry. never thought of this part ... > looked only into the files of src/graphics ... > changed it in xformsImage and it solves now the view of > the other

Re: bug in image-preview

2002-07-09 Thread Herbert Voss
Angus Leeming wrote: > I'd rather put this fix into xformsImage::getWidth. oh, sorry. never thought of this part ... looked only into the files of src/graphics ... changed it in xformsImage and it solves now the view of the other images, too. > What version of xforms are you using? You could

Re: bug in image-preview

2002-07-09 Thread Angus Leeming
On Tuesday 09 July 2002 12:10 pm, Herbert Voss wrote: > Angus Leeming wrote: > > On Tuesday 09 July 2002 9:21 am, Herbert Voss wrote: > >>>In InsetFormula::ascent, descent, width, try adding 5 or so to the > >>>returned value. That'll check that the image is Ok or not. > >> > >>this happens for al

Re: bug in image-preview

2002-07-09 Thread Herbert Voss
Angus Leeming wrote: > On Tuesday 09 July 2002 9:21 am, Herbert Voss wrote: > >>>In InsetFormula::ascent, descent, width, try adding 5 or so to the >>>returned value. That'll check that the image is Ok or not. >>> >>this happens for all images, not only the math-preview. >>So it must be a in t

Re: bug in image-preview

2002-07-09 Thread Angus Leeming
On Tuesday 09 July 2002 9:21 am, Herbert Voss wrote: > > In InsetFormula::ascent, descent, width, try adding 5 or so to the > > returned value. That'll check that the image is Ok or not. > > this happens for all images, not only the math-preview. > So it must be a in the graphics or xforms stuff >

Re: bug in image-preview

2002-07-09 Thread Herbert Voss
Angus Leeming wrote: > On Monday 08 July 2002 7:31 pm, Herbert Voss wrote: > >>there is still the bug present, that the right pixels >>are ignored. Angus, I do not really see, where the >>coordinates are passed to xforms? >> >>Herbert >> > > In InsetFormula::ascent, descent, width, try adding 5

Re: bug in image-preview

2002-07-09 Thread Angus Leeming
On Monday 08 July 2002 7:31 pm, Herbert Voss wrote: > there is still the bug present, that the right pixels > are ignored. Angus, I do not really see, where the > coordinates are passed to xforms? > > Herbert In InsetFormula::ascent, descent, width, try adding 5 or so to the returned value. That

Re: bug in image-preview

2002-07-08 Thread Herbert Voss
David Kastrup wrote: > Herbert Voss <[EMAIL PROTECTED]> writes: > > >>there is still the bug present, that the right pixels >>are ignored. >> > > Are they in the ppm file? yes. a bug in LyX or in xforms Herbert -- http://www.lyx.org/help/

Re: bug in image-preview

2002-07-08 Thread David Kastrup
Herbert Voss <[EMAIL PROTECTED]> writes: > there is still the bug present, that the right pixels > are ignored. Are they in the ppm file? -- David Kastrup, Kriemhildstr. 15, 44793 Bochum Email: [EMAIL PROTECTED]