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: 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