]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
15 years agoFixed checkstyle warnings
Simon Pepping [Thu, 20 Aug 2009 20:32:32 +0000 (20:32 +0000)]
Fixed checkstyle warnings

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

15 years agoI tried to remove all methods which are not Java 1.4 compliant.
Simon Pepping [Thu, 20 Aug 2009 18:27:47 +0000 (18:27 +0000)]
I tried to remove all methods which are not Java 1.4 compliant.

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

15 years agoPrepare for new hyphenation pattern files, which do not have their own classes and...
Simon Pepping [Tue, 18 Aug 2009 20:05:01 +0000 (20:05 +0000)]
Prepare for new hyphenation pattern files, which do not have their own classes and instead use the default classes in FOP. Modified the build process to a forked java task, in order to be able to set a larger stack size for the compilation of the large number of classes. Added an ant task to generate a new default classes file, to be used with an update of the Unicode Character Database.

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

15 years agobug fix: 47694 Avoid create IOCA for background on empty areas
Chris Bowditch [Fri, 14 Aug 2009 15:46:05 +0000 (15:46 +0000)]
bug fix: 47694 Avoid create IOCA for background on empty areas

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

15 years agoAdded tests for 2, 3, 4 values specified in the page boundaries properties.
Vincent Hennebert [Fri, 14 Aug 2009 10:44:29 +0000 (10:44 +0000)]
Added tests for 2, 3, 4 values specified in the page boundaries properties.

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

15 years agoRenamed PageScaleAttributes class into PageScale.
Vincent Hennebert [Wed, 12 Aug 2009 10:46:39 +0000 (10:46 +0000)]
Renamed PageScaleAttributes class into PageScale.
Simplified and improved its behaviour:
- return null for an empty string
- allow for an arbitrary sequence of white spaces between the scales
- check that number of arguments is no more than 2
- other small improvements

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

15 years agoFixed issues in PageBoundaries class:
Vincent Hennebert [Mon, 10 Aug 2009 11:16:45 +0000 (11:16 +0000)]
Fixed issues in PageBoundaries class:
- typos in method name and documentation
- unnecessary conversions from double to int
- a single space between values of bleed and crop-offset is too restrictive; changed into a sequence of white space characters
Cleanup and improvements of prepress tests:
- split PrepressTest class into two separate PageScaleTest and PageBoundariesTest test cases
- moved newly created test cases into prepress sub-package
- re-organized tests and made them more complete

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

15 years agoFixed and improved documentation about prepress extensions:
Vincent Hennebert [Wed, 5 Aug 2009 11:07:18 +0000 (11:07 +0000)]
Fixed and improved documentation about prepress extensions:
- AFAIU all of them have been implemented in both the PDF and Java2D renderers
- the default value of crop-offset is bleed

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

15 years agoadded support for IMM Extension on fo:simple-page-master element in the AFP Renderer
Chris Bowditch [Tue, 4 Aug 2009 15:44:16 +0000 (15:44 +0000)]
added support for IMM Extension on fo:simple-page-master element in the AFP Renderer

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

15 years agoAdded ability to create single-page SVG 1.1 using a DOMResult or SAXResult.
Jeremias Maerki [Tue, 4 Aug 2009 08:12:18 +0000 (08:12 +0000)]
Added ability to create single-page SVG 1.1 using a DOMResult or SAXResult.

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

15 years agoWhat we thought were cubic curves in GOCA, were actually just quadratic ones. This...
Jeremias Maerki [Tue, 4 Aug 2009 08:10:43 +0000 (08:10 +0000)]
What we thought were cubic curves in GOCA, were actually just quadratic ones. This changes tries to approximate cubic Bézier curves with the quadratic fillets available in GOCA. This should improve vector graphic quality in certain cases.

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

15 years agoBugzilla #47311:
Jeremias Maerki [Mon, 3 Aug 2009 14:25:41 +0000 (14:25 +0000)]
Bugzilla #47311:
Fixed typos.
Bugfix: when crop-offset wasn't specified, but bleed was, the media box was wrong.
Tried to fix encapsulation problem mentioned by Vincent.

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

15 years agoThe javadocs task needs more memory.
Vincent Hennebert [Mon, 3 Aug 2009 11:34:32 +0000 (11:34 +0000)]
The javadocs task needs more memory.

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

15 years agoFixed problem with raster font substitution when there's no smaller font available...
Jeremias Maerki [Mon, 3 Aug 2009 07:25:00 +0000 (07:25 +0000)]
Fixed problem with raster font substitution when there's no smaller font available. This avoids an exception.

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

15 years agoReverted rev 798521.
Jeremias Maerki [Mon, 3 Aug 2009 06:43:45 +0000 (06:43 +0000)]
Reverted rev 798521.
Reason: Loss of accuracy. PDF is operating at points rather than millipoints. Especially when it comes to prepress features people will want exact sizes in the target PDFs.

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

15 years agoDemo file for bleed and crop marks.
Jeremias Maerki [Sun, 2 Aug 2009 19:43:19 +0000 (19:43 +0000)]
Demo file for bleed and crop marks.

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

15 years agoBugzilla #47311:
Jeremias Maerki [Sun, 2 Aug 2009 19:41:37 +0000 (19:41 +0000)]
Bugzilla #47311:
Added an initial set of extensions for prepress support (fox:bleed, fox:crop-offset, fox:crop-box and fox:scale). This is currently supported only by PDF and Java2D renderers.
Submitted by: Peter Coppens <pc.subscriptions.at.gmail.com>

Changes to patch by jeremias:
- crop box expands from trim box rather than the bleed box.
- fixed positioning in AWT preview

Additional changes included:
- disabled the border around every page in Java2DRenderer.
- if background painting is enabled for the Java2DRenderer, it uses the bleed box rather than the trim box.

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

15 years agoReverted changes in rev 797899 (but xgc.jar updated rather than reverted)
Jeremias Maerki [Sun, 2 Aug 2009 19:13:26 +0000 (19:13 +0000)]
Reverted changes in rev 797899 (but xgc.jar updated rather than reverted)

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

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