]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
15 years agoAlso use Rectangle instead of Rectangle2D for page boxes in the PDF library
Vincent Hennebert [Tue, 28 Jul 2009 13:45:56 +0000 (13:45 +0000)]
Also use Rectangle instead of Rectangle2D for page boxes in the PDF library

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

15 years agoBugzilla #47311:
Jeremias Maerki [Tue, 28 Jul 2009 12:53:58 +0000 (12:53 +0000)]
Bugzilla #47311:
Preparations in PDF library for bleed, trim and crop boxes.
Submitted by: Peter Coppens <pc.subscriptions.at.gmail.com>

Page view area changed from Rectangle2D to Rectangle where possible.
Submitted by: Vincent Hennebert <vhennebert.at.apache.org>

(Patch in Bugzilla only partially applied. Changes discussed with the properties not included, yet)

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

15 years agoAFPEventProducer was moved months ago but this file not adjusted. That cause an Illeg...
Jeremias Maerki [Tue, 28 Jul 2009 11:40:30 +0000 (11:40 +0000)]
AFPEventProducer was moved months ago but this file not adjusted. That cause an IllegalStateException: Event model doesn't contain the definition for org.apache.fop.afp.AFPEventProducer

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

15 years agoPCL Output: Added support for specifying the output bin (pcl:output-bin extension...
Jeremias Maerki [Tue, 28 Jul 2009 06:41:49 +0000 (06:41 +0000)]
PCL Output: Added support for specifying the output bin (pcl:output-bin extension, same way pcl:paper-source works).

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

15 years agoAdded A5 format.
Jeremias Maerki [Tue, 28 Jul 2009 06:21:50 +0000 (06:21 +0000)]
Added A5 format.

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

15 years agoAdded support for AFP font embedding. Note: this changes the default behaviour. Like...
Jeremias Maerki [Mon, 27 Jul 2009 16:33:01 +0000 (16:33 +0000)]
Added support for AFP font embedding. Note: this changes the default behaviour. Like with PDF and PS, all fonts are embedded by default unless matched in the "referenced-fonts" section in the configuration.
Added support for embedding external AFP form maps (form defs) using the afp:include-form-map extension.
Fixed a small problem with AFP-related events.
DefaultFOPResourceAccessor got a fallback to the user agent's base URI if no category base URI is specified.

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

15 years agoFixes GUMP build problems, the automated e-mail was starting to annoy so I scratched...
Adrian Cumiskey [Sun, 26 Jul 2009 10:13:37 +0000 (10:13 +0000)]
Fixes GUMP build problems, the automated e-mail was starting to annoy so I scratched an itch :).
* Updated xmlgraphics-commons to trunk version.
* Fixed ImageRendered constructor call in PDFGraphics2D and AFPGraphics2D to be compatible with the new parameter that has been added in xmlgraphics-commons.

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

15 years agoBugfix: if an incomplete GoTo action has already been recorded for a given ID, there...
Vincent Hennebert [Thu, 23 Jul 2009 16:40:04 +0000 (16:40 +0000)]
Bugfix: if an incomplete GoTo action has already been recorded for a given ID, there's no need to re-create and store another one

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

15 years agoMerged clean-up-only changes made in the ChangingIPDHack branch. Those correspond...
Vincent Hennebert [Wed, 22 Jul 2009 17:43:38 +0000 (17:43 +0000)]
Merged clean-up-only changes made in the ChangingIPDHack branch. Those correspond to the following revision numbers:
785291
785632
787733
787769
788371
793645

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

15 years agoBugzilla 47508: Fix error while writing TLE's attribute qualifier in the output....
Andreas L. Delmelle [Fri, 10 Jul 2009 19:57:52 +0000 (19:57 +0000)]
Bugzilla 47508: Fix error while writing TLE's attribute qualifier in the output. Thanks to Bharat Attaluri.

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

