Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
0.20.5
-
None
-
None
-
Operating System: Windows XP
Platform: PC
-
33801
Description
My french team and I work on a Java project and we plan to embed FOP
0.20.5 for the needed print reports.
We experience a problem when we are using the AWT renderer with
documents that contain tables. Sometimes, a page is "cut" in the
middle of a table and its header (fo:region-before) is missing.
As far as we have investigated we can say that:
- We have neither abnormal output message, nor exception stack
trace.
- We only experience this problem with the AWT renderer. Using
the PCL renderer works fine (but it lacks multibyte characters
support that is critical for some of our translated releases).
- We only experience this problem on a true printer (we have tried
several models from HP and OKI). We never reproduced the
problem using a fake printer such as Adobe Acrobat Distiller.
- With the FO document (bug.fo) that is attached, we experience
the problem 20% of the time when launching the printing from our
application (we tried both java.awt.print and javax.print APIs).
When using the `fop.bat' script, we experience the problem 100%
of the time with the same FO document.
fop.bat -fo bug.fo -print
We tried JDK 1.4.1_07 and 1.4.2_07.
- So far, 100% of the time it happened, tables were involved in
the document.
- Using the same FO document and the same FOP command line several
times may result in having the bug occuring on different pages
of the document. The printing does not fail systematically at
the same point of the document.
I have attached:
You can download http://www.guillaumeponce.org/fop/bug.fo.zip
The reference FO document we have used to investigate this
problem (zipped).
You can also download http://www.guillaumeponce.org/fop/bug.pdf
It is 12 Mb large. It is an actual 8 pages long paper print
that has been scanned. You can see that the problemI
describe occured on page 7 out of 8.