]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
19 years agoAfter chasing a phantom for hours, it looks like it's simply the big images being...
Jeremias Maerki [Thu, 25 Aug 2005 14:26:28 +0000 (14:26 +0000)]
After chasing a phantom for hours, it looks like it's simply the big images being generated that eat over 90% of the memory and at some point cause an OutOfMemoryError. Releasing the bitmaps a little sooner now which helps a little. "-Xmx256m" is still a good idea for BatchDiffer.
Haven't found any memory leaks inside FOP, since I fixed the image cache.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@240079 13f79535-47bb-0310-9956-ffa450edef68

19 years agoFix for bug 35940
Luca Furini [Thu, 25 Aug 2005 12:19:19 +0000 (12:19 +0000)]
Fix for bug 35940
Some more checks in order to remove all the elements representing trailing spaces at the end of a paragraph

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@240050 13f79535-47bb-0310-9956-ffa450edef68

19 years agoBugfix for block-container-abs6 which didn't paint correctly in PostScript after...
Jeremias Maerki [Thu, 25 Aug 2005 07:51:34 +0000 (07:51 +0000)]
Bugfix for block-container-abs6 which didn't paint correctly in PostScript after the latest changes.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@240019 13f79535-47bb-0310-9956-ffa450edef68

19 years agoKerning is currently not supported by the layout engine, so disable it for PDF and...
Jeremias Maerki [Thu, 25 Aug 2005 07:28:27 +0000 (07:28 +0000)]
Kerning is currently not supported by the layout engine, so disable it for PDF and add a TODO item for PS.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@240012 13f79535-47bb-0310-9956-ffa450edef68

19 years agoImproved text painting for PostScript (including letter-space and word-space)
Jeremias Maerki [Wed, 24 Aug 2005 20:53:55 +0000 (20:53 +0000)]
Improved text painting for PostScript (including letter-space and word-space)
Moved text-decoration painting to the common base class and reused the border line painting method for this purpose.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@239925 13f79535-47bb-0310-9956-ffa450edef68

19 years agoTwo constants I'd like to reuse elsewhere.
Jeremias Maerki [Wed, 24 Aug 2005 20:52:20 +0000 (20:52 +0000)]
Two constants I'd like to reuse elsewhere.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@239924 13f79535-47bb-0310-9956-ffa450edef68

19 years agoUpdated license page and some nit-picking in skinconf.
Jeremias Maerki [Wed, 24 Aug 2005 20:46:47 +0000 (20:46 +0000)]
Updated license page and some nit-picking in skinconf.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@239920 13f79535-47bb-0310-9956-ffa450edef68

19 years agoFixes unrecoverable exceptions causing BatchDiffer to fail.
Jeremias Maerki [Wed, 24 Aug 2005 13:43:00 +0000 (13:43 +0000)]
Fixes unrecoverable exceptions causing BatchDiffer to fail.
Doing a clean separation of encoded and decoded data inside the image implementations. Helps fix a problem with the encoded CCITT TIFF being sent to the PS output even though this is not yet implemented.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@239661 13f79535-47bb-0310-9956-ffa450edef68

19 years agoxmlgraphics.apache.org/fop is now live.
Jeremias Maerki [Tue, 23 Aug 2005 19:36:03 +0000 (19:36 +0000)]
xmlgraphics.apache.org/fop is now live.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@239451 13f79535-47bb-0310-9956-ffa450edef68

19 years agoRewrite DocMgmt docs to use Forrest 0.7 and a local ForrestBot.
Jeremias Maerki [Tue, 23 Aug 2005 19:35:22 +0000 (19:35 +0000)]
Rewrite DocMgmt docs to use Forrest 0.7 and a local ForrestBot.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@239450 13f79535-47bb-0310-9956-ffa450edef68

19 years agoReintroduce they user's hyphenation patterns into the build process.
Simon Pepping [Tue, 23 Aug 2005 19:13:28 +0000 (19:13 +0000)]
Reintroduce they user's hyphenation patterns into the build process.
Fix a bug in the jar-hyphenation target.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@239447 13f79535-47bb-0310-9956-ffa450edef68

19 years agoFixes a bug where the bitmaps were not loaded at all.
Jeremias Maerki [Tue, 23 Aug 2005 16:07:26 +0000 (16:07 +0000)]
Fixes a bug where the bitmaps were not loaded at all.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@239424 13f79535-47bb-0310-9956-ffa450edef68

