]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
15 years agoAdded original SVG from which the PNG equivalent is derived.
Jeremias Maerki [Wed, 11 Feb 2009 08:04:44 +0000 (08:04 +0000)]
Added original SVG from which the PNG equivalent is derived.

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

15 years agoFixed a few typos
Vincent Hennebert [Tue, 10 Feb 2009 12:17:46 +0000 (12:17 +0000)]
Fixed a few typos

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

15 years agoUpdated intermediate format documentation.
Jeremias Maerki [Fri, 6 Feb 2009 16:27:13 +0000 (16:27 +0000)]
Updated intermediate format documentation.

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

15 years agoFixed copy/paste omission.
Jeremias Maerki [Fri, 6 Feb 2009 15:12:30 +0000 (15:12 +0000)]
Fixed copy/paste omission.

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

15 years agoExample for stamping with new IF.
Jeremias Maerki [Fri, 6 Feb 2009 15:04:32 +0000 (15:04 +0000)]
Example for stamping with new IF.

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

15 years agoMoved area tree example to package embedding/atxml.
Jeremias Maerki [Fri, 6 Feb 2009 14:39:07 +0000 (14:39 +0000)]
Moved area tree example to package embedding/atxml.
Created a new concatenation example for the new IF in package embedding/intermediate.
Exchanged IFRendererMaker with IFSerializerMaker.
Removed unused method getConfigurator() from document handler makers.
Extracting original nested IFException in IFParser's parse() method.
Removed obsolete IFSerializerConfiguration. Now covered by PrintRendererConfigurator.
Delegating FontInfo setter calls to mimic handlers in IFSerializer.
Fixed a bug in RendererFactory for the case when FOUserAgent.setDocumentHandlerOverride() is used.
Added a generic IFDocumentHandler proxy class (IFDocumentHandlerProxy).
Added a simple IFConcatenator helper class for simple IF concatenations (experimental).

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

15 years agoBugfix for path handling when spaces are in the path.
Jeremias Maerki [Thu, 5 Feb 2009 16:28:07 +0000 (16:28 +0000)]
Bugfix for path handling when spaces are in the path.

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

15 years agoPerformance improvements and file-size reductions by introducing letter-spacing and...
Jeremias Maerki [Thu, 5 Feb 2009 16:27:08 +0000 (16:27 +0000)]
Performance improvements and file-size reductions by introducing letter-spacing and word-spacing attributes in new IF (as mentioned on fop-dev).

Allow to control whether kerning information is loaded from fonts.
Started support for AFP font embedding (incomplete and currently disabled)

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

15 years agoMerge from Trunk revisions 740276 - 741103.
Jeremias Maerki [Thu, 5 Feb 2009 15:01:36 +0000 (15:01 +0000)]
Merge from Trunk revisions 740276 - 741103.

Hooked in the new AFP resource level defaults into the IF-size of the image handlers.

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

15 years agoAFP Output: Added a configuration option to override the resource level defaults...
Jeremias Maerki [Thu, 5 Feb 2009 10:40:52 +0000 (10:40 +0000)]
AFP Output: Added a configuration option to override the resource level defaults in the code. The chosen defaults in code may not always be the best. For example, a user reported that they can't use print-level images for some reason and it is not possible to switch on inlining for background images.

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

15 years agoAFP: A note about deployment in older environments.
Jeremias Maerki [Wed, 4 Feb 2009 12:50:21 +0000 (12:50 +0000)]
AFP: A note about deployment in older environments.

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

15 years agoReverted revisions 740669 and 740673. Problem was not there but caused by the particu...
Jeremias Maerki [Wed, 4 Feb 2009 10:47:19 +0000 (10:47 +0000)]
Reverted revisions 740669 and 740673. Problem was not there but caused by the particular Xalan-J version in use.

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

