You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Guillaume Ponce <fo...@guillaumeponce.org> on 2005/02/24 10:49:32 UTC
FOP 0.20.5 AWTRenderer: Sometimes rendering fails in the middle of a table with no error message
Hi,
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:
bug.fo.zip
The reference FO document we have used to investigate this
problem (zipped).
If the attachment does not work (I don't know, it is the very
first time I post to this mailing list), you can download it at
http://www.guillaumeponce.org/fop/bug.fo.zip
You can also download http://www.guillaumeponce.org/fop/bug.pdf
I have not attached it because it is 12 Mb. It is an actual 8 pages
long paper print that has been scanned. You can see that the problem
I describe occured on page 7 out of 8.
Sorry for any language mistake in this message, I am French.
Best regards.
-- Guillaume Ponce
http://www.guillaumeponce.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org