19 years agoStarted to implement a resource tracking facility in the PSGenerator. It tracks resou...
Jeremias Maerki [Tue, 23 Aug 2005 15:16:49 +0000 (15:16 +0000)]
Started to implement a resource tracking facility in the PSGenerator. It tracks resources such as EPS files, procset etc. as PSResource instances.
Resource-DSC comments are now generated.
Procsets moved into the Prolog where they belong.
Font setup is no longer a resource as it is not interchangeable between rendering runs. It's now just setup code with FOP-specific comments surrounding it.
In the future, this may also make it possible to write a size-optimized PS file from which the resources are stripped while writing the file. These resources will then be installed directly on a printer or inserted into the Prolog by a post-processor.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@239419 13f79535-47bb-0310-9956-ffa450edef68

19 years agoNew "-foout" parameter which only saves the intermediate XSL-FO file when -xml and...
Jeremias Maerki [Tue, 23 Aug 2005 14:33:38 +0000 (14:33 +0000)]
New "-foout" parameter which only saves the intermediate XSL-FO file when -xml and -xsl are used. Saves people from having to call a separate XSL transformer.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@239414 13f79535-47bb-0310-9956-ffa450edef68

19 years agoMoved CLI to its own package. New main class is org.apache.fop.cli.Main.
Jeremias Maerki [Tue, 23 Aug 2005 14:06:25 +0000 (14:06 +0000)]
Moved CLI to its own package. New main class is org.apache.fop.cli.Main.
InputHandler is not passed through the FOUserAgent anymore. IMO it doesn't belong there. Instead I defined an interface "Renderable" in the AWT preview that InputHandler implements. This is used exclusively for reloading the document inside the preview dialog.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@239409 13f79535-47bb-0310-9956-ffa450edef68

19 years agoForrestBot driver file using SCP for deployment of the FOP site to http://xmlgraphics...
Jeremias Maerki [Tue, 23 Aug 2005 07:51:16 +0000 (07:51 +0000)]
ForrestBot driver file using SCP for deployment of the FOP site to http://xmlgraphics.apache.org/fop/ after building the site with Forrest. Tested with Apache Forrest 0.7.

Build and deploy the FOP website using:
    ant -f publish.xml

See publish.xml for more info.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@239375 13f79535-47bb-0310-9956-ffa450edef68

19 years agoRemoved some left-over alt-design docs.
Jeremias Maerki [Mon, 22 Aug 2005 21:06:46 +0000 (21:06 +0000)]
Removed some left-over alt-design docs.
Moved raw content under xdocs to fix Forrest failures.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@239253 13f79535-47bb-0310-9956-ffa450edef68