15 years agoUhm, one should actually do something with the return value.
Jeremias Maerki [Wed, 4 Feb 2009 10:24:15 +0000 (10:24 +0000)]
Uhm, one should actually do something with the return value.

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

15 years agoTrying to work around a problem with Java 1.4 when spaces are in Ant's basedir proper...
Jeremias Maerki [Wed, 4 Feb 2009 10:10:13 +0000 (10:10 +0000)]
Trying to work around a problem with Java 1.4 when spaces are in Ant's basedir property as happened on my local Hudson instance because I had spaces in the Hudson job name.

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

15 years agoFixed classpath problem concerning XMLUnit.
Jeremias Maerki [Wed, 4 Feb 2009 09:28:48 +0000 (09:28 +0000)]
Fixed classpath problem concerning XMLUnit.
Split JUnits targets into a reduced set (without layout engine tests) and a full set.
Reactivated "gump" target and assigning it the reduced set. I want to see if Gump can do a bit more of our test suite without failing.

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

15 years agoMerge from Trunk revisions 735029 - 740275.
Jeremias Maerki [Tue, 3 Feb 2009 16:28:21 +0000 (16:28 +0000)]
Merge from Trunk revisions 735029 - 740275.

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

15 years agoEnabling border/padding tests on region references.
Jeremias Maerki [Fri, 30 Jan 2009 19:58:39 +0000 (19:58 +0000)]
Enabling border/padding tests on region references.

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

15 years agoFixed test error for transcoders.
Jeremias Maerki [Fri, 30 Jan 2009 19:28:59 +0000 (19:28 +0000)]
Fixed test error for transcoders.
Enabled disabling strict validation from inside the test case. This enabled activating the border/padding test case for region references.
Refactored layout engine and intermediate format tests a bit to increase code reuse.
Fixed the way border/padding are set on the area tree. The current way had unwanted side-effects for the AreaTreeParser.
Added support for border/padding on region references when parsing from area tree XML.

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

15 years agoBugzilla #46638: MinOptMaxUtil.toMinOptMax was converting LengthRangeProperty objects...
Vincent Hennebert [Fri, 30 Jan 2009 18:56:34 +0000 (18:56 +0000)]
Bugzilla #46638: MinOptMaxUtil.toMinOptMax was converting LengthRangeProperty objects into illegal MinOptMax objects (in some cases opt could be inferior to min).

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

15 years agoAdded validation against XML Schema of the intermediate format so we notice when...
Jeremias Maerki [Fri, 30 Jan 2009 11:27:56 +0000 (11:27 +0000)]
Added validation against XML Schema of the intermediate format so we notice when either changes incompatibly.

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

15 years agoBookmarks are now in the doc navigation namespace, so move the definition and update it.
Jeremias Maerki [Fri, 30 Jan 2009 11:25:57 +0000 (11:25 +0000)]
Bookmarks are now in the doc navigation namespace, so move the definition and update it.

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

15 years agoAllow namespaces other than just XMP/RDF in the document header.
Jeremias Maerki [Fri, 30 Jan 2009 11:02:23 +0000 (11:02 +0000)]
Allow namespaces other than just XMP/RDF in the document header.

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

15 years agoBetter error message.
Jeremias Maerki [Fri, 30 Jan 2009 10:51:27 +0000 (10:51 +0000)]
Better error message.

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

15 years agoAdjust example to updated schema.
Jeremias Maerki [Fri, 30 Jan 2009 10:34:26 +0000 (10:34 +0000)]
Adjust example to updated schema.

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

15 years agoUpdated XML Schema for the new intermediate format.
Jeremias Maerki [Fri, 30 Jan 2009 10:19:42 +0000 (10:19 +0000)]
Updated XML Schema for the new intermediate format.
Fixed the ID prefix for the URIAction to conform to the "ID" XML Schema datatype.

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

15 years agoFront page still mentions the beta.
Jeremias Maerki [Thu, 29 Jan 2009 07:06:53 +0000 (07:06 +0000)]
Front page still mentions the beta.

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