15 years agoBugfix: support justified text in AFP Renderer (already working in AFP Painter)
Chris Bowditch [Fri, 10 Jul 2009 10:32:23 +0000 (10:32 +0000)]
Bugfix: support justified text in AFP Renderer (already working in AFP Painter)

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

15 years agoModified XG Commons JAR to include bugfix in AbstractImageSessionContext.toFile(...
Andreas L. Delmelle [Fri, 10 Jul 2009 09:08:34 +0000 (09:08 +0000)]
Modified XG Commons JAR to include bugfix in AbstractImageSessionContext.toFile() (see http://svn.apache.org/viewvc?view=rev&revision=792415)

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

15 years agoUndid change related to column-keeps
Andreas L. Delmelle [Thu, 9 Jul 2009 06:33:32 +0000 (06:33 +0000)]
Undid change related to column-keeps

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

15 years agoChanged explicit check to assert
Andreas L. Delmelle [Thu, 9 Jul 2009 06:32:24 +0000 (06:32 +0000)]
Changed explicit check to assert

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

15 years agoFixed minor code indentation issues
Vincent Hennebert [Tue, 7 Jul 2009 16:13:16 +0000 (16:13 +0000)]
Fixed minor code indentation issues

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

15 years agobug fix: fractional points sizes in AFP not working correctly together with fo:inline
Chris Bowditch [Tue, 7 Jul 2009 10:21:07 +0000 (10:21 +0000)]
bug fix: fractional points sizes in AFP not working correctly together with fo:inline

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

15 years agoUndid change related to column-keeps
Andreas L. Delmelle [Sat, 4 Jul 2009 17:04:35 +0000 (17:04 +0000)]
Undid change related to column-keeps

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

15 years agoFurther cleanup/readability improvements
Andreas L. Delmelle [Sat, 4 Jul 2009 17:00:05 +0000 (17:00 +0000)]
Further cleanup/readability improvements

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

15 years agoAdded reminder to check later on...
Andreas L. Delmelle [Fri, 3 Jul 2009 20:44:45 +0000 (20:44 +0000)]
Added reminder to check later on...

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

15 years agoFurther cleanup/readability improvements
Andreas L. Delmelle [Wed, 1 Jul 2009 13:52:20 +0000 (13:52 +0000)]
Further cleanup/readability improvements

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

15 years agoSome cleanups and attempts at improving code-readability and -extensibility:
Andreas L. Delmelle [Wed, 1 Jul 2009 12:36:17 +0000 (12:36 +0000)]
Some cleanups and attempts at improving code-readability and -extensibility:
* added inner holder class to BreakingAlgorithm to contain everything related to the fitness classes. Improves readability of both the code and the trace messages.
* extracted blocks of code in BreakingAlgorithm.findBreakingPoints() into protected methods. Following the already existing handleBox(), added handleGlueAt() and handlePenaltyAt() to provide extension points to subclasses. Extraction of the code-blocks related to the node-recovery mechanism.
* extracted blocks of code in BreakingAlgorithm.considerLegalBreak() into protected methods: deactivateNode(), activateNode() and forceNode()
* factored the functionality to obtain the index of the first box into KnuthSequence... just seemed to make sense; may be useful elsewhere.
* some (but not all :() javadoc fixups
* minor changes to LineLayoutManager and PageBreakingAlgorithm to take into account above changes

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

15 years agobug fix: make sure CropBox is honoured in SVG when overflow="hidden"
Chris Bowditch [Thu, 25 Jun 2009 07:30:08 +0000 (07:30 +0000)]
bug fix: make sure CropBox is honoured in SVG when overflow="hidden"

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

15 years agoAs requested by Lukas Theussl - added a project link to the Maven Doxia FO module.
Adrian Cumiskey [Wed, 24 Jun 2009 09:50:27 +0000 (09:50 +0000)]
As requested by Lukas Theussl - added a project link to the Maven Doxia FO module.

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

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