]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
15 years agoAdded generics comments.
Adrian Cumiskey [Tue, 23 Jun 2009 13:18:44 +0000 (13:18 +0000)]
Added generics comments.

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

15 years agoAdded generics comments.
Adrian Cumiskey [Tue, 23 Jun 2009 13:17:20 +0000 (13:17 +0000)]
Added generics comments.

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

15 years agoExtracted DummyPercentBaseContext from FOPRtfAttributes and made universally available.
Adrian Cumiskey [Tue, 23 Jun 2009 13:12:46 +0000 (13:12 +0000)]
Extracted DummyPercentBaseContext from FOPRtfAttributes and made universally available.

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

15 years agoNo code change here, just fixing the indentation of the if (useInclude) block that...
Adrian Cumiskey [Fri, 19 Jun 2009 11:04:13 +0000 (11:04 +0000)]
No code change here, just fixing the indentation of the if (useInclude) block that somehow got messed up by a previous commit/merge (http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/afp/AFPResourceManager.java?revision=746664&view=markup).

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

15 years agocheckstyle-4.0.xml is not an executable file
Vincent Hennebert [Fri, 19 Jun 2009 10:44:41 +0000 (10:44 +0000)]
checkstyle-4.0.xml is not an executable file

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

15 years agoCorrect wrongly encoded character
Andreas L. Delmelle [Mon, 15 Jun 2009 19:17:17 +0000 (19:17 +0000)]
Correct wrongly encoded character

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

15 years agoinclude latest bug fixes to xg common in FOP trunk
Chris Bowditch [Fri, 12 Jun 2009 13:00:27 +0000 (13:00 +0000)]
include latest bug fixes to xg common in FOP trunk

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

15 years agoForgot to commit with r782289...
Andreas L. Delmelle [Thu, 11 Jun 2009 16:37:51 +0000 (16:37 +0000)]
Forgot to commit with r782289...

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

15 years agoNit-pick: there is a 'Fonts' context for changes to the font sub-system
Vincent Hennebert [Wed, 10 Jun 2009 09:28:16 +0000 (09:28 +0000)]
Nit-pick: there is a 'Fonts' context for changes to the font sub-system

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

15 years agobug fix: support PFM Files with no extent table
Chris Bowditch [Tue, 9 Jun 2009 09:29:32 +0000 (09:29 +0000)]
bug fix: support PFM Files with no extent table

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

15 years agoAFP Output: Add support for fractional font-sizes, and make sure that, for non-regist...
Andreas L. Delmelle [Sat, 6 Jun 2009 17:59:00 +0000 (17:59 +0000)]
AFP Output: Add support for fractional font-sizes, and make sure that, for non-registered sizes, the substitution will always map to the smaller size if there is also a larger one available

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

15 years agoBugzilla 46960: Previously retrieved marker not cleared when the subsequently retriev...
Andreas L. Delmelle [Fri, 5 Jun 2009 08:43:10 +0000 (08:43 +0000)]
Bugzilla 46960: Previously retrieved marker not cleared when the subsequently retrieved marker was empty.

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

15 years agobug fix: PCL and AFP Document Handlers for new IF were not registering all related...
Chris Bowditch [Wed, 27 May 2009 08:16:36 +0000 (08:16 +0000)]
bug fix: PCL and AFP Document Handlers for new IF were not registering all related MIME Types

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

15 years agoFixed two typos that were reported to the OFFO project
Simon Pepping [Fri, 22 May 2009 19:46:01 +0000 (19:46 +0000)]
Fixed two typos that were reported to the OFFO project

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

15 years agoBugzilla #47232: for the last character of a Type1 font, always a width of 0 was...
Vincent Hennebert [Fri, 22 May 2009 10:38:49 +0000 (10:38 +0000)]
Bugzilla #47232: for the last character of a Type1 font, always a width of 0 was returned. Patch submitted by Maxim Wirt.

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

15 years agoApacheCon Europe 2009 is over, commented out link.
Vincent Hennebert [Tue, 19 May 2009 10:59:09 +0000 (10:59 +0000)]
ApacheCon Europe 2009 is over, commented out link.
Increased max heap size allocated to Cocoon, otherwise an OutOfMemoryError will occur when generating the compliance PDF (I finally found out why I was having this error and how to fix it).

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