15 years agoBugzilla #46315: extension to disable column balancing before blocks spanning the...
Vincent Hennebert [Wed, 28 Jan 2009 15:33:02 +0000 (15:33 +0000)]
Bugzilla #46315: extension to disable column balancing before blocks spanning the whole page, in multiple-column documents.
Patch submitted by Georg Datterl, applied with some modifications (mainly Checkstyle issues)

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

15 years agoDisabled the PDF dump by default.
Jeremias Maerki [Wed, 28 Jan 2009 13:42:07 +0000 (13:42 +0000)]
Disabled the PDF dump by default.

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

15 years agoUpdated dependency list.
Jeremias Maerki [Wed, 28 Jan 2009 13:30:22 +0000 (13:30 +0000)]
Updated dependency list.
Added XMLUnit 1.2 as we've already got many other build-only third-parties in lib/build and adding XMLUnit makes FOP easier to set up in an IDE.

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

15 years agoGrr, forgot the command-line compile again. Fixed the build after the move of a JAI...
Jeremias Maerki [Wed, 28 Jan 2009 12:56:43 +0000 (12:56 +0000)]
Grr, forgot the command-line compile again. Fixed the build after the move of a JAI-dependent class. Thanks, Gump.

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

15 years agoMoved MonochromeBitmapConverter from PCL to utility package for later reuse in AFP.
Jeremias Maerki [Wed, 28 Jan 2009 11:10:51 +0000 (11:10 +0000)]
Moved MonochromeBitmapConverter from PCL to utility package for later reuse in AFP.
Moved BitmapImageUtil to a subpackage under util.
Added support for creating (hard) page segments for images when working in bi-level mode. Include Image Object (IOB) is a newer feature and not supported everywhere. Since page segments cannot be scaled, they have to be generated for each distinctive target size.
Bugfix: Reduced maximum chunk sizes for GraphicsData and ImageObject to conform to interchange set 1.
Bugfix: Removed PresentationSpaceResetMixingTriplet which is not allowed in interchange set 1.
Bugfix: Removed invalid byte in IDE Structure Parameter.
Added support for creating FS10 images for bi-level bitmaps for better interoperability.
Disabled optional and unnecessary name in ImageSegment. This name is never referenced.
Refactored environment groups a bit to avoid duplicate data structures due to subclassing.
Added explicit MappingOptionTriplet for image scaling.

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

15 years agoBugzilla 46567: fo:marker in fo:table-row produced a ValidationException
Andreas L. Delmelle [Thu, 22 Jan 2009 21:53:52 +0000 (21:53 +0000)]
Bugzilla 46567: fo:marker in fo:table-row produced a ValidationException

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

15 years agoFixed an image inversion problem.
Jeremias Maerki [Thu, 22 Jan 2009 11:08:28 +0000 (11:08 +0000)]
Fixed an image inversion problem.

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

15 years agoRemoved MathML example as per discussion on fop-dev mailing list
Maximilian Berger [Wed, 21 Jan 2009 11:59:20 +0000 (11:59 +0000)]
Removed MathML example as per discussion on fop-dev mailing list

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

15 years agoFixed a small omission on the compliance page.
Jeremias Maerki [Sun, 18 Jan 2009 13:28:24 +0000 (13:28 +0000)]
Fixed a small omission on the compliance page.
Added a dummy locationmap.xml to remove some errors in the Forrest log.

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

15 years agoRemoved duplicate entry introduced by revision 721430.
Jeremias Maerki [Sun, 18 Jan 2009 13:13:04 +0000 (13:13 +0000)]
Removed duplicate entry introduced by revision 721430.

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

15 years agoA bit of housekeeping:
Jeremias Maerki [Sun, 18 Jan 2009 12:48:58 +0000 (12:48 +0000)]
A bit of housekeeping:
- one site is infected with a Trojan horse
- Assentis no longer supports FOP
- removed dead links
- added xmlroff to complete the list of open source implementations
- PDFBox has migrated

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

