xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 25272] - FNF thrown formatting test/resources/fop/image/align.fo
Date Wed, 10 Dec 2003 15:02:45 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25272>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25272

FNF thrown formatting test/resources/fop/image/align.fo





------- Additional Comments From john@integerservices.no-ip.com  2003-12-10 15:02 -------
I have written and tested a possible solution to this problem.

The fix makes use of a new class org.apache.fop.apps.CurrentSourceManager and 
changes two existing classes org.apache.fop.apps.FOFileHandler and
org.apache.fop.image.ImageFactory.

I have tested this with the same command I used to discover the problem:

find test -type f -name "*.fo" -print -exec ./test.sh {} \;

and test.sh contains:

#--------------------------------------------------------------------------
java -Xms100m -Xmx200m -cp
.:build/fop.jar:lib/avalon-framework-4.1.4.jar:lib/batik.jar:lib/commons-io-dev-20030703.jar
org.apache.fop.apps.Fop -fo ${1} -pdf /tmp/$$.pdf
#--------------------------------------------------------------------------

I have also tested with 
 find examples -type f -name "*.fo" -print -exec ./test.sh {} \;


Note: I am not certain that CurrentSourceManager belongs in the apps package
but it seems to belong with FOFileHandler which is currently in that package.

Mime
View raw message