NullPointerException when using TXT Renderer

2003-07-04 Thread Ulrich Mayring
Hello, I'm using fop 0.20.4 and while the PDF and PS Renderer work fine, the TXT Renderer produces an exception on the same documents. Here is a stack-trace: java.lang.NullPointerException at

Re: NullPointerException when using TXT Renderer

2003-07-04 Thread Ulrich Mayring
Ulrich Mayring wrote: Hello, I'm using fop 0.20.4 and while the PDF and PS Renderer work fine, the TXT Renderer produces an exception on the same documents. Whoops, I just noticed the PS Renderer throws an exception as well. I noticed that it doesn't support SVG fully, but should it throw an

Encryption and download of th binary version

2003-07-04 Thread Schmidt Soren
Title: Encryption and download of th binary version Hello, First of all: FOP is great, thank you developpers! My question: The binary version is compiled using JDK 1.3 or JDK 1.4? I am asking this question because I normally use the binary versions but now I am reading in the chapter

PNG doesn't show in a pdf

2003-07-04 Thread Bonnie Yelverton
I just created my very first pdf from an FO, thanks to help I've received here. But to my dismay, one of the graphics, which happens to be in .png format, doesn't show in the pdf. I haven't had problems with pngs in pdf before. Does anyone have an explanation - or a reference I can study? Bonnie

Re: Encryption and download of th binary version

2003-07-04 Thread Chris Bowditch
From: Chris Bowditch [EMAIL PROTECTED] From: Schmidt Soren [EMAIL PROTECTED] snip/ FOP is compiled by Ant. The JDK used for building the binary distribution is irrelevant, the depencies are handling by Ant. What matters is which JDK you are using. If you are using 1.3 then you will need the

RE: PNG doesn't show in a pdf

2003-07-04 Thread Victor Mote
Bonnie Yelverton wrote: I just created my very first pdf from an FO, thanks to help I've received here. But to my dismay, one of the graphics, which happens to be in .png format, doesn't show in the pdf. I haven't had problems with pngs in pdf before. Does anyone have an explanation - or a

Re: JPEG images in Postscript

2003-07-04 Thread Jeremias Maerki
Moving to fop-dev because it gets technical... After a lot of searching I think I know what's wrong. It's not the ASCII-85 filter behaving wrong. Chris' JPEG images contain trailing zero's after the FFD9 (EOI, end of image marker) which fill the images up to 16384 bytes. Now, I guess the error

RE: PNG doesn't show in a pdf

2003-07-04 Thread Bonnie Yelverton
Thanks, Victor, I was wondering about jimi, which is art of the recommended code line for XSelerator. I have now installed it, but the png didn't show up. Maybe I have to restart my computer? I also downloaded jai, but the files the FOP instructions said I should sopy over to the FOP/lib folder

Page-height scales image?

2003-07-04 Thread Wessel van Norel
Hi, I'm using FOP atm to create PDF previews for a client of my company. The PDF previews are based on a template with for example a header and a footer and a certain markup for the text. Now I encounter a problem that I'm not able to explain. I have a header image which has a fixed height and

Re: JPEG images in Postscript

2003-07-04 Thread Jeremias Maerki
A bugfix is in CVS now. On 01.07.2003 16:21:50 Chris Bowditch wrote: I'm having trouble with Postscript generated by FOP 0.20.5rc3a. I have a document containing some JPEG images. The postscript file is produced without error with -d option specified. However, both Adobe Distiller and

Re: Page-height scales image?

2003-07-04 Thread J.Pietschmann
Wessel van Norel wrote: Now I encounter a problem that I'm not able to explain. I have a header image which has a fixed height and width (defined in the XSL file). But this image is not displayed correctly if my page height is below a certain value. The page height is given in the XML input,

Re: Page-height scales image?

2003-07-04 Thread Wessel van Norel
J.Pietschmann wrote: There's a bug, the image is scaled down according to the height of the body region, which does no good if it goes into another region which is actually larger than the body. No workaround, except don't do this. I don't think it will be fixed soon. J.Pietschmann But to be able

Re: Page-height scales image?

2003-07-04 Thread J.Pietschmann
Wessel van Norel wrote: If I'll need to search for the bug, can you perhaps give me a hint where to look? See bug #20868: ExternalGraphics.java, line 209 or so: int pageHeight = area.getPage().getBody().getMaxHeight() ^^^ should be something

Re: Page-height scales image?

2003-07-04 Thread Wessel van Norel
J.Pietschmann wrote: See bug #20868: ExternalGraphics.java, line 209 or so: int pageHeight = area.getPage().getBody().getMaxHeight() ^^^ should be something else. J.Pietschmann Thanks. We have looked into the bug report, and changed, after some