15 years agoMerge from Trunk revisions 731480 - 735028.
Jeremias Maerki [Fri, 16 Jan 2009 15:55:58 +0000 (15:55 +0000)]
Merge from Trunk revisions 731480 - 735028.

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

15 years agoAdded support for the AFP Extensions.
Jeremias Maerki [Fri, 16 Jan 2009 14:35:12 +0000 (14:35 +0000)]
Added support for the AFP Extensions.
Added default font setup.
Added a last-resort font selection fallback for cases where an IF file was not created with the right font set.

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

15 years agoRemoved duplicated extension attachment list on PageViewport (which is an AreaTreeObj...
Jeremias Maerki [Fri, 16 Jan 2009 14:29:39 +0000 (14:29 +0000)]
Removed duplicated extension attachment list on PageViewport (which is an AreaTreeObject subclass and therefore already has that list).

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

15 years agoBugfix: Weave included page segments into the object sequence instead of inserting...
Jeremias Maerki [Fri, 16 Jan 2009 14:20:59 +0000 (14:20 +0000)]
Bugfix: Weave included page segments into the object sequence instead of inserting them at the beginning. Otherwise they can be overpainted by marks that would otherwise lay under the page segment.

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

15 years agoAdded in support for subtractive mode in 1-bit images. This should further reduce...
Jeremias Maerki [Thu, 15 Jan 2009 16:54:45 +0000 (16:54 +0000)]
Added in support for subtractive mode in 1-bit images. This should further reduce AFP file sizes for certain images.
We need to change the way the AFP library works in the long term. Adding one boolean flag causes changes in 5 different classes. That can't be it.

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

15 years agoExtracted some bitmap handling functions from the PCL implementation into new BitmapI...
Jeremias Maerki [Thu, 15 Jan 2009 15:51:36 +0000 (15:51 +0000)]
Extracted some bitmap handling functions from the PCL implementation into new BitmapImageUtil class.
Added limited support for more efficient image encoding in AFP. Where possible the raw image data from the RenderedImage is used. Limitations include:
- missing support for color lookup tables (IndexColorModel)
- monochrome images: additive/subtractive flag is not supported by the AFP library, yet.
Images with fewer bits per pixel than specified in the configuration are no longer blown up to 4, 8 or even 24 bits.

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

15 years agoUpdate XML Graphics Commons to make the branch compile again.
Jeremias Maerki [Thu, 15 Jan 2009 09:27:26 +0000 (09:27 +0000)]
Update XML Graphics Commons to make the branch compile again.

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

15 years agoAdded support for fixed-width spaces.
Jeremias Maerki [Tue, 13 Jan 2009 11:28:56 +0000 (11:28 +0000)]
Added support for fixed-width spaces.
Better handling of unmappable characters.

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

15 years agoAdded clipping support.
Jeremias Maerki [Tue, 13 Jan 2009 07:34:18 +0000 (07:34 +0000)]
Added clipping support.

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

15 years agoAdded border and leader painting for the AFPPainter.
Jeremias Maerki [Mon, 12 Jan 2009 15:30:02 +0000 (15:30 +0000)]
Added border and leader painting for the AFPPainter.

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

15 years agoFixed assert statement.
Jeremias Maerki [Mon, 12 Jan 2009 15:22:06 +0000 (15:22 +0000)]
Fixed assert statement.

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

15 years agoFixed bitmap image placement in SVG.
Jeremias Maerki [Mon, 12 Jan 2009 13:35:11 +0000 (13:35 +0000)]
Fixed bitmap image placement in SVG.

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

15 years agoRestrict XML-formats to SVG to stream-line the image loading/conversion process.
Jeremias Maerki [Mon, 12 Jan 2009 13:34:11 +0000 (13:34 +0000)]
Restrict XML-formats to SVG to stream-line the image loading/conversion process.

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

15 years agoDisabling native formats as long as the configuration doesn't enable/disable them...
Jeremias Maerki [Mon, 12 Jan 2009 13:28:43 +0000 (13:28 +0000)]
Disabling native formats as long as the configuration doesn't enable/disable them (open item for later).

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

15 years agoStarted new IF implementation for AFP (incomplete, supporting filled rects, text...
Jeremias Maerki [Sun, 11 Jan 2009 11:31:24 +0000 (11:31 +0000)]
Started new IF implementation for AFP (incomplete, supporting filled rects, text and images). Work in progress!

Moved PTOCA (presentation text) command sequence production into the new "ptoca" package.
The PtocaBuilder class allows more flexible command sequence production than if you have to pass in an "info object".

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

15 years agoAdded general support for the fox:conversion-mode inside the new IF.
Jeremias Maerki [Sun, 11 Jan 2009 11:27:03 +0000 (11:27 +0000)]
Added general support for the fox:conversion-mode inside the new IF.
Cleaned up usage of fox:conversion-mode foreign attribute.
Plus additional cleanup.

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

15 years agoAdded shortcut that avoids painting text using the native text handler if the Graphic...
Jeremias Maerki [Sun, 11 Jan 2009 11:22:41 +0000 (11:22 +0000)]
Added shortcut that avoids painting text using the native text handler if the Graphics2D passed in is not compatible (as with SVG filter operations).
Avoid NPE when font size returns null.
Do anchor evaluation before the getText() method as it returns null afterwards when the ACI's state has changed.

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

15 years agoMoved getPoint() method from DataStream to AFPPaintingState where it makes more sense.
Jeremias Maerki [Sun, 11 Jan 2009 11:19:13 +0000 (11:19 +0000)]
Moved getPoint() method from DataStream to AFPPaintingState where it makes more sense.

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

15 years agoGOCA improvements:
Jeremias Maerki [Sun, 11 Jan 2009 11:15:34 +0000 (11:15 +0000)]
GOCA improvements:
Improved font size and line width calculation.
Removed superfluous AFPGraphics2D.setFontInfo() method.
Avoid ClassCastException inside SVG filter operations when not an AFPGraphics2D is passed in.
Fixed line width state handling (it appears as if after a new segment the line width is reset. Found that out empirically. Didn't find the corresponding reference in the spec).

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

15 years agoThe "upgrading" page for Trunk needed a bit of attention.
Jeremias Maerki [Fri, 9 Jan 2009 13:33:59 +0000 (13:33 +0000)]
The "upgrading" page for Trunk needed a bit of attention.

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

15 years agoBetter class description.
Jeremias Maerki [Fri, 9 Jan 2009 13:03:47 +0000 (13:03 +0000)]
Better class description.

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

15 years agoAdded missing license header.
Jeremias Maerki [Fri, 9 Jan 2009 13:01:47 +0000 (13:01 +0000)]
Added missing license header.

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

15 years agoRemoved code that doesn't have any effect.
Jeremias Maerki [Thu, 8 Jan 2009 07:59:58 +0000 (07:59 +0000)]
Removed code that doesn't have any effect.

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

15 years agoAdded a note explaining things that we should look out for.
Jeremias Maerki [Wed, 7 Jan 2009 15:56:07 +0000 (15:56 +0000)]
Added a note explaining things that we should look out for.

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

15 years agoFixed typo
Vincent Hennebert [Wed, 7 Jan 2009 11:03:38 +0000 (11:03 +0000)]
Fixed typo

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

15 years agoHappy new year.
Jeremias Maerki [Wed, 7 Jan 2009 08:55:47 +0000 (08:55 +0000)]
Happy new year.

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

15 years agoGive javadoc utility some more memory to avoid OutOfMemoryErrors.
Jeremias Maerki [Wed, 7 Jan 2009 08:49:29 +0000 (08:49 +0000)]
Give javadoc utility some more memory to avoid OutOfMemoryErrors.
Some additional package description and better package grouping.
Handle @event.severity tag.

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

15 years agoBugfix: remaining chunk of over-long text strings didn't get handled properly.
Jeremias Maerki [Tue, 6 Jan 2009 08:05:57 +0000 (08:05 +0000)]
Bugfix: remaining chunk of over-long text strings didn't get handled properly.

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

15 years agoMerge from Trunk revisions 728026 - 731479.
Jeremias Maerki [Mon, 5 Jan 2009 07:59:39 +0000 (07:59 +0000)]
Merge from Trunk revisions 728026 - 731479.

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

15 years agoFOP now creates ToUnicode CMaps for single-byte fonts that don't use built-in encodin...
Jeremias Maerki [Mon, 5 Jan 2009 07:47:02 +0000 (07:47 +0000)]
FOP now creates ToUnicode CMaps for single-byte fonts that don't use built-in encodings to help PDF text extractors interpreting characters.
PDF CMaps now support single-byte characters.

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

15 years agoAvoid ArrayOutOfBoundsException when text length is 0 (this can happen if you specify...
Jeremias Maerki [Mon, 5 Jan 2009 07:38:43 +0000 (07:38 +0000)]
Avoid ArrayOutOfBoundsException when text length is 0 (this can happen if you specify a soft hyphen as only content of a block, for example).

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

15 years agoAdded support for forcing single-byte encodings for TrueType fonts without creating...
Jeremias Maerki [Sun, 4 Jan 2009 12:59:29 +0000 (12:59 +0000)]
Added support for forcing single-byte encodings for TrueType fonts without creating an XML font metric file (see "encoding-mode" attribute on "font" element in updated documentation).
See also Acrobat PDF merge performance problem on fop-users: http://markmail.org/message/dbbaaht4qshhqs3v

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

15 years agoBugzilla #45306:
Jeremias Maerki [Fri, 2 Jan 2009 16:08:24 +0000 (16:08 +0000)]
Bugzilla #45306:
Fixed fo:instream-foreign-object inside fo:marker.

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

15 years agoBugzilla #45938:
Jeremias Maerki [Fri, 2 Jan 2009 15:27:01 +0000 (15:27 +0000)]
Bugzilla #45938:
Background image problems are now reported using events.

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

15 years agoIntroduced IFContext to provide access to foreign attributes (as discussed on fop...
Jeremias Maerki [Fri, 2 Jan 2009 14:29:30 +0000 (14:29 +0000)]
Introduced IFContext to provide access to foreign attributes (as discussed on fop-dev).
Removed the foreign attributes map from the drawImage methods as a consequence.
Added support for foreign attributes on the page (PCL's paper-source and duplex-mode extensions).
Fixed a couple of bugs parsing the document navigation elements.
Build-time test suite now runs through.

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

15 years agoFixed Transcoder test.
Jeremias Maerki [Fri, 2 Jan 2009 13:57:22 +0000 (13:57 +0000)]
Fixed Transcoder test.

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

15 years agoSome PDF actions get pooled and therefore don't need to be registered.
Jeremias Maerki [Fri, 2 Jan 2009 09:19:09 +0000 (09:19 +0000)]
Some PDF actions get pooled and therefore don't need to be registered.

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

15 years agoGuard against invalid destinations.
Jeremias Maerki [Fri, 2 Jan 2009 09:08:22 +0000 (09:08 +0000)]
Guard against invalid destinations.

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

15 years agoMost of the PostScript extensions are implemented in PSPainter now (and tested).
Jeremias Maerki [Mon, 22 Dec 2008 18:23:03 +0000 (18:23 +0000)]
Most of the PostScript extensions are implemented in PSPainter now (and tested).
Bugfix: IFSerializer wrote out the page name instead of the page-master-name for the page-master-name attribute.

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

15 years agoFixed another spacing issue in IFRenderer.
Jeremias Maerki [Mon, 22 Dec 2008 14:14:40 +0000 (14:14 +0000)]
Fixed another spacing issue in IFRenderer.
Checks for spacing (kerning, letter-space and word-space combinations).

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

15 years agoNeed to use xml:space="preserve" on text elements in IF and SVG output to avoid probl...
Jeremias Maerki [Mon, 22 Dec 2008 14:11:52 +0000 (14:11 +0000)]
Need to use xml:space="preserve" on text elements in IF and SVG output to avoid problems with editing those files in XML editors and rendering SVG text starting or ending with whitespace.

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

15 years agoMerge from Trunk revisions 724690 - 728025.
Jeremias Maerki [Fri, 19 Dec 2008 14:26:37 +0000 (14:26 +0000)]
Merge from Trunk revisions 724690 - 728025.

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

15 years agoFixed painting bug introduced by rev 721430 (originally rev 672291 in AFP GOCA branch).
Jeremias Maerki [Fri, 19 Dec 2008 14:04:09 +0000 (14:04 +0000)]
Fixed painting bug introduced by rev 721430 (originally rev 672291 in AFP GOCA branch).

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

15 years agoBorders and leaders/rules for the PostScript painter.
Jeremias Maerki [Fri, 19 Dec 2008 09:31:15 +0000 (09:31 +0000)]
Borders and leaders/rules for the PostScript painter.
BorderPainter methods throw IOException (needed for PostScript).
Some Javadocs.

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

15 years agoUpdate XML Graphics Commons to latest Trunk.
Jeremias Maerki [Wed, 17 Dec 2008 15:07:05 +0000 (15:07 +0000)]
Update XML Graphics Commons to latest Trunk.

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

15 years agoAdded getUserAgent() to IFDocumentHandler (implemented by all implementations already).
Jeremias Maerki [Wed, 17 Dec 2008 15:01:21 +0000 (15:01 +0000)]
Added getUserAgent() to IFDocumentHandler (implemented by all implementations already).
Full image support for PSPainter.
PostScript output now uses the ImageHandler facility (IF and renderer) for both inline (ImageHandler interface) and form image production (PSImageHandler interface). No more hard-coded image flavor list.
Resource optimization extended so images that are only used once are inlined to lower memory requirements in the PostScript VM.
Added test cases using Commons' DSC parser to verify the new functionality.
Added IFDocumentHandler override possibility in FOUserAgent (just like for FOEventHandler and Renderer).
Subject support for PDF output.

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

15 years agoFixed black backgrounds occurring for transparent images in PCL output.
Jeremias Maerki [Tue, 16 Dec 2008 09:27:20 +0000 (09:27 +0000)]
Fixed black backgrounds occurring for transparent images in PCL output.

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

15 years agoFixed another little kerning bug.
Jeremias Maerki [Thu, 11 Dec 2008 16:41:53 +0000 (16:41 +0000)]
Fixed another little kerning bug.
Trim down dx array to the maximum size necessary.

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

15 years agoFirst checks for the IF "link" element.
Jeremias Maerki [Thu, 11 Dec 2008 16:05:38 +0000 (16:05 +0000)]
First checks for the IF "link" element.

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

15 years agoAdded -ifin command-line option to use the intermediate format as input format.
Jeremias Maerki [Thu, 11 Dec 2008 16:03:30 +0000 (16:03 +0000)]
Added -ifin command-line option to use the intermediate format as input format.

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

15 years agoFixed parsing of document navigation namespace (its elements are no longer simple...
Jeremias Maerki [Thu, 11 Dec 2008 16:02:23 +0000 (16:02 +0000)]
Fixed parsing of document navigation namespace (its elements are no longer simple extension elements but get sent to a specific interface).

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

15 years agoRun AT tests only if there are such tests.
Jeremias Maerki [Thu, 11 Dec 2008 14:38:25 +0000 (14:38 +0000)]
Run AT tests only if there are such tests.

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

15 years agoFixed NPE: the user agent was not set.
Jeremias Maerki [Thu, 11 Dec 2008 14:38:01 +0000 (14:38 +0000)]
Fixed NPE: the user agent was not set.

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

15 years agoMy first attempt at implementing links was messed up. This second attempt actually...
Jeremias Maerki [Thu, 11 Dec 2008 14:15:32 +0000 (14:15 +0000)]
My first attempt at implementing links was messed up. This second attempt actually works.
Optimized IF serialization a bit: only real changes in the IF state are serialized to the IF (makes smaller files and results in higher performance).

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

15 years agoBugzilla #46369:
Chris Bowditch [Wed, 10 Dec 2008 15:14:06 +0000 (15:14 +0000)]
Bugzilla #46369:
Restored support for AFP Extensions (TLE, NOP, Overlays and Page Segments)

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

15 years agoForgot to add link support. First version added now. Generalizing this for the IF...
Jeremias Maerki [Tue, 9 Dec 2008 23:50:41 +0000 (23:50 +0000)]
Forgot to add link support. First version added now. Generalizing this for the IF is not so easy it seems.
Moved document navigation features (bookmarks, links, named destinations) into a separate handler interface that can be optionally implemented by document handler implementations.
This will need a bit more work to be complete (parsing for document navigation from IF, cleanup in PDF library etc.).

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

15 years agoMerge from Trunk revisions 719662 - 724689.
Jeremias Maerki [Tue, 9 Dec 2008 15:00:35 +0000 (15:00 +0000)]
Merge from Trunk revisions 719662 - 724689.
Conflict for ImageHandler interface resolved by renaming Trunk's ImageHandler to ImageHandlerBase and extending the other ImageHandler from that.

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

15 years agoBugzilla 46319:
Andreas L. Delmelle [Mon, 8 Dec 2008 18:54:16 +0000 (18:54 +0000)]
Bugzilla 46319:
Fixed a memory-leak in Marker.MarkerAttribute, where an instance was used as both key and value
in a WeakHashMap, effectively neutralizing the benefit of using WeakReferences.
Solved by extending PropertyCache to work for MarkerAttributes as well.

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

15 years agoBatik's DOMUtilities.deepCloneDocument() doesn't propagate the document URI which...
Jeremias Maerki [Mon, 8 Dec 2008 11:30:11 +0000 (11:30 +0000)]
Batik's DOMUtilities.deepCloneDocument() doesn't propagate the document URI which makes relative image URIs fail. Fixes one of our unit tests.

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

15 years agoReverted accidental commit of unfinished change. Sorry about that.
Jeremias Maerki [Mon, 8 Dec 2008 07:39:44 +0000 (07:39 +0000)]
Reverted accidental commit of unfinished change. Sorry about that.

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

15 years agoBugzilla #46360:
Jeremias Maerki [Sun, 7 Dec 2008 18:02:52 +0000 (18:02 +0000)]
Bugzilla #46360:
Fixed a multi-threading issue when rendering SVG. (Missed one)

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

15 years agoBugzilla #46360:
Jeremias Maerki [Sun, 7 Dec 2008 18:01:24 +0000 (18:01 +0000)]
Bugzilla #46360:
Fixed a multi-threading issue when rendering SVG.

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

15 years agoFopCharacterSet doesn't follow the same contract as its superclass. The metrics must...
Jeremias Maerki [Sun, 7 Dec 2008 12:28:27 +0000 (12:28 +0000)]
FopCharacterSet doesn't follow the same contract as its superclass. The metrics must not be multiplied by the font size in the FopCharacterSet class. Only RasterFont or OutlineFont should do that.

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