19 years agoFix the DSC comment (Begin|EndDocument) for EPS files. It wasn't in the right place.
Jeremias Maerki [Mon, 22 Aug 2005 15:14:43 +0000 (15:14 +0000)]
Fix the DSC comment (Begin|EndDocument) for EPS files. It wasn't in the right place.
Added a FOP-specific comment around the whole EPS to delimit the EPS code.
Use the original URI if the EPS file has no name (which isn't parsed at the moment anyway).

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234504 13f79535-47bb-0310-9956-ffa450edef68

19 years agoRemember the original URI in the FopImage instance.
Jeremias Maerki [Mon, 22 Aug 2005 14:48:42 +0000 (14:48 +0000)]
Remember the original URI in the FopImage instance.
Output the original URI in the comment when writing an image to PostScript. Useful for people who post-process their PostScript files.
Fixed the position of the image comment so it can be used to factor out duplicate images when combining multiple PostScript files.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234500 13f79535-47bb-0310-9956-ffa450edef68

19 years agoCode simplification.
Jeremias Maerki [Sun, 21 Aug 2005 17:09:37 +0000 (17:09 +0000)]
Code simplification.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234273 13f79535-47bb-0310-9956-ffa450edef68

19 years agoSorry, had a non-released version in my classpath. Reverting.
Jeremias Maerki [Sun, 21 Aug 2005 17:08:10 +0000 (17:08 +0000)]
Sorry, had a non-released version in my classpath. Reverting.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234272 13f79535-47bb-0310-9956-ffa450edef68

19 years agoCopyUtils is deprecated.
Jeremias Maerki [Sun, 21 Aug 2005 16:54:17 +0000 (16:54 +0000)]
CopyUtils is deprecated.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234265 13f79535-47bb-0310-9956-ffa450edef68

19 years agoBugzilla #36224:
Jeremias Maerki [Sun, 21 Aug 2005 16:44:00 +0000 (16:44 +0000)]
Bugzilla #36224:
This patch ports the 0.20.5 CCITTFaxDecode filter functionality and its support
of direct embedding on certain TIFF images to the trunk.
It also cleans up some of the image handling with respect to consistent closing
of the input stream to avoid dangling open files.
Submitted by: Manuel Mall <mm.at.arcus.com.au>

Changes to the patch:
Fixed a small problem with the NullFilter in the PDF library.
Used tiff_group4.tiff in external-graphic-tiff.xml.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234261 13f79535-47bb-0310-9956-ffa450edef68

19 years agoRemove obsolete method.
Jeremias Maerki [Sun, 21 Aug 2005 14:22:01 +0000 (14:22 +0000)]
Remove obsolete method.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234208 13f79535-47bb-0310-9956-ffa450edef68

19 years agoRename PDFXMLHandler to what it really is: an SVGHandler.
Jeremias Maerki [Sun, 21 Aug 2005 14:20:34 +0000 (14:20 +0000)]
Rename PDFXMLHandler to what it really is: an SVGHandler.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234207 13f79535-47bb-0310-9956-ffa450edef68

19 years agoRename PSXMLHandler to what it really is: an SVGHandler.
Jeremias Maerki [Sun, 21 Aug 2005 14:17:06 +0000 (14:17 +0000)]
Rename PSXMLHandler to what it really is: an SVGHandler.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234206 13f79535-47bb-0310-9956-ffa450edef68

19 years agoBetter error message.
Jeremias Maerki [Sun, 21 Aug 2005 14:11:39 +0000 (14:11 +0000)]
Better error message.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234205 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAn attempt at helpful error output when the top/left/bottom/right properties on block...
Jeremias Maerki [Sun, 21 Aug 2005 14:10:59 +0000 (14:10 +0000)]
An attempt at helpful error output when the top/left/bottom/right properties on block-containers are not right.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234204 13f79535-47bb-0310-9956-ffa450edef68

19 years agoShow and fix a bug where bottom/right positioning of block-containers didn't work...
Jeremias Maerki [Sun, 21 Aug 2005 14:09:25 +0000 (14:09 +0000)]
Show and fix a bug where bottom/right positioning of block-containers didn't work properly when the block-container is nested in a block.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234203 13f79535-47bb-0310-9956-ffa450edef68

19 years agoA big step towards a usable PostScript renderer.
Jeremias Maerki [Sun, 21 Aug 2005 13:36:53 +0000 (13:36 +0000)]
A big step towards a usable PostScript renderer.
Some code that can be used by both PS and PDF renderers factored out into a common base class (AbstractPathOrientedRenderer).
Coordinate system of PS renderer and PSGraphics2D changed to be based on points rather than millipoints to be the same as the PDFRenderer. This improves the chance to reuse code.
PSGenerator set to PostScript level 2 now, should later be configurable. There may still be some PS commands which should be changed from Level 2 to Level 1, just to be able to support Level 1 later should anyone ask for it.
Bitmap, EPS and SVG support should be mostly restored now.
PSState was extended to provide the same break-out mechanism for fixed b-cs. And it has better support for tracking the graphics state.
Added some FOP-specific comments to certain constructs for people who want to post-process the PS output.
BatchDiffer shows very few visual differences now on the layout engine test cases between PDF and PS.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234201 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAccess to the region-name for special comments in the PS output.
Jeremias Maerki [Sun, 21 Aug 2005 13:07:52 +0000 (13:07 +0000)]
Access to the region-name for special comments in the PS output.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234198 13f79535-47bb-0310-9956-ffa450edef68

19 years agoNew hasTrait() method.
Jeremias Maerki [Sun, 21 Aug 2005 13:00:32 +0000 (13:00 +0000)]
New hasTrait() method.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234197 13f79535-47bb-0310-9956-ffa450edef68

19 years agoI want to work while this is running. :-)
Jeremias Maerki [Sun, 21 Aug 2005 12:22:49 +0000 (12:22 +0000)]
I want to work while this is running. :-)

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234189 13f79535-47bb-0310-9956-ffa450edef68

19 years agoBeen talking to someone at Metafocus. They are using FOP in their designer.
Jeremias Maerki [Sat, 20 Aug 2005 17:12:45 +0000 (17:12 +0000)]
Been talking to someone at Metafocus. They are using FOP in their designer.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234098 13f79535-47bb-0310-9956-ffa450edef68

19 years agoBugfix for Bugzilla #36248 (and inline2.xml):
Jeremias Maerki [Sat, 20 Aug 2005 15:01:37 +0000 (15:01 +0000)]
Bugfix for Bugzilla #36248 (and inline2.xml):
Nest KnuthElements in inline KnuthSequences.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234042 13f79535-47bb-0310-9956-ffa450edef68

19 years agoTesting all inline-level FOs inside fo:inline to check for ClassCastExceptions as...
Jeremias Maerki [Sat, 20 Aug 2005 14:40:01 +0000 (14:40 +0000)]
Testing all inline-level FOs inside fo:inline to check for ClassCastExceptions as reported in Bugzilla #36248.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234033 13f79535-47bb-0310-9956-ffa450edef68

