I was working on a large (530+ pages) PDF creation and was receiving an error that the viewport was being exceeded. I finally figured out that an image was too long, and bled beyond the text of the page. That is my issue, and I figured out at least one way to get around that.
The problem is that the error message issued gave the wrong page number, and I was looking for trouble in the wrong part of the output PDF. The following ZIP file has a script and input files that reproduce the problem with the error message. The script would need modification to run on another machine, as I have quite a configuration mess to deal with. However, the "fop" script invocation is pretty simple, and the input .fo file is also pretty simple. http://swansongrp.com/misc/the_test.zip If necessary, I can open a problem report. Thanks for all your help, Bob Swanson bobswans...@gmail.com