15 years agoChanged meaning of '-v' option to 'verbose', which will print FOP's version and proce...
Vincent Hennebert [Thu, 14 May 2009 10:40:28 +0000 (10:40 +0000)]
Changed meaning of '-v' option to 'verbose', which will print FOP's version and proceed. Added a '-version' option to simply print the version then exit, following Java practices.
Change made as per user demand, see thread here:
http://markmail.org/thread/e7juy7wvj7ujkltx

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

15 years agoBugzilla #47101: The cells of a table inside a marker were duplicated at every marker...
Vincent Hennebert [Wed, 13 May 2009 10:28:22 +0000 (10:28 +0000)]
Bugzilla #47101: The cells of a table inside a marker were duplicated at every marker retrieval.

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

15 years agoBugfix: use the effective color profile supplied by the ImageEncodingHelper, instead...
Vincent Hennebert [Fri, 8 May 2009 11:21:41 +0000 (11:21 +0000)]
Bugfix: use the effective color profile supplied by the ImageEncodingHelper, instead of the original one.

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

15 years agobug fix: allow back slashes for file URLs as they are commonly used in Windows
Chris Bowditch [Thu, 7 May 2009 15:08:30 +0000 (15:08 +0000)]
bug fix: allow back slashes for file URLs as they are commonly used in Windows

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

15 years agoAdded relevant link to http://xmlgraphics.apache.org/fop/trunk/running.html#memory.
Adrian Cumiskey [Wed, 6 May 2009 11:13:49 +0000 (11:13 +0000)]
Added relevant link to http://xmlgraphics.apache.org/fop/trunk/running.html#memory.

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

15 years agoAdded tip for reducing memory consumption.
Adrian Cumiskey [Tue, 5 May 2009 16:06:43 +0000 (16:06 +0000)]
Added tip for reducing memory consumption.

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

15 years agoChanges from revision 768320 introduced another bug: footnotes from later steps were...
Vincent Hennebert [Fri, 1 May 2009 11:19:36 +0000 (11:19 +0000)]
Changes from revision 768320 introduced another bug: footnotes from later steps were taken into account too early

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

15 years agoBugfix: reset graphic state when a page is finished in PostScript.
Vincent Hennebert [Thu, 30 Apr 2009 13:43:51 +0000 (13:43 +0000)]
Bugfix: reset graphic state when a page is finished in PostScript.

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

15 years agoAdded setting to enable dithered painting of filled rectangles in AFP and PCL.
Vincent Hennebert [Tue, 28 Apr 2009 16:10:08 +0000 (16:10 +0000)]
Added setting to enable dithered painting of filled rectangles in AFP and PCL.

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

15 years agoAdded support for CMYK colors in PTOCA
Vincent Hennebert [Tue, 28 Apr 2009 15:40:04 +0000 (15:40 +0000)]
Added support for CMYK colors in PTOCA

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

15 years agoBugfix: take rotation into account also when resource level is not inline
Vincent Hennebert [Tue, 28 Apr 2009 15:34:47 +0000 (15:34 +0000)]
Bugfix: take rotation into account also when resource level is not inline

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

15 years agoIn the AFP stream, put the TLE fields associated to a page sequence before the Page...
Vincent Hennebert [Fri, 24 Apr 2009 14:39:32 +0000 (14:39 +0000)]
In the AFP stream, put the TLE fields associated to a page sequence before the Page elements instead of after

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

15 years agoBugfix: footnotes occurring within the forced height of a table row did not appear...
Vincent Hennebert [Fri, 24 Apr 2009 14:27:49 +0000 (14:27 +0000)]
Bugfix: footnotes occurring within the forced height of a table row did not appear on the output

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

15 years agoinclude Vincent's recent changes for AFM Parser bug
Chris Bowditch [Thu, 23 Apr 2009 07:17:52 +0000 (07:17 +0000)]
include Vincent's recent changes for AFM Parser bug

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

15 years agoTypo.
Jeremias Maerki [Mon, 20 Apr 2009 10:25:48 +0000 (10:25 +0000)]
Typo.

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