19 years agoFix centering table example not to use empty table-cells which is forbidden. Use...
Jeremias Maerki [Tue, 16 Aug 2005 08:07:35 +0000 (08:07 +0000)]
Fix centering table example not to use empty table-cells which is forbidden. Use column-number instead! Works for both FOP 0.20.5 and Trunk.
Added note about right-aligning tables.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232959 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAdd a method to clear all image caches for testing purposes. It shouldn't be necessar...
Jeremias Maerki [Tue, 16 Aug 2005 07:35:42 +0000 (07:35 +0000)]
Add a method to clear all image caches for testing purposes. It shouldn't be necessary anymore to call such a method in a production environment or we have a problem with the image cache.
Testing SystemID resolution as well as StreamSource with an InputStream.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232952 13f79535-47bb-0310-9956-ffa450edef68

19 years agoNotify image cache about the expiration of a user agent (i.e. processing run).
Jeremias Maerki [Tue, 16 Aug 2005 07:33:05 +0000 (07:33 +0000)]
Notify image cache about the expiration of a user agent (i.e. processing run).

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232950 13f79535-47bb-0310-9956-ffa450edef68

19 years agoBugzilla #36082
Jeremias Maerki [Tue, 16 Aug 2005 06:51:40 +0000 (06:51 +0000)]
Bugzilla #36082
Renamed FOUserAgent.getStream() to FOUserAgent.resolveURI() which now simply returns a Source instance which the ImageFactory uses to get at an InputStream somehow.
Submitted by: Manuel Mall <mm.at.arcus.com.au>

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232949 13f79535-47bb-0310-9956-ffa450edef68

19 years agoref to bugzilla 36180
Chris Bowditch [Mon, 15 Aug 2005 13:23:27 +0000 (13:23 +0000)]
ref to bugzilla 36180
Submitted by: Manuel Mall <mm.at.arcus.com.au>

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232810 13f79535-47bb-0310-9956-ffa450edef68

19 years agoProviding a FO -> RTF example explaining the only difference that getResults() cannot...
Jeremias Maerki [Mon, 15 Aug 2005 12:41:56 +0000 (12:41 +0000)]
Providing a FO -> RTF example explaining the only difference that getResults() cannot be used. I think I promised that example to someone earlier.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232805 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAaargh. Imports again.
Jeremias Maerki [Mon, 15 Aug 2005 10:47:52 +0000 (10:47 +0000)]
Aaargh. Imports again.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232789 13f79535-47bb-0310-9956-ffa450edef68

19 years agoJUnit Test cases to test URI resolution using custom URIResolvers. They are not yet...
Jeremias Maerki [Mon, 15 Aug 2005 10:45:28 +0000 (10:45 +0000)]
JUnit Test cases to test URI resolution using custom URIResolvers. They are not yet integrated into the test suite as the second test fails and the first test needs some changes in the code (see TODO).

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232788 13f79535-47bb-0310-9956-ffa450edef68

19 years agoBugzilla #36082
Jeremias Maerki [Mon, 15 Aug 2005 10:34:31 +0000 (10:34 +0000)]
Bugzilla #36082
1. Addresses the URI resolving issue as discussed in this bug by providing a
FOP implementation of the URIResolver interface as well as the capabilities to
set a URIResolver on the FOUserAgent object.
2. Modifies the BMPReader to extract the resolution information.
3. Fixes a possible array bounds exception in BMPImage which can happen for BMP
images with extra bytes at the end.
4. Provides some infrastructure in ImageFactory in preparation of external
configuration of multiple prioritised image providers per mime type.
5. Sets a proper base URL in SVGElement.
6. Provides test cases and test images for the different formats and
resolutions.
Submitted by: Manuel Mall <mm.at.arcus.com.au>

Patch slightly modified:
- EPS sample graphic exchanged with a very simple and more importantly much smaller one generated by Barcode4J.
- Enabled resolution checking for some of the format-specific testcases (especially after working around resolution detection for PNG)

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232786 13f79535-47bb-0310-9956-ffa450edef68

19 years agojavac source seems to be needed, too, when compiling under JDK 5.
Jeremias Maerki [Mon, 15 Aug 2005 10:28:32 +0000 (10:28 +0000)]
javac source seems to be needed, too, when compiling under JDK 5.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232785 13f79535-47bb-0310-9956-ffa450edef68

19 years agoTODO item for HiResBoundingBox.
Jeremias Maerki [Mon, 15 Aug 2005 09:08:55 +0000 (09:08 +0000)]
TODO item for HiResBoundingBox.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232778 13f79535-47bb-0310-9956-ffa450edef68

19 years agoForce PNG images to use the codec to determine the resolution as long as this is...
Jeremias Maerki [Mon, 15 Aug 2005 08:49:41 +0000 (08:49 +0000)]
Force PNG images to use the codec to determine the resolution as long as this is not implemented in the PNGReader.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232774 13f79535-47bb-0310-9956-ffa450edef68

