]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
19 years agoBugzilla #36432:
Jeremias Maerki [Wed, 31 Aug 2005 08:53:25 +0000 (08:53 +0000)]
Bugzilla #36432:
JAI image does not release all resources - reported by Stephen Denne - thanks!
When loading an image provider whose support libraries are missing an
exception is thrown which should really only be a warning and the next provider
be tried.
Submitted by: Manuel Mall <mm.at.arcus.com.au>

Changes to the patch by JM:
Log level for the warning changed to debug() because the binary distribution is compiled with JAI and JIMI support and this will cause a lot of inappropriate warnings for people just happy with ImageIO images.

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

19 years agoBugzilla #36418:
Jeremias Maerki [Wed, 31 Aug 2005 08:40:33 +0000 (08:40 +0000)]
Bugzilla #36418:
Documentation update for the "reload" change in the AWT Viewer.
Submitted by: Richard Wheeldon <richardw.at.geoquip-rnd.demon.co.uk>

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

19 years agoFixed the use of Length property for baseline-shift.
Finn Bock [Tue, 30 Aug 2005 23:03:19 +0000 (23:03 +0000)]
Fixed the use of Length property for baseline-shift.

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

19 years agoadded support for superscript and subscript
Peter Herweg [Tue, 30 Aug 2005 21:09:41 +0000 (21:09 +0000)]
added support for superscript and subscript

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

19 years agoadded support for superscript and subscript
Peter Herweg [Tue, 30 Aug 2005 21:00:41 +0000 (21:00 +0000)]
added support for superscript and subscript

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

19 years agoHarmonization between the two Graphics2D implementations. Clipping is done after...
Jeremias Maerki [Tue, 30 Aug 2005 19:32:05 +0000 (19:32 +0000)]
Harmonization between the two Graphics2D implementations. Clipping is done after the transform. All path iterators use an identity transform which makes the PDF/PS code more readable and usually smaller.
Added missing support for non-zero winding rule in PSGraphics2D.

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

19 years agoRemoved unnecessary comments.
Jeremias Maerki [Tue, 30 Aug 2005 19:28:39 +0000 (19:28 +0000)]
Removed unnecessary comments.

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

19 years agoSome clean-up.
Jeremias Maerki [Tue, 30 Aug 2005 19:27:58 +0000 (19:27 +0000)]
Some clean-up.

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

19 years agoWrite to log output (debug level) which image source is used to load an image.
Jeremias Maerki [Tue, 30 Aug 2005 18:49:27 +0000 (18:49 +0000)]
Write to log output (debug level) which image source is used to load an image.

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

19 years agonormal-breaking6 shows problems with breaking in narrow environments.
Jeremias Maerki [Tue, 30 Aug 2005 18:14:39 +0000 (18:14 +0000)]
normal-breaking6 shows problems with breaking in narrow environments.
keep-together-inline1 documents that keep-together.within-line doesn't work, yet.

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

19 years agoFix for text-align2.xml (for real now). The alignment used to set up the element...
Jeremias Maerki [Tue, 30 Aug 2005 15:35:37 +0000 (15:35 +0000)]
Fix for text-align2.xml (for real now). The alignment used to set up the element list was not properly determined.

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

19 years agoHmm, seems like my fix was not enough. Now, it simply crashes due to a different...
Jeremias Maerki [Tue, 30 Aug 2005 14:36:55 +0000 (14:36 +0000)]
Hmm, seems like my fix was not enough. Now, it simply crashes due to a different case. Not sure how to solve this, yet.

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

19 years agoFix for ClassCastException as shown in text-align2 (Reported by Lawrence Michel).
Jeremias Maerki [Tue, 30 Aug 2005 12:57:44 +0000 (12:57 +0000)]
Fix for ClassCastException as shown in text-align2 (Reported by Lawrence Michel).
Wrong alignment was taken to remove trailing spaces.

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

19 years agoSome tests for text-align (not comprehensive!).
Jeremias Maerki [Tue, 30 Aug 2005 12:54:59 +0000 (12:54 +0000)]
Some tests for text-align (not comprehensive!).
text-align2 test for a special constellation which currently results in a ClassPathException.

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

19 years agoInitial commit for a FO tree testing facility.
Jeremias Maerki [Tue, 30 Aug 2005 06:09:14 +0000 (06:09 +0000)]
Initial commit for a FO tree testing facility.

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