15 years agoDisabled auto-fonts in the PS transcoders by default because of OutOfMemoryErrors...
Jeremias Maerki [Mon, 20 Apr 2009 10:23:56 +0000 (10:23 +0000)]
Disabled auto-fonts in the PS transcoders by default because of OutOfMemoryErrors. Details in code comments.

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

15 years agoBugzilla #47031:
Jeremias Maerki [Mon, 20 Apr 2009 07:00:34 +0000 (07:00 +0000)]
Bugzilla #47031:
PDFGraphics2D.writeClip doesn't generate a clip command anymore when the clip path is empty.
Submitted by: Francois Fernandes <f.fernandes.at.web.de>

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

15 years agoBugzilla #47000:
Jeremias Maerki [Mon, 20 Apr 2009 06:50:59 +0000 (06:50 +0000)]
Bugzilla #47000:
Added a custom text painter for rendering SVG text using text operators when rendering to PostScript or EPS. Text is no longer painted as shapes, thus creating much smaller files.

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

15 years agoBugzilla 47027: Correction for interpretation of pixel-lengths, as suggested by Jeremias.
Andreas L. Delmelle [Sun, 19 Apr 2009 17:54:06 +0000 (17:54 +0000)]
Bugzilla 47027: Correction for interpretation of pixel-lengths, as suggested by Jeremias.
+ minor changes to the fotreetest-classes: distinguish between fatal errors due to malformed testcases, and genuine assertion failures.

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

15 years agoSome cleanup:
Andreas L. Delmelle [Wed, 15 Apr 2009 17:17:36 +0000 (17:17 +0000)]
Some cleanup:
  * extraction of the footnote-related loops in getNextKnuthElements() into private methods
    to facilitate step-over when debugging (no additional breakpoints needed to skip those loops)
  * merging of the private doPhase3() methods, so theoretically, it becomes possible to do
    column-balancing, even with a last page condition, and to eliminate a significant amount
    of duplicate lines of code
  * other minor changes, like renaming stray Hungarians, renaming some variables to make the
    code slightly more self-explanatory, removal of unused import, and whatnot...

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

15 years agoRemove svn:executable property...
Andreas L. Delmelle [Sun, 12 Apr 2009 20:11:19 +0000 (20:11 +0000)]
Remove svn:executable property...

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

15 years agoFix the behaviour of pixel-lengths: influenced by target-resolution, rather than...
Andreas L. Delmelle [Sun, 12 Apr 2009 19:54:03 +0000 (19:54 +0000)]
Fix the behaviour of pixel-lengths: influenced by target-resolution, rather than source-resolution (which is meant for images)

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

15 years agoRemoved AbstractRenderer.getMimeType() as per Vincent's suggestion.
Jeremias Maerki [Fri, 3 Apr 2009 10:14:20 +0000 (10:14 +0000)]
Removed AbstractRenderer.getMimeType() as per Vincent's suggestion.
Moved getMimeType() implementation from PrintRenderer to PageableRenderer.

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

15 years agoFixed a bug that left the PrintRenderer unconfigured even if a configuration was...
Jeremias Maerki [Fri, 3 Apr 2009 07:44:09 +0000 (07:44 +0000)]
Fixed a bug that left the PrintRenderer unconfigured even if a configuration was specified for "application/X-fop-print".

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

15 years agoImproved multi-threading testbed a bit:
Jeremias Maerki [Fri, 27 Mar 2009 14:19:00 +0000 (14:19 +0000)]
Improved multi-threading testbed a bit:
- Prints out a report with some statistics at the end.
- Worker threads moved into their own thread group for easier profiling.

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

15 years agoReverted changes from revision 757852.
Adrian Cumiskey [Wed, 25 Mar 2009 12:08:04 +0000 (12:08 +0000)]
Reverted changes from revision 757852.

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

15 years agoForgot to add getBackgroundColor() accessor.
Adrian Cumiskey [Wed, 25 Mar 2009 10:36:35 +0000 (10:36 +0000)]
Forgot to add getBackgroundColor() accessor.

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

15 years agoAdded some accessor methods to some public member variables. I have left the public...
Adrian Cumiskey [Wed, 25 Mar 2009 10:32:23 +0000 (10:32 +0000)]
Added some accessor methods to some public member variables.  I have left the public member variables exposed for now as changing them to private/protected may possibly break something external to FOP.

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