19 years agoStyle unification, restored building hyphenation pattern jar
Joerg Pietschmann [Sun, 14 Aug 2005 20:57:29 +0000 (20:57 +0000)]
Style unification, restored building hyphenation pattern jar

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232642 13f79535-47bb-0310-9956-ffa450edef68

19 years agoRemoved obsolete code. This seems to be done now by each renderer separately.
Jeremias Maerki [Sun, 14 Aug 2005 14:05:23 +0000 (14:05 +0000)]
Removed obsolete code. This seems to be done now by each renderer separately.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232603 13f79535-47bb-0310-9956-ffa450edef68

19 years agoSquashed some JavaDoc warnings.
Joerg Pietschmann [Sun, 14 Aug 2005 00:57:01 +0000 (00:57 +0000)]
Squashed some JavaDoc warnings.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232563 13f79535-47bb-0310-9956-ffa450edef68

19 years agoRemoved left over .cvsignore files.
Joerg Pietschmann [Sat, 13 Aug 2005 21:33:01 +0000 (21:33 +0000)]
Removed left over .cvsignore files.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232529 13f79535-47bb-0310-9956-ffa450edef68

19 years agoRemoved some cruft. Expanded rarely used ant properties.
Joerg Pietschmann [Sat, 13 Aug 2005 21:29:58 +0000 (21:29 +0000)]
Removed some cruft. Expanded rarely used ant properties.
Reenabled hyphenation serialization.
Straightened some build dependencies.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232528 13f79535-47bb-0310-9956-ffa450edef68

19 years agoInitial upload of the visual testing facility. Docs in code. A Wiki page will follow...
Jeremias Maerki [Fri, 12 Aug 2005 13:58:52 +0000 (13:58 +0000)]
Initial upload of the visual testing facility. Docs in code. A Wiki page will follow shortly.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232300 13f79535-47bb-0310-9956-ffa450edef68

19 years agoRead the bitmap resolution from PNGs and TIFFs.
Jeremias Maerki [Fri, 12 Aug 2005 10:46:39 +0000 (10:46 +0000)]
Read the bitmap resolution from PNGs and TIFFs.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232263 13f79535-47bb-0310-9956-ffa450edef68

19 years agoMerged branch https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock...
Jeremias Maerki [Fri, 12 Aug 2005 09:50:01 +0000 (09:50 +0000)]
Merged branch https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock back into Trunk.
Revisions: 227462 to HEAD (231261)

This adds support for block-level content inside fo:inline.

The full set of changes on the branch can be extracted by:
svn log http://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock -r 227462:231261

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232250 13f79535-47bb-0310-9956-ffa450edef68

19 years agoFix regression that caused duplicate IDs when Reload was pressed in the AWT Viewer...
Jeremias Maerki [Fri, 12 Aug 2005 08:40:00 +0000 (08:40 +0000)]
Fix regression that caused duplicate IDs when Reload was pressed in the AWT Viewer. The Fop instance should only be used for one single rendering run. The regression was caused by the introduction of a member variable for the FOTreeBuilder which is used to fetch the rendering results.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232236 13f79535-47bb-0310-9956-ffa450edef68

19 years agoBugzilla #36146
Jeremias Maerki [Fri, 12 Aug 2005 08:23:57 +0000 (08:23 +0000)]
Bugzilla #36146
Image scaling didn't work in the Java2D based renderers, as the putImage
function was referring to the wrong height/width.
Submitted by: Richard Wheeldon <richardw.at.geoquip-rnd.demon.co.uk>

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232234 13f79535-47bb-0310-9956-ffa450edef68

19 years agoSome general housekeeping. No functional changes.
Jeremias Maerki [Wed, 10 Aug 2005 21:05:39 +0000 (21:05 +0000)]
Some general housekeeping. No functional changes.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@231325 13f79535-47bb-0310-9956-ffa450edef68

19 years agoRemoved Jakarta Commons Lang. It is not used. Don't know why I once thought Commons...
Jeremias Maerki [Wed, 10 Aug 2005 19:21:39 +0000 (19:21 +0000)]
Removed Jakarta Commons Lang. It is not used. Don't know why I once thought Commons IO depends on Commons Lang. Shrug.
Upgrade for Apache Xerces-J from 2.2.1 to 2.7.1.
Upgrade for Apache Xalan-J from 2.4.1 to 2.7.0 (notice the new serializer.jar which was separated out from xalan.jar because xercesImpl.jar now needs this functionality because of the latest JAXP)
Upgrade for XML Commons Externals (xml-apis.jar). This is version 1.3.02 which is bundled with both Xerces-J 2.7.1 and Xalan-J 2.7.0)
Upgrade for Apache Batik to 1.6 ("all-jar" built using JDK 1.3.1_15 from the source distribution)
Upgrade for Apache Avalon Framework from 4.1.4 to 4.2.0.
Added a README.txt which documents all dependencies and should serve as primary for licensing information on FOP dependencies.
Adjusted fop.bat to the changed JAR names.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@231295 13f79535-47bb-0310-9956-ffa450edef68

