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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

15 years agoReverted revision 742766.
Jeremias Maerki [Wed, 11 Feb 2009 12:52:48 +0000 (12:52 +0000)]
Reverted revision 742766.

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

15 years agoBugzilla #46686:
Jeremias Maerki [Wed, 11 Feb 2009 08:41:04 +0000 (08:41 +0000)]
Bugzilla #46686:
Use temporary directory for the font cache if the user home directory is not write-accessible.
Submitted by: Alok Singh <alok.at.jivesoftware.com>

Modifications to patch by jeremias:
- Bugfix: original code switched to temporary directory if the .fop directory already existed in user home.

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

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 agoThere was a filter list constant for fonts, but our font streams didn't use it.
Jeremias Maerki [Mon, 9 Feb 2009 22:09:40 +0000 (22:09 +0000)]
There was a filter list constant for fonts, but our font streams didn't use it.

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

15 years agoClarification for encoding-mode="single-byte".
Jeremias Maerki [Mon, 9 Feb 2009 22:07:34 +0000 (22:07 +0000)]
Clarification for encoding-mode="single-byte".

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

15 years agoAdded code to detect when a Type 1 font is not configured to use its native encoding...
Jeremias Maerki [Mon, 9 Feb 2009 16:58:29 +0000 (16:58 +0000)]
Added code to detect when a Type 1 font is not configured to use its native encoding. In such a case it needs to be re-encoded in PostScript. That used to always happen in earlier FOP versions but since support was added for all glyphs in a font, this has become a problem. So this change restores the behaviour of before when XML font metrics files or just the PFM are used.

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

15 years agoBugzilla #45342:
Jeremias Maerki [Mon, 9 Feb 2009 15:29:33 +0000 (15:29 +0000)]
Bugzilla #45342:
AFP Fonts: Fixed interpretation of metric for fonts with fixed metrics and made sure all repeating groups in FNP (Font Position) are processed.
Submitted by: Emil Maskovsky <styryx.at.seznam.cz>

Modifications to patch by jeremias:
- Style changes (tabs, variable names, javadocs)
- Fixed handling of spaces in URLs (as in IF branch)
- Modified the way the metrics are calculated (Emil's solution didn't produce the values required by FOP)

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

15 years agoAdded a flush() call in the resource handler to make sure unwritten content is flushe...
Jeremias Maerki [Mon, 9 Feb 2009 09:22:50 +0000 (09:22 +0000)]
Added a flush() call in the resource handler to make sure unwritten content is flushed (not a bugfix but a precaution for an experiment I've done).

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

15 years agoBugfix: restored support for characters not in a font's standard encoding when PostSc...
Jeremias Maerki [Mon, 9 Feb 2009 09:21:09 +0000 (09:21 +0000)]
Bugfix: restored support for characters not in a font's standard encoding when PostScript is generated with resource optimization turned off.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@742346 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