15 years agoCleaned up unused imports.
Adrian Cumiskey [Tue, 24 Mar 2009 16:09:06 +0000 (16:09 +0000)]
Cleaned up unused imports.

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

15 years agoAdded some nice bean methods for pageSequenceMaster and simplePageMaster, this also...
Adrian Cumiskey [Tue, 24 Mar 2009 15:39:15 +0000 (15:39 +0000)]
Added some nice bean methods for pageSequenceMaster and simplePageMaster, this also makes startOfNode() easier to read too.

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

15 years agoSimplified the setting of filters in the AbstractPDFStream hierarchy. Instead of...
Vincent Hennebert [Tue, 24 Mar 2009 10:46:59 +0000 (10:46 +0000)]
Simplified the setting of filters in the AbstractPDFStream hierarchy. Instead of unnecessarily re-defining the setupFilterList method, sub-classes just define a getDefaultFilterName method

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

15 years agoAmendment to revision 755894:
Jeremias Maerki [Tue, 24 Mar 2009 08:08:54 +0000 (08:08 +0000)]
Amendment to revision 755894:
The mimicking fix didn't work for all output formats.

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

15 years agoSet svn:eol-style property on page-position-last_break-before_bugzilla46489.xml test...
Vincent Hennebert [Mon, 23 Mar 2009 12:12:36 +0000 (12:12 +0000)]
Set svn:eol-style property on page-position-last_break-before_bugzilla46489.xml test case. Simplified it by removing superfluous content and references to fonts that are not available by default.
Fixed small indentation issue in ElementListUtils.

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

15 years agoadded extra blank line which is consistent with the other files in this folder and...
Chris Bowditch [Mon, 23 Mar 2009 11:03:33 +0000 (11:03 +0000)]
added extra blank line which is consistent with the other files in this folder and makes it easier to merge these files with their counterparts in xgc

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

15 years agoDeprecated font base url methods on user agent level in favor of the methods on the...
Jeremias Maerki [Mon, 23 Mar 2009 07:54:43 +0000 (07:54 +0000)]
Deprecated font base url methods on user agent level in favor of the methods on the FontManager accessible via FopFactory as proposed in:
http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-dev/200903.mbox/%3C20090310161419.8FA8.60BA733C@jeremias-maerki.ch%3E

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

15 years agoBugzilla #46882:
Jeremias Maerki [Mon, 23 Mar 2009 07:47:35 +0000 (07:47 +0000)]
Bugzilla #46882:
Fixed the handling of CMYK colors in PDFGraphics2D.
Suggested by: Yegor Kozlov <yegor.at.dinom.ru>

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

15 years agoMinor refactoring: extract code-blocks from the Region implementations into protected...
Andreas L. Delmelle [Sun, 22 Mar 2009 21:08:48 +0000 (21:08 +0000)]
Minor refactoring: extract code-blocks from the Region implementations into protected final method on SimplePageMaster.

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

15 years agorevert some changes... and do it right, this time
Andreas L. Delmelle [Sun, 22 Mar 2009 19:45:06 +0000 (19:45 +0000)]
revert some changes... and do it right, this time

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

15 years agorevert some changes, dependent on other local changes, which would cause a compile...
Andreas L. Delmelle [Sun, 22 Mar 2009 19:42:33 +0000 (19:42 +0000)]
revert some changes, dependent on other local changes, which would cause a compile error...

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

15 years agoAdd startsWithForcedBreak() utility method to ElementListUtils.
Andreas L. Delmelle [Sun, 22 Mar 2009 19:34:39 +0000 (19:34 +0000)]
Add startsWithForcedBreak() utility method to ElementListUtils.
Avoid generating "in-between" penalties if the content list that will be appended already starts with a forced break.

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

15 years agoBugzilla 46489:
Andreas L. Delmelle [Sun, 22 Mar 2009 19:18:14 +0000 (19:18 +0000)]
Bugzilla 46489:
Issue when combining page-position="last" with a block with break-before as a descendant of a table.

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