19 years agoRemoved DOM-related tests as discussed. We don't want to test the buggy innards of...
Jeremias Maerki [Wed, 10 Aug 2005 15:23:21 +0000 (15:23 +0000)]
Removed DOM-related tests as discussed. We don't want to test the buggy innards of Xalan-J.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@231263 13f79535-47bb-0310-9956-ffa450edef68

19 years agoOops. Forgot to update this one.
Jeremias Maerki [Wed, 10 Aug 2005 14:13:51 +0000 (14:13 +0000)]
Oops. Forgot to update this one.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@231242 13f79535-47bb-0310-9956-ffa450edef68

19 years agoFound a bug. Element list is not correct. Auxiliary boxes for starting and ending...
Jeremias Maerki [Wed, 10 Aug 2005 14:08:41 +0000 (14:08 +0000)]
Found a bug. Element list is not correct. Auxiliary boxes for starting and ending borders are not generated. May cause wrong break decisions.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@231241 13f79535-47bb-0310-9956-ffa450edef68

19 years agoSupport checking for the auxiliary flag on boxes.
Jeremias Maerki [Wed, 10 Aug 2005 14:05:27 +0000 (14:05 +0000)]
Support checking for the auxiliary flag on boxes.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@231240 13f79535-47bb-0310-9956-ffa450edef68

