aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Two constants I'd like to reuse elsewhere.Jeremias Maerki2005-08-241-2/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@239924 13f79535-47bb-0310-9956-ffa450edef68
* Updated license page and some nit-picking in skinconf.Jeremias Maerki2005-08-242-52/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@239920 13f79535-47bb-0310-9956-ffa450edef68
* Fixes unrecoverable exceptions causing BatchDiffer to fail. Jeremias Maerki2005-08-2411-61/+64
| | | | | | 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
* xmlgraphics.apache.org/fop is now live.Jeremias Maerki2005-08-231-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@239451 13f79535-47bb-0310-9956-ffa450edef68
* Rewrite DocMgmt docs to use Forrest 0.7 and a local ForrestBot.Jeremias Maerki2005-08-231-100/+41
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@239450 13f79535-47bb-0310-9956-ffa450edef68
* Reintroduce they user's hyphenation patterns into the build process.Simon Pepping2005-08-232-26/+44
| | | | | | | 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
* Fixes a bug where the bitmaps were not loaded at all.Jeremias Maerki2005-08-231-0/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@239424 13f79535-47bb-0310-9956-ffa450edef68
* Started to implement a resource tracking facility in the PSGenerator. It ↵Jeremias Maerki2005-08-236-144/+369
| | | | | | | | | | | 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
* New "-foout" parameter which only saves the intermediate XSL-FO file when ↵Jeremias Maerki2005-08-233-10/+63
| | | | | | -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
* Moved CLI to its own package. New main class is org.apache.fop.cli.Main. Jeremias Maerki2005-08-2317-210/+329
| | | | | | 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
* ForrestBot driver file using SCP for deployment of the FOP site to ↵Jeremias Maerki2005-08-231-0/+74
| | | | | | | | | | | 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
* 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