19 years agoadded support for text-decoration
Peter Herweg [Mon, 29 Aug 2005 20:46:15 +0000 (20:46 +0000)]
added support for text-decoration

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

19 years agoMoved renderInlineBlockParent() up to the superclass. Fixes border and background...
Jeremias Maerki [Mon, 29 Aug 2005 14:22:21 +0000 (14:22 +0000)]
Moved renderInlineBlockParent() up to the superclass. Fixes border and background painting for inline block parents in PostScript.

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

19 years agoFixed the page coordinate system for the PDF Renderer (Defect: Rounding and rounding...
Jeremias Maerki [Mon, 29 Aug 2005 14:13:48 +0000 (14:13 +0000)]
Fixed the page coordinate system for the PDF Renderer (Defect: Rounding and rounding errors).

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

19 years agoCharacter positioning array can easily become too long so break them after every...
Jeremias Maerki [Mon, 29 Aug 2005 12:43:43 +0000 (12:43 +0000)]
Character positioning array can easily become too long so break them after every eigth value.

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

19 years agoBackground trait's toString() streamlined. Test cases adjusted accordingly.
Jeremias Maerki [Mon, 29 Aug 2005 12:03:27 +0000 (12:03 +0000)]
Background trait's toString() streamlined. Test cases adjusted accordingly.
Test cases without checks will fail from now on!!!
Checks for certain test cases and the others are added to the disabled list.

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

19 years agoBugzilla #36396:
Jeremias Maerki [Mon, 29 Aug 2005 12:01:13 +0000 (12:01 +0000)]
Bugzilla #36396:
More test cases for background images.
Submitted by: Manuel Mall <mm.at.arcus.com.au>

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

19 years agoMade the warnings more verbose.
Jeremias Maerki [Mon, 29 Aug 2005 11:55:38 +0000 (11:55 +0000)]
Made the warnings more verbose.

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

19 years agoSet the background traits after the BPD and IPD are set.
Jeremias Maerki [Mon, 29 Aug 2005 11:52:38 +0000 (11:52 +0000)]
Set the background traits after the BPD and IPD are set.

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

19 years agoSet the background traits after the BPD and IPD are set.
Jeremias Maerki [Mon, 29 Aug 2005 11:51:30 +0000 (11:51 +0000)]
Set the background traits after the BPD and IPD are set.

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

19 years agoSet the background a little later, after the IPD is set. A block area grows as necess...
Jeremias Maerki [Mon, 29 Aug 2005 11:50:14 +0000 (11:50 +0000)]
Set the background a little later, after the IPD is set. A block area grows as necessary so this doesn't currently fix the problem that the background traits are set before the BPD is known.

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

19 years agoA little more debug output.
Jeremias Maerki [Mon, 29 Aug 2005 11:48:39 +0000 (11:48 +0000)]
A little more debug output.

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

19 years agoWrite the start-indent trait to the area tree XML.
Jeremias Maerki [Mon, 29 Aug 2005 11:20:29 +0000 (11:20 +0000)]
Write the start-indent trait to the area tree XML.

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

19 years agoNote about missing background on table-body, table-header and table-footer.
Jeremias Maerki [Mon, 29 Aug 2005 09:00:07 +0000 (09:00 +0000)]
Note about missing background on table-body, table-header and table-footer.

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

19 years agoAdded warning for non-standard fallback
Andreas L. Delmelle [Sun, 28 Aug 2005 21:20:56 +0000 (21:20 +0000)]
Added warning for non-standard fallback

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

19 years agoAdded warning for unimplemented feature
Andreas L. Delmelle [Sun, 28 Aug 2005 21:19:24 +0000 (21:19 +0000)]
Added warning for unimplemented feature

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

19 years agoRTF: borders had been too thick: divide by 50 to convert from millipoint to twips
Peter Herweg [Sun, 28 Aug 2005 17:21:38 +0000 (17:21 +0000)]
RTF: borders had been too thick: divide by 50 to convert from millipoint to twips

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

19 years agofixed support for basic-link; process table-footer only, if there is one
Peter Herweg [Sun, 28 Aug 2005 16:44:41 +0000 (16:44 +0000)]
fixed support for basic-link; process table-footer only, if there is one

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

19 years agoAdded negative reference-orientations to block-container4.
Jeremias Maerki [Sat, 27 Aug 2005 21:51:40 +0000 (21:51 +0000)]
Added negative reference-orientations to block-container4.
Now checking the CTMs, too
New block-container4a based on the test case submitted by Yannick Valot for Bugzilla #36391.
I had to disable block-container4a because the CTM for 180/-180 is really wrong. Comment about the defect added to the checks. There's no quick fix, but this is also low-priority for me.

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

19 years agoBugzilla #36391:
Jeremias Maerki [Sat, 27 Aug 2005 21:47:36 +0000 (21:47 +0000)]
Bugzilla #36391:
Fix for negative values for reference orientation. CTM was wrong.
Submitted by: Yannick Valot <yvalot.at.gmail.com>

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

19 years agoBugzilla #36394:
Jeremias Maerki [Sat, 27 Aug 2005 14:40:29 +0000 (14:40 +0000)]
Bugzilla #36394:
Bugfix for painting a single character. Text painting code was not enclosed in "BT" and "ET" commands.

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

19 years agoBugfixes and code cleanup:
Jeremias Maerki [Fri, 26 Aug 2005 21:01:06 +0000 (21:01 +0000)]
Bugfixes and code cleanup:
- processPathIterator method like in PSGraphics2D to reduce duplicate code.
- draw() and fill() coding styles synchronized (which fixes a bug reported by Lawrence Michel)
- Higher resolution for many (not all!) formatted doubles to address the problem reported by Martin Weindel in Bugzilla #35918.

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

19 years agoFix problem with SVG painting. ET was not sent.
Jeremias Maerki [Fri, 26 Aug 2005 15:36:31 +0000 (15:36 +0000)]
Fix problem with SVG painting. ET was not sent.

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

19 years agoAdd support for character area.
Jeremias Maerki [Fri, 26 Aug 2005 15:18:07 +0000 (15:18 +0000)]
Add support for character area.

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

19 years agoCommon base class for TextArea and Character. These two might even be merged altogether.
Jeremias Maerki [Fri, 26 Aug 2005 15:16:58 +0000 (15:16 +0000)]
Common base class for TextArea and Character. These two might even be merged altogether.

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

19 years agoTwo new config values: stop-on-exception and create-diffs.
Jeremias Maerki [Fri, 26 Aug 2005 14:53:01 +0000 (14:53 +0000)]
Two new config values: stop-on-exception and create-diffs.

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

19 years agoBugzilla: #36356
Jeremias Maerki [Fri, 26 Aug 2005 12:25:43 +0000 (12:25 +0000)]
Bugzilla: #36356
Test case for Bug #36356, slightly simplified by using absolute lengths instead of percentages for the margins. Checks added, too.
Submitted by: Manuel Mall <mm.at.arcus.com.au>

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

19 years agoTestcase showing a page-number whose ipd is not correctly set
Luca Furini [Fri, 26 Aug 2005 11:33:31 +0000 (11:33 +0000)]
Testcase showing a page-number whose ipd is not correctly set

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

19 years agoThe necessary SVN properties.
Jeremias Maerki [Fri, 26 Aug 2005 07:55:47 +0000 (07:55 +0000)]
The necessary SVN properties.

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

19 years agoAdded support for table border-*-precedence properties in the table
Finn Bock [Fri, 26 Aug 2005 07:07:06 +0000 (07:07 +0000)]
Added support for table border-*-precedence properties in the table
fo objects.

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

19 years agoRemoved debug output.
Finn Bock [Fri, 26 Aug 2005 07:02:58 +0000 (07:02 +0000)]
Removed debug output.

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

19 years agoInitial version of a property maker that calculate default values for
Finn Bock [Fri, 26 Aug 2005 06:58:49 +0000 (06:58 +0000)]
Initial version of a property maker that calculate default values for
border-*-precedence.

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

19 years agofixed support for tables and lists
Peter Herweg [Thu, 25 Aug 2005 21:36:42 +0000 (21:36 +0000)]
fixed support for tables and lists

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

19 years agoFix a bug where the specified value was inherite for percentages on
Finn Bock [Thu, 25 Aug 2005 18:58:43 +0000 (18:58 +0000)]
Fix a bug where the specified value was inherite for percentages on
line-height. It is only for numbers that the specified is inherited.

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

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