19 years agoSVN properties and imports.
Jeremias Maerki [Wed, 10 Aug 2005 12:58:02 +0000 (12:58 +0000)]
SVN properties and imports.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@231224 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAbstractFopImage subclass using ImageIO (JDK >= 1.4) to load images (works with GIF...
Jeremias Maerki [Wed, 10 Aug 2005 12:56:30 +0000 (12:56 +0000)]
AbstractFopImage subclass using ImageIO (JDK >= 1.4) to load images (works with GIF, too). Some of the code dealing with the BufferedImage could probably be extracted to a common subclass since it's mostly a copy from a different FopImage implementation.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@231223 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAbstractFopImage subclass using ImageIO (JDK >= 1.4) to load images (works with GIF...
Jeremias Maerki [Wed, 10 Aug 2005 12:56:24 +0000 (12:56 +0000)]
AbstractFopImage subclass using ImageIO (JDK >= 1.4) to load images (works with GIF, too). Some of the code dealing with the BufferedImage could probably be extracted to a common subclass since it's mostly a copy from a different FopImage implementation.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@231222 13f79535-47bb-0310-9956-ffa450edef68

19 years agoForgot to commit a changed file. Straggler from the RTF library clean-up.
Jeremias Maerki [Wed, 10 Aug 2005 12:39:30 +0000 (12:39 +0000)]
Forgot to commit a changed file. Straggler from the RTF library clean-up.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@231221 13f79535-47bb-0310-9956-ffa450edef68

19 years agoBetter documentation of FOUserAgent.getStream()
Jeremias Maerki [Wed, 10 Aug 2005 12:04:16 +0000 (12:04 +0000)]
Better documentation of FOUserAgent.getStream()

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@231215 13f79535-47bb-0310-9956-ffa450edef68

19 years agoFallback to default value if "compression" value is not given.
Jeremias Maerki [Wed, 10 Aug 2005 12:01:54 +0000 (12:01 +0000)]
Fallback to default value if "compression" value is not given.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@231214 13f79535-47bb-0310-9956-ffa450edef68

19 years agoBugzilla #36112
Jeremias Maerki [Wed, 10 Aug 2005 11:56:35 +0000 (11:56 +0000)]
Bugzilla #36112
Fix for Java2DRenderer to paint regions other than region-body. Area tree was not properly cloned.
Submitted by: Richard Wheeldon <richardw.at.geoquip-rnd.demon.co.uk>

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@231213 13f79535-47bb-0310-9956-ffa450edef68

19 years agoBugzilla #36067
Jeremias Maerki [Wed, 10 Aug 2005 09:07:41 +0000 (09:07 +0000)]
Bugzilla #36067
Support for relative font sizes.
Submitted by: Manuel Mall <mm.at.arcus.com.au>

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@231198 13f79535-47bb-0310-9956-ffa450edef68

19 years agoSubmitted by: Manuel Mall <mm.at.arcus.com.au>
Chris Bowditch [Tue, 9 Aug 2005 14:56:41 +0000 (14:56 +0000)]
Submitted by: Manuel Mall <mm.at.arcus.com.au>
ref to bugzilla 36098

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@231047 13f79535-47bb-0310-9956-ffa450edef68

19 years agoCommitting a hack I've started earlier. The analyzer did not always recognize an...
Jeremias Maerki [Mon, 8 Aug 2005 06:06:04 +0000 (06:06 +0000)]
Committing a hack I've started earlier. The analyzer did not always recognize an SVG file as such, especially XML encoded in a two-byte charset. This will still need some attention.
Logging reenabled.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@230759 13f79535-47bb-0310-9956-ffa450edef68

19 years agoRemove orphan directory.
Jeremias Maerki [Fri, 5 Aug 2005 19:16:58 +0000 (19:16 +0000)]
Remove orphan directory.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@230500 13f79535-47bb-0310-9956-ffa450edef68

19 years agoBugzilla #35998
Jeremias Maerki [Fri, 5 Aug 2005 19:14:10 +0000 (19:14 +0000)]
Bugzilla #35998
Context classes into the tools package.
Lonely interface ITableColumnsInfo to the others.
Suggested by: Guillaume Déflache <guillaume.at.anyware-tech.com>

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@230499 13f79535-47bb-0310-9956-ffa450edef68

19 years agoBugzilla #35992
Jeremias Maerki [Fri, 5 Aug 2005 19:00:15 +0000 (19:00 +0000)]
Bugzilla #35992
Updates based on insights gained through additional test cases.
Submitted by: Manuel Mall <mm.at.arcus.com.au>

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@230498 13f79535-47bb-0310-9956-ffa450edef68

19 years agoBugzilla #35992
Jeremias Maerki [Fri, 5 Aug 2005 18:59:00 +0000 (18:59 +0000)]
Bugzilla #35992
Additional element for background-position demonstration.
Submitted by: Manuel Mall <mm.at.arcus.com.au>

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@230497 13f79535-47bb-0310-9956-ffa450edef68

19 years agoPlease keep it sorted.
Jeremias Maerki [Fri, 5 Aug 2005 11:55:09 +0000 (11:55 +0000)]
Please keep it sorted.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@230448 13f79535-47bb-0310-9956-ffa450edef68

19 years agoPatch supplied by Manuel Mall in bugzilla 36036 with minor modifications
Chris Bowditch [Fri, 5 Aug 2005 11:30:05 +0000 (11:30 +0000)]
Patch supplied by Manuel Mall in bugzilla 36036 with minor modifications
Submitted by: Manuel Mall <mm.at.arcus.com.au>

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@230445 13f79535-47bb-0310-9956-ffa450edef68

19 years agodisabled font size absolute and relative tests as they currently fail!
Chris Bowditch [Thu, 4 Aug 2005 13:30:02 +0000 (13:30 +0000)]
disabled font size absolute and relative tests as they currently fail!

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227399 13f79535-47bb-0310-9956-ffa450edef68

19 years agoTest cases submitted by Manual Mall, bugzilla 36025. I have added some checks to...
Chris Bowditch [Thu, 4 Aug 2005 13:25:36 +0000 (13:25 +0000)]
Test cases submitted by Manual Mall, bugzilla 36025. I have added some checks to increase effectiveness of tests
Submitted by: Manuel Mall <mm.at.arcus.com.au>

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227398 13f79535-47bb-0310-9956-ffa450edef68

19 years agoThis does no more cause a ClassCastExceptions.
Luca Furini [Thu, 4 Aug 2005 12:38:59 +0000 (12:38 +0000)]
This does no more cause a ClassCastExceptions.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227352 13f79535-47bb-0310-9956-ffa450edef68

19 years agosetting svn:eol-style and svn:keywords properiets
Christian Geisert [Thu, 4 Aug 2005 12:24:44 +0000 (12:24 +0000)]
setting svn:eol-style and svn:keywords properiets
(didn't work automagically with client-side configuration ..)

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227351 13f79535-47bb-0310-9956-ffa450edef68

19 years agoTestcases for leader
Christian Geisert [Thu, 4 Aug 2005 12:19:40 +0000 (12:19 +0000)]
Testcases for leader
Submitted by:  Manuel Mall <mm.at.arcus.com.au>
see Bugzilla #36013, #36015, #36017

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227350 13f79535-47bb-0310-9956-ffa450edef68

19 years agoFix for bug 36007.
Luca Furini [Thu, 4 Aug 2005 10:31:13 +0000 (10:31 +0000)]
Fix for bug 36007.
The list of elements created by the LineLM was incomplete.
Thanks to Manuel Mall for signaling the bug and providing testcases.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227342 13f79535-47bb-0310-9956-ffa450edef68

19 years agoSetting svn:eol-style and svn:keywords where necessary. Need to lookup why these...
Jeremias Maerki [Thu, 4 Aug 2005 10:10:14 +0000 (10:10 +0000)]
Setting svn:eol-style and svn:keywords where necessary. Need to lookup why these are missing only on some.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227338 13f79535-47bb-0310-9956-ffa450edef68

19 years agoadded some checks to the test case to make it more effective in checking for regressions
Chris Bowditch [Thu, 4 Aug 2005 09:57:38 +0000 (09:57 +0000)]
added some checks to the test case to make it more effective in checking for regressions

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227335 13f79535-47bb-0310-9956-ffa450edef68

19 years agoTestcases for word-spacing
Christian Geisert [Thu, 4 Aug 2005 09:47:44 +0000 (09:47 +0000)]
Testcases for word-spacing
Submitted by:  Manuel Mall <mm.at.arcus.com.au>, see Bugzilla #36010

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227334 13f79535-47bb-0310-9956-ffa450edef68

19 years agodisabled letter-spacing3.xml for now as it fails
Chris Bowditch [Thu, 4 Aug 2005 08:41:47 +0000 (08:41 +0000)]
disabled letter-spacing3.xml for now as it fails

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227323 13f79535-47bb-0310-9956-ffa450edef68

19 years agoSubmitted by Manual Mall in bugzilla 36008
Chris Bowditch [Thu, 4 Aug 2005 08:41:07 +0000 (08:41 +0000)]
Submitted by Manual Mall in bugzilla 36008

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227322 13f79535-47bb-0310-9956-ffa450edef68

19 years agoRemoving dependencies of RTF library on the rest of FOP so it can be used stand-alone.
Jeremias Maerki [Wed, 3 Aug 2005 19:30:55 +0000 (19:30 +0000)]
Removing dependencies of RTF library on the rest of FOP so it can be used stand-alone.
Submitted by: Guillaume Déflache <guillaume.at.anyware-tech.com>

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227252 13f79535-47bb-0310-9956-ffa450edef68

19 years agoTests for fo:wrapper.
Jeremias Maerki [Wed, 3 Aug 2005 18:42:24 +0000 (18:42 +0000)]
Tests for fo:wrapper.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227246 13f79535-47bb-0310-9956-ffa450edef68

19 years agoProper handling of the color property on page-number and page-number-citatition.
Jeremias Maerki [Wed, 3 Aug 2005 18:37:31 +0000 (18:37 +0000)]
Proper handling of the color property on page-number and page-number-citatition.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227245 13f79535-47bb-0310-9956-ffa450edef68

19 years agoCurrent Forrest is not fully HTML 4.01 and CSS compliant due to a bug, so we better...
Jeremias Maerki [Wed, 3 Aug 2005 13:45:07 +0000 (13:45 +0000)]
Current Forrest is not fully HTML 4.01 and CSS compliant due to a bug, so we better switch the logos off for now.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227222 13f79535-47bb-0310-9956-ffa450edef68

19 years agoDisabled the external link images. They mess up the layout in many places.
Jeremias Maerki [Wed, 3 Aug 2005 13:41:14 +0000 (13:41 +0000)]
Disabled the external link images. They mess up the layout in many places.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227221 13f79535-47bb-0310-9956-ffa450edef68

19 years agoInitial values for "Trunk" column. No guarantees!
Jeremias Maerki [Wed, 3 Aug 2005 13:39:39 +0000 (13:39 +0000)]
Initial values for "Trunk" column. No guarantees!

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227219 13f79535-47bb-0310-9956-ffa450edef68

19 years agoUpdate to Forrest 0.7.
Jeremias Maerki [Wed, 3 Aug 2005 11:55:22 +0000 (11:55 +0000)]
Update to Forrest 0.7.
Preparations for second column for trunk on the compilance page.
Submitted by: Manuel Mall <mm.at.arcus.com.au>

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227202 13f79535-47bb-0310-9956-ffa450edef68

19 years agoFix for table-body4.xml. Higher penalty values for breaks that would results in unwel...
Jeremias Maerki [Tue, 2 Aug 2005 15:58:31 +0000 (15:58 +0000)]
Fix for table-body4.xml. Higher penalty values for breaks that would results in unwelcome table breaks. At the moment this is hard-coded to an arbitrary value and needs to be refined.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227030 13f79535-47bb-0310-9956-ffa450edef68

19 years agoTest case for badly broken table rows as discussed on fop-dev.
Jeremias Maerki [Tue, 2 Aug 2005 15:56:20 +0000 (15:56 +0000)]
Test case for badly broken table rows as discussed on fop-dev.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227029 13f79535-47bb-0310-9956-ffa450edef68