aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Removed some left-over alt-design docs.Jeremias Maerki2005-08-2255-10309/+0
| | | | | | 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
* Fix the DSC comment (Begin|EndDocument) for EPS files. It wasn't in the ↵Jeremias Maerki2005-08-221-3/+9
| | | | | | | | | 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
* Remember the original URI in the FopImage instance. Jeremias Maerki2005-08-2212-23/+36
| | | | | | | 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
* Code simplification.Jeremias Maerki2005-08-2111-77/+36
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234273 13f79535-47bb-0310-9956-ffa450edef68
* Sorry, had a non-released version in my classpath. Reverting.Jeremias Maerki2005-08-211-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234272 13f79535-47bb-0310-9956-ffa450edef68
* CopyUtils is deprecated.Jeremias Maerki2005-08-211-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234265 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36224: Jeremias Maerki2005-08-2119-237/+528
| | | | | | | | | | | | | | 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
* Remove obsolete method.Jeremias Maerki2005-08-211-36/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234208 13f79535-47bb-0310-9956-ffa450edef68
* Rename PDFXMLHandler to what it really is: an SVGHandler.Jeremias Maerki2005-08-213-34/+33
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234207 13f79535-47bb-0310-9956-ffa450edef68
* Rename PSXMLHandler to what it really is: an SVGHandler.Jeremias Maerki2005-08-212-10/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234206 13f79535-47bb-0310-9956-ffa450edef68
* Better error message.Jeremias Maerki2005-08-211-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234205 13f79535-47bb-0310-9956-ffa450edef68
* An attempt at helpful error output when the top/left/bottom/right properties ↵Jeremias Maerki2005-08-211-4/+42
| | | | | | on block-containers are not right. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234204 13f79535-47bb-0310-9956-ffa450edef68
* Show and fix a bug where bottom/right positioning of block-containers didn't ↵Jeremias Maerki2005-08-212-1/+16
| | | | | | 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
* A big step towards a usable PostScript renderer. Jeremias Maerki2005-08-2110-897/+1541
| | | | | | | | | | | | 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
* Access to the region-name for special comments in the PS output.Jeremias Maerki2005-08-211-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234198 13f79535-47bb-0310-9956-ffa450edef68
* New hasTrait() method.Jeremias Maerki2005-08-211-0/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234197 13f79535-47bb-0310-9956-ffa450edef68
* I want to work while this is running. :-)Jeremias Maerki2005-08-211-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234189 13f79535-47bb-0310-9956-ffa450edef68
* Been talking to someone at Metafocus. They are using FOP in their designer.Jeremias Maerki2005-08-201-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234098 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix for Bugzilla #36248 (and inline2.xml): Jeremias Maerki2005-08-204-14/+25
| | | | | | Nest KnuthElements in inline KnuthSequences. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234042 13f79535-47bb-0310-9956-ffa450edef68
* Testing all inline-level FOs inside fo:inline to check for ↵Jeremias Maerki2005-08-201-0/+59
| | | | | | ClassCastExceptions as reported in Bugzilla #36248. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234033 13f79535-47bb-0310-9956-ffa450edef68
* Fix centering table example not to use empty table-cells which is forbidden. ↵Jeremias Maerki2005-08-161-4/+11
| | | | | | | | 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
* Add a method to clear all image caches for testing purposes. It shouldn't be ↵Jeremias Maerki2005-08-163-7/+73
| | | | | | | | 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
* Notify image cache about the expiration of a user agent (i.e. processing run).Jeremias Maerki2005-08-161-13/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232950 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36082 Jeremias Maerki2005-08-164-71/+69
| | | | | | | 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
* ref to bugzilla 36180Chris Bowditch2005-08-155-12/+319
| | | | | | | 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
* Providing a FO -> RTF example explaining the only difference that ↵Jeremias Maerki2005-08-151-0/+128
| | | | | | 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
* Aaargh. Imports again.Jeremias Maerki2005-08-151-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232789 13f79535-47bb-0310-9956-ffa450edef68
* JUnit Test cases to test URI resolution using custom URIResolvers. They are ↵Jeremias Maerki2005-08-153-0/+279
| | | | | | 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
* Bugzilla #36082 Jeremias Maerki2005-08-1524-145/+1012
| | | | | | | | | | | | | | | | | | | | | 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
* javac source seems to be needed, too, when compiling under JDK 5.Jeremias Maerki2005-08-151-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232785 13f79535-47bb-0310-9956-ffa450edef68
* TODO item for HiResBoundingBox.Jeremias Maerki2005-08-151-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232778 13f79535-47bb-0310-9956-ffa450edef68
* Force PNG images to use the codec to determine the resolution as long as ↵Jeremias Maerki2005-08-151-0/+1
| | | | | | 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
* Style unification, restored building hyphenation pattern jarJoerg Pietschmann2005-08-141-187/+162
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232642 13f79535-47bb-0310-9956-ffa450edef68
* Removed obsolete code. This seems to be done now by each renderer separately.Jeremias Maerki2005-08-141-5/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232603 13f79535-47bb-0310-9956-ffa450edef68
* Squashed some JavaDoc warnings.Joerg Pietschmann2005-08-1423-61/+53
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232563 13f79535-47bb-0310-9956-ffa450edef68
* Removed left over .cvsignore files.Joerg Pietschmann2005-08-137-17/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232529 13f79535-47bb-0310-9956-ffa450edef68
* Removed some cruft. Expanded rarely used ant properties.Joerg Pietschmann2005-08-131-187/+52
| | | | | | | | 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
* Initial upload of the visual testing facility. Docs in code. A Wiki page ↵Jeremias Maerki2005-08-1214-0/+1301
| | | | | | will follow shortly. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232300 13f79535-47bb-0310-9956-ffa450edef68
* Read the bitmap resolution from PNGs and TIFFs.Jeremias Maerki2005-08-122-3/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232263 13f79535-47bb-0310-9956-ffa450edef68
* Merged branch ↵Jeremias Maerki2005-08-1222-442/+1156
| | | | | | | | | | | | | 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
* Fix regression that caused duplicate IDs when Reload was pressed in the AWT ↵Jeremias Maerki2005-08-121-3/+2
| | | | | | 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
* Bugzilla #36146 Jeremias Maerki2005-08-121-4/+6
| | | | | | | | 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
* Some general housekeeping. No functional changes.Jeremias Maerki2005-08-1012-42/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@231325 13f79535-47bb-0310-9956-ffa450edef68
* Removed Jakarta Commons Lang. It is not used. Don't know why I once thought ↵Jeremias Maerki2005-08-1035-217/+1719
| | | | | | | | | | | | | | 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
* Removed DOM-related tests as discussed. We don't want to test the buggy ↵Jeremias Maerki2005-08-101-35/+1
| | | | | | innards of Xalan-J. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@231263 13f79535-47bb-0310-9956-ffa450edef68
* Oops. Forgot to update this one.Jeremias Maerki2005-08-101-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@231242 13f79535-47bb-0310-9956-ffa450edef68
* Found a bug. Element list is not correct. Auxiliary boxes for starting and ↵Jeremias Maerki2005-08-101-0/+18
| | | | | | 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
* Support checking for the auxiliary flag on boxes.Jeremias Maerki2005-08-101-0/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@231240 13f79535-47bb-0310-9956-ffa450edef68
* SVN properties and imports.Jeremias Maerki2005-08-101-3/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@231224 13f79535-47bb-0310-9956-ffa450edef68
* AbstractFopImage subclass using ImageIO (JDK >= 1.4) to load images (works ↵Jeremias Maerki2005-08-101-0/+145
| | | | | | 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