15 years agoAdded a command-line tool to list all configured fonts (org.apache.fop.tools.fontlist...
Jeremias Maerki [Sun, 22 Mar 2009 11:54:39 +0000 (11:54 +0000)]
Added a command-line tool to list all configured fonts (org.apache.fop.tools.fontlist.FontListMain).

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

15 years agobug fix: 46867: afp:invoke-medium-map extension not working in the AFP Renderer
Chris Bowditch [Sat, 21 Mar 2009 08:47:34 +0000 (08:47 +0000)]
bug fix: 46867: afp:invoke-medium-map extension not working in the AFP Renderer

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

15 years agoMoved the font cache change check from outside PrintRendererConfigurator to inside...
Adrian Cumiskey [Fri, 20 Mar 2009 16:27:10 +0000 (16:27 +0000)]
Moved the font cache change check from outside PrintRendererConfigurator to inside the FontInfoConfigurator.

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

15 years agoMinor optimization.
Adrian Cumiskey [Fri, 20 Mar 2009 15:41:56 +0000 (15:41 +0000)]
Minor optimization.

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

15 years agoA little font configuration cleaning.
Adrian Cumiskey [Fri, 20 Mar 2009 15:18:54 +0000 (15:18 +0000)]
A little font configuration cleaning.

* Extracted business logic from PrintRendererConfigurator and created a new FontDetector and FontAdder in org.apache.fop.fonts package.
* Created a new FontInfoConfigurator that factors out a lot of the static stuff in PrintRendererConfigurator.
* PDFDocumentGraphics2DConfigurator now uses a new FontInfoConfigurator() instead of static PrintRendererConfigurator.buildFontListFromConfiguration() call.
* static method updateReferencedFonts() in PrintRendererConfigurator moved to an instance method in FontManager.

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

15 years agoAdded some generics comments for the List collections.
Adrian Cumiskey [Fri, 20 Mar 2009 14:08:04 +0000 (14:08 +0000)]
Added some generics comments for the List collections.

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

15 years agoBugfix: IFSerializer's mimicking feature didn't work properly. The wrong configuratio...
Jeremias Maerki [Thu, 19 Mar 2009 10:20:31 +0000 (10:20 +0000)]
Bugfix: IFSerializer's mimicking feature didn't work properly. The wrong configuration got selected.

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

15 years agoMinor spelling corrections.
Adrian Cumiskey [Wed, 18 Mar 2009 16:58:24 +0000 (16:58 +0000)]
Minor spelling corrections.

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

15 years agoBugzilla 46828: Activation of the possibility to use CachedRenderPagesModel to conser...
Andreas L. Delmelle [Fri, 13 Mar 2009 17:51:45 +0000 (17:51 +0000)]
Bugzilla 46828: Activation of the possibility to use CachedRenderPagesModel to conserve memory in case of large documents with a lot of cross-references. (area tree will be serialized to disk to avoid keeping it entirely in memory)
Thanks to Dario Laeria for submitting and testing.

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

15 years agoUpdated website copyright year.
Jeremias Maerki [Tue, 10 Mar 2009 16:42:42 +0000 (16:42 +0000)]
Updated website copyright year.

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

15 years agoRestored ability to specify any URI base URI (URL), not just file URLs. For file...
Jeremias Maerki [Tue, 10 Mar 2009 16:16:31 +0000 (16:16 +0000)]
Restored ability to specify any URI base URI (URL), not just file URLs. For file URLs and file paths there's still a check whether the directory exists.
Enabled FontBaseBadTestCase.

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

15 years agoAdded full URI resolution support for AFP fonts.
Jeremias Maerki [Tue, 10 Mar 2009 15:10:07 +0000 (15:10 +0000)]
Added full URI resolution support for AFP fonts.

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

15 years agoAvoid errors with relative paths.
Jeremias Maerki [Tue, 10 Mar 2009 07:56:27 +0000 (07:56 +0000)]
Avoid errors with relative paths.
Properly handle events using the special test event listener.

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

15 years agoAreaTreeParser redirecting image loading exceptions to event subsystem.
Jeremias Maerki [Tue, 10 Mar 2009 07:55:20 +0000 (07:55 +0000)]
AreaTreeParser redirecting image loading exceptions to event subsystem.

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

15 years agoRestored compatibility with Java VMs that don't support nio Charsets for codepages...
Jeremias Maerki [Mon, 9 Mar 2009 08:12:45 +0000 (08:12 +0000)]
Restored compatibility with Java VMs that don't support nio Charsets for codepages such as Cp500 (EBCDIC). The simplifications for the fallback case may look wrong but the code basically represents the state before revision 746664 which introduced this problem.

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

15 years agoDeleted to much during last change.
Jeremias Maerki [Mon, 2 Mar 2009 13:37:59 +0000 (13:37 +0000)]
Deleted to much during last change.

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

15 years agoEventProducer update didn't get adjusted when AFPEventProducer was moved.
Jeremias Maerki [Mon, 2 Mar 2009 11:13:46 +0000 (11:13 +0000)]
EventProducer update didn't get adjusted when AFPEventProducer was moved.

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

15 years agoAFP Output: Tag Logical Element (TLE) is now also allowed on fo:page-sequence (page...
Jeremias Maerki [Mon, 2 Mar 2009 10:19:01 +0000 (10:19 +0000)]
AFP Output: Tag Logical Element (TLE) is now also allowed on fo:page-sequence (page group level).

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

15 years agoAFP: Backported IMM (Invoke Medium Map) to AFPRenderer.
Jeremias Maerki [Mon, 2 Mar 2009 09:19:48 +0000 (09:19 +0000)]
AFP: Backported IMM (Invoke Medium Map) to AFPRenderer.

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

15 years agoFixed BPD trait and border painting for leaders with leader-pattern="space" (and...
Jeremias Maerki [Sun, 1 Mar 2009 12:25:29 +0000 (12:25 +0000)]
Fixed BPD trait and border painting for leaders with leader-pattern="space" (and similar cases).

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

15 years agoFixed small mistake I noticed too late: extension attachments don't use the same...
Jeremias Maerki [Sun, 1 Mar 2009 10:05:42 +0000 (10:05 +0000)]
Fixed small mistake I noticed too late: extension attachments don't use the same namespace as the FO extensions.

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

15 years agoAdded support for adding extension elements and foreign attributes on fo:page-sequence.
Jeremias Maerki [Sun, 1 Mar 2009 08:55:35 +0000 (08:55 +0000)]
Added support for adding extension elements and foreign attributes on fo:page-sequence.
AFP: Added support for Invoke Medium Map (IMM).
AFP: Fixed a bug adding TLEs in DataStream (TLEs were added to the page group instead of to the page).

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

15 years agoExamples for "sub-font" usage with TTCs.
Jeremias Maerki [Sat, 28 Feb 2009 08:49:58 +0000 (08:49 +0000)]
Examples for "sub-font" usage with TTCs.

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

15 years agoForgot to remove the old ";mode=painter" work-around.
Jeremias Maerki [Wed, 25 Feb 2009 11:31:16 +0000 (11:31 +0000)]
Forgot to remove the old ";mode=painter" work-around.

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

15 years agoRemoved unnecessary setContext method
Vincent Hennebert [Wed, 25 Feb 2009 10:57:08 +0000 (10:57 +0000)]
Removed unnecessary setContext method

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

15 years agoClarified error message if base is not an existing directory
Simon Pepping [Mon, 23 Feb 2009 20:29:43 +0000 (20:29 +0000)]
Clarified error message if base is not an existing directory

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

15 years agoTied RendererFactory.setRendererPreferred(boolean) setting into the FOP configuration...
Jeremias Maerki [Mon, 23 Feb 2009 13:38:48 +0000 (13:38 +0000)]
Tied RendererFactory.setRendererPreferred(boolean) setting into the FOP configuration (incl. documentation).

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

15 years ago";mode=painter" MIME suffix removed from all new IFDocumentHandler implementations.
Jeremias Maerki [Mon, 23 Feb 2009 13:25:08 +0000 (13:25 +0000)]
";mode=painter" MIME suffix removed from all new IFDocumentHandler implementations.
Changed RendererFactory to prefer IFDocumentHandler over Renderer if available.
A setting on RendererFactory allows to to prefer Renderer over IFDocumentHandler if necessary for compatibility. (not yet tied into CLI or configuration)

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

15 years agoMerged feature branch https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_...
Jeremias Maerki [Sun, 22 Feb 2009 12:40:44 +0000 (12:40 +0000)]
Merged feature branch https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign (603620-746655) into Trunk.
This adds a new intermediate format to FOP. Please see the documentation for details.

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

15 years agoTrying to work around a problem reintegrating the branch. Found a blog entry that... Temp_AreaTreeNewDesign Temp_AreaTreeNewDesign
Jeremias Maerki [Sun, 22 Feb 2009 11:07:43 +0000 (11:07 +0000)]
Trying to work around a problem reintegrating the branch. Found a blog entry that lists deleting mergeinfo entries in subdirectories as a possible solution. Hopefully, this will help.

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

15 years agoMerge from Trunk revisions 741104 - 744926.
Jeremias Maerki [Mon, 16 Feb 2009 15:48:44 +0000 (15:48 +0000)]
Merge from Trunk revisions 741104 - 744926.

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

15 years agoFixed PMD report (requires 1.5, but for REPORT ONLY); Added CPD report
Maximilian Berger [Mon, 16 Feb 2009 14:49:09 +0000 (14:49 +0000)]
Fixed PMD report (requires 1.5, but for REPORT ONLY); Added CPD report

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

15 years agoFixed bug which causes RetroWeaver to not weave
Maximilian Berger [Mon, 16 Feb 2009 14:16:56 +0000 (14:16 +0000)]
Fixed bug which causes RetroWeaver to not weave

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

15 years agoFixed copy/paste mistakes.
Jeremias Maerki [Mon, 16 Feb 2009 10:10:38 +0000 (10:10 +0000)]
Fixed copy/paste mistakes.

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

15 years agoBugfix for replicator stylesheet: Only IDs in the FO namespace shall be adjusted...
Jeremias Maerki [Mon, 16 Feb 2009 08:36:13 +0000 (08:36 +0000)]
Bugfix for replicator stylesheet: Only IDs in the FO namespace shall be adjusted. Adjusting also SVG IDs can result in errors.

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

15 years agoAdded ErrorListener for plan extension's DOM loading because of bugs in some XSLT...
Jeremias Maerki [Mon, 16 Feb 2009 08:31:34 +0000 (08:31 +0000)]
Added ErrorListener for plan extension's DOM loading because of bugs in some XSLT implementations.

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

15 years agoAdditional filter possibility for BatchDiffer so previously faulty cases can quickly...
Jeremias Maerki [Mon, 16 Feb 2009 08:28:04 +0000 (08:28 +0000)]
Additional filter possibility for BatchDiffer so previously faulty cases can quickly be regenerated.

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

15 years agoAdded an additional font fallback to PrintRenderer to avoid some problems when proces...
Jeremias Maerki [Mon, 16 Feb 2009 08:25:25 +0000 (08:25 +0000)]
Added an additional font fallback to PrintRenderer to avoid some problems when processing an intermediate file generated for a different output format than the current one.

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

15 years agoNow using the "font" filter list entry for font streams.
Jeremias Maerki [Mon, 16 Feb 2009 08:09:29 +0000 (08:09 +0000)]
Now using the "font" filter list entry for font streams.
Made T1 and TTF streams children of a commons base class.
Refactored default filter addition a bit.

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

15 years agoFixed IllegalArgumentException (no object number assigned) for this makeLink method...
Jeremias Maerki [Sun, 15 Feb 2009 16:38:14 +0000 (16:38 +0000)]
Fixed IllegalArgumentException (no object number assigned) for this makeLink method. It makes no sense to add this to the trailer objects AFAICS. This particular method is only used by PDFGraphics2D's makeLink() method (SVG's #svgView(viewBox()) functionality). The positioning of the viewbox is still wrong, though. It must have been broken at some point.

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

15 years agoBugfix: Need to copy attributes. Xalan XSLTC reuses the Attributes instance (and...
Jeremias Maerki [Wed, 11 Feb 2009 20:34:11 +0000 (20:34 +0000)]
Bugfix: Need to copy attributes. Xalan XSLTC reuses the Attributes instance (and modifies it freely).

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

15 years agoAvoid NPE if "rendering" setting isn't given.
Jeremias Maerki [Wed, 11 Feb 2009 14:55:03 +0000 (14:55 +0000)]
Avoid NPE if "rendering" setting isn't given.

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

15 years agoAdded missing default font setup.
Jeremias Maerki [Wed, 11 Feb 2009 14:54:26 +0000 (14:54 +0000)]
Added missing default font setup.

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