Created attachment 26012 [details] FO file used to generate the two PDF files I have an FO file that I use to generate a PDF file. The file contains headers and footers. With FOP 0.95 the file looked entirely correct; with FOP 1.0 the headers are clipped and the footers are not displayed at all. The area trees generated by 0.95 and 1.0 are the same as far as the areas are concerned, so it looks like a rendering bug to me.
Created attachment 26013 [details] PDF generated with FOP 0.95
Created attachment 26014 [details] PDF generated with FOP 1.0
27-SEP-2010: Is anyone reading this? I was hoping for some sort of reply - at least a conformation that it's a FOP error and not something I'm doing wrong.
Created attachment 26080 [details] A simpler demonstration of the bug
This does seem to be a bug. The text in the static regions does seem to be layed out properly- dragging over the text in my PDF reader highlights the invisible text. Reducing the left margin of the page master seems to proportionally decrease the degree of cropping.
This bug does not emerge when rendering AFP- so probably a bug somewhere in the PDF renderer.
The overflow property is specified on region-before or after. This results into the definition of a clipping rectangle in the PDF output, whose coordinates are wrong. All the renderers that honour the overflow property are affected. I could not trace the exact origin of the problem. A work-around is to not specify overflow on the side regions.
I've committed a partial fix: http://svn.apache.org/viewvc?rev=1081554&view=rev It works when the reference-orientation property is set to 0 or 180 on side-regions.
*** Bug 52610 has been marked as a duplicate of this bug. ***
resetting P2 open bugs to P3 pending further review
a fix was implemented at http://svn.apache.org/viewvc?rev=1081554&view=rev (see comment 8) if a problem still exists, then file a new bug with a reference to this bug