]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
15 years agoUpdated status to reflect bug fix https://issues.apache.org/bugzilla/show_bug.cgi...
Adrian Cumiskey [Thu, 22 Oct 2009 13:26:46 +0000 (13:26 +0000)]
Updated status to reflect bug fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47941.

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

15 years agoFixes https://issues.apache.org/bugzilla/show_bug.cgi?id=47941
Adrian Cumiskey [Thu, 22 Oct 2009 13:20:53 +0000 (13:20 +0000)]
Fixes https://issues.apache.org/bugzilla/show_bug.cgi?id=47941
Created Triplet interface.
Created new AttributeValueTriplet and AttributeQualifierTriplet.
Promoted truncate() from GraphicsCharacterString to AbstractAFPObject so it can be reused for AttributeValueTriplet.

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

15 years agoAdded just a bit more information to find out what's wrong.
Jeremias Maerki [Thu, 22 Oct 2009 10:15:11 +0000 (10:15 +0000)]
Added just a bit more information to find out what's wrong.

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

15 years agoBugzilla #47711:
Jeremias Maerki [Thu, 22 Oct 2009 09:16:37 +0000 (09:16 +0000)]
Bugzilla #47711:
Fixed generation of CIDSet object in PDF output.
Submitted by: Nicolas Peninguy <nico.at.lostgeeks.org>

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

15 years agoFixed language inconsistencies
Vincent Hennebert [Wed, 21 Oct 2009 10:48:36 +0000 (10:48 +0000)]
Fixed language inconsistencies

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

15 years agoIssue a warning, when non-restartable content is flowing to a narrower page, that...
Vincent Hennebert [Tue, 20 Oct 2009 14:53:23 +0000 (14:53 +0000)]
Issue a warning, when non-restartable content is flowing to a narrower page, that part of it may be clipped

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

15 years agoBugfix: crash occurring when no restartable element could be found after a changing...
Vincent Hennebert [Tue, 20 Oct 2009 12:19:54 +0000 (12:19 +0000)]
Bugfix: crash occurring when no restartable element could be found after a changing IPD break

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

15 years agoFixed checkstyle issues.
Vincent Hennebert [Tue, 20 Oct 2009 10:04:09 +0000 (10:04 +0000)]
Fixed checkstyle issues.
Factorized duplicated code into getXMLReader method.

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

15 years agoBugfix: a table immediately following a break where changing IPD occurs was causing...
Vincent Hennebert [Mon, 19 Oct 2009 18:02:36 +0000 (18:02 +0000)]
Bugfix: a table immediately following a break where changing IPD occurs was causing a NPE (or some content to be swallowed if it's not a table)

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

15 years agoAdded a command-line option '-catalog' to use a catalog resolver for
Simon Pepping [Fri, 16 Oct 2009 13:12:22 +0000 (13:12 +0000)]
Added a command-line option '-catalog' to use a catalog resolver for
the XML and XSLT files. Implemented it in InputHandler.

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

15 years agoFixed a few checkstyle issues introduced in rev. 825646
Vincent Hennebert [Fri, 16 Oct 2009 10:07:00 +0000 (10:07 +0000)]
Fixed a few checkstyle issues introduced in rev. 825646

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

15 years agoApplication of the patch submitted by Alexander Kiel to improve variable names around...
Adrian Cumiskey [Thu, 15 Oct 2009 20:43:13 +0000 (20:43 +0000)]
Application of the patch submitted by Alexander Kiel to improve variable names around Kerning and KnuthElement (see https://issues.apache.org/bugzilla/show_bug.cgi?id=48003).

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

15 years agoDocumented with generics comments.
Adrian Cumiskey [Thu, 15 Oct 2009 17:07:08 +0000 (17:07 +0000)]
Documented with generics comments.

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

15 years agoUpdated ant to run checkstyle 5. This is now supported in lib/build rather than the...
Maximilian Berger [Tue, 13 Oct 2009 13:04:51 +0000 (13:04 +0000)]
Updated ant to run checkstyle 5. This is now supported in lib/build rather than the previously used checkstyle.home

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

15 years agoRemoved svn:executable property
Vincent Hennebert [Tue, 13 Oct 2009 10:52:29 +0000 (10:52 +0000)]
Removed svn:executable property

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

15 years agoFixed handling of percentage values for provisional-label-separation
Vincent Hennebert [Tue, 13 Oct 2009 10:39:49 +0000 (10:39 +0000)]
Fixed handling of percentage values for provisional-label-separation

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

15 years agoBugzilla 47835: fixed handling of percentage values for provisional-distance-between...
Vincent Hennebert [Tue, 13 Oct 2009 10:25:42 +0000 (10:25 +0000)]
Bugzilla 47835: fixed handling of percentage values for provisional-distance-between-starts. Patch submitted by Jonathan Levinson

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

15 years agoRemoved svn:executable property
Vincent Hennebert [Mon, 12 Oct 2009 10:58:06 +0000 (10:58 +0000)]
Removed svn:executable property

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

15 years agoadd support for positioning Page Overlay in AFP Renderer/Painter
Chris Bowditch [Mon, 12 Oct 2009 07:26:03 +0000 (07:26 +0000)]
add support for positioning Page Overlay in AFP Renderer/Painter

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

15 years agoIf a JAI library is not available when creating a FOP distribution build we attempt...
Adrian Cumiskey [Fri, 9 Oct 2009 20:59:11 +0000 (20:59 +0000)]
If a JAI library is not available when creating a FOP distribution build we attempt to download one and make it available to the Ant build process.

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

15 years agoAllow "-if [mime] out" as for "-at".
Jeremias Maerki [Wed, 7 Oct 2009 14:22:35 +0000 (14:22 +0000)]
Allow "-if [mime] out" as for "-at".

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

15 years agoBugzilla #47953:
Jeremias Maerki [Wed, 7 Oct 2009 13:53:33 +0000 (13:53 +0000)]
Bugzilla #47953:
Bugfix for NPE: referencedFontsMatcher can also be null, not just localMatcher.

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

15 years agoRemoved svn:executable property
Vincent Hennebert [Mon, 5 Oct 2009 16:17:13 +0000 (16:17 +0000)]
Removed svn:executable property

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

15 years agoRemoved empty directory
Vincent Hennebert [Mon, 5 Oct 2009 11:12:42 +0000 (11:12 +0000)]
Removed empty directory

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

15 years agoFixed possible NPE.
Jeremias Maerki [Fri, 2 Oct 2009 15:41:31 +0000 (15:41 +0000)]
Fixed possible NPE.

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

15 years agoAdded support for specifying referenced fonts per renderer in addition to the general...
Jeremias Maerki [Fri, 2 Oct 2009 15:31:14 +0000 (15:31 +0000)]
Added support for specifying referenced fonts per renderer in addition to the general match list. If any of the two match lists (if specified) match a font, it is not embedded.

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

15 years agoAdded support for creating thumbnails or preview bitmaps of fixed size for PNG and...
Jeremias Maerki [Fri, 2 Oct 2009 09:19:12 +0000 (09:19 +0000)]
Added support for creating thumbnails or preview bitmaps of fixed size for PNG and TIFF output.
Documentation update for bitmap output.

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

15 years agoJavadocs: Removed all <tt> occurrences with <code> or {@link}.
Jeremias Maerki [Thu, 1 Oct 2009 15:36:10 +0000 (15:36 +0000)]
Javadocs: Removed all <tt> occurrences with <code> or {@link}.

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

15 years agoSome javadoc fixes: @code -> @link
Jeremias Maerki [Thu, 1 Oct 2009 14:48:27 +0000 (14:48 +0000)]
Some javadoc fixes: @code -> @link

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

15 years agoAdded a DocumentHandler implementation for PNG output including multi-file output...
Jeremias Maerki [Thu, 1 Oct 2009 12:56:26 +0000 (12:56 +0000)]
Added a DocumentHandler implementation for PNG output including multi-file output support.

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

15 years agoAs per discussions on fop-dev:
Jeremias Maerki [Thu, 1 Oct 2009 07:55:27 +0000 (07:55 +0000)]
As per discussions on fop-dev:
- Removed Checkstyle 3.5 profile.
- Removed HiddenFieldCheck and RedundantThrowsCheck.

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

15 years agoBugzilla #46883:
Jeremias Maerki [Mon, 28 Sep 2009 14:10:27 +0000 (14:10 +0000)]
Bugzilla #46883:
Reverting revision 807010 because it creates faulty GOCA data. Have debugged but haven't immediately found the cause. Due to time restrictions I'm currently just reverting the change to fix the regression.

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

15 years agoAttach cause to RuntimeException when available. Otherwise, the original exception...
Jeremias Maerki [Sat, 26 Sep 2009 20:38:23 +0000 (20:38 +0000)]
Attach cause to RuntimeException when available. Otherwise, the original exception can be swallowed which makes error forensics more difficult.

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

15 years agoFont name was wrong
Maximilian Berger [Thu, 24 Sep 2009 10:55:51 +0000 (10:55 +0000)]
Font name was wrong

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

15 years agoAdded Testcase from Bug #47872 (thanks to alex kiel) and fixed it in FontLoader
Maximilian Berger [Thu, 24 Sep 2009 10:09:55 +0000 (10:09 +0000)]
Added Testcase from Bug #47872 (thanks to alex kiel) and fixed it in FontLoader

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

15 years agoTrying to clear up afp:include-page-segment as there are questions every now and...
Jeremias Maerki [Tue, 22 Sep 2009 10:39:43 +0000 (10:39 +0000)]
Trying to clear up afp:include-page-segment as there are questions every now and then.

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

15 years agoChanged SVG output to produce coordinates in points rather than millipoints. Millipoi...
Jeremias Maerki [Thu, 17 Sep 2009 09:58:48 +0000 (09:58 +0000)]
Changed SVG output to produce coordinates in points rather than millipoints. Millipoint coordinates can become quite large and can cause trouble later. This is related to (but not fixing) Bugzilla #47641.

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

15 years agoAdded support for the #CMYK pseudo-profile supported by some commercial XSL implement...
Jeremias Maerki [Wed, 16 Sep 2009 19:38:13 +0000 (19:38 +0000)]
Added support for the #CMYK pseudo-profile supported by some commercial XSL implementations on the rgb-icc() function.

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

15 years agoAdded Checkstyle 5 config file (just ported from checkstyle-4.0.xml)
Maximilian Berger [Tue, 15 Sep 2009 16:17:59 +0000 (16:17 +0000)]
Added Checkstyle 5 config file (just ported from checkstyle-4.0.xml)

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

15 years agoFixed SVN Props
Maximilian Berger [Tue, 15 Sep 2009 16:15:11 +0000 (16:15 +0000)]
Fixed SVN Props

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

15 years agoequals implementation violated spec -> replaced with new contentEquals function
Maximilian Berger [Tue, 15 Sep 2009 15:07:51 +0000 (15:07 +0000)]
equals implementation violated spec -> replaced with new contentEquals function

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

15 years agono page index requires no location to satisfy identity junit test
Maximilian Berger [Tue, 15 Sep 2009 14:35:28 +0000 (14:35 +0000)]
no page index requires no location to satisfy identity junit test

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

15 years agoremoved possible null reference
Maximilian Berger [Tue, 15 Sep 2009 14:02:48 +0000 (14:02 +0000)]
removed possible null reference

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

15 years agonon-functional stylistic fixes
Maximilian Berger [Tue, 15 Sep 2009 13:53:09 +0000 (13:53 +0000)]
non-functional stylistic fixes

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

15 years agoAdd safeguards for getter not to return null
Maximilian Berger [Tue, 15 Sep 2009 12:50:47 +0000 (12:50 +0000)]
Add safeguards for getter not to return null
fixes an NPE with disfunctional links.

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

15 years agoMoved the class UnicodeClasses to src/codegen/unicode, so that it is
Simon Pepping [Thu, 3 Sep 2009 11:36:02 +0000 (11:36 +0000)]
Moved the class UnicodeClasses to src/codegen/unicode, so that it is
only built when the classes.xml file is regenerated. Modified the
build file accordingly. Restored Java 5 features in
UnicodeClasses. Created a License utility class. Added a license
statement and a generated file statement to classes.xml. Made
GenerateLineBreakUtils.java use the License class, and made it avoid
trailing spaces in the generated file.

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

15 years agoThere an easier way to throw exceptions from certain event otherwise not causing...
Jeremias Maerki [Thu, 3 Sep 2009 07:24:43 +0000 (07:24 +0000)]
There an easier way to throw exceptions from certain event otherwise not causing an exception.

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

15 years agoForgot to update status file in rev. 808157
Vincent Hennebert [Tue, 1 Sep 2009 11:55:48 +0000 (11:55 +0000)]
Forgot to update status file in rev. 808157

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

15 years agoFixed Checkstyle warnings and replaced a java 1.5 class
Simon Pepping [Wed, 26 Aug 2009 20:00:24 +0000 (20:00 +0000)]
Fixed Checkstyle warnings and replaced a java 1.5 class

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

15 years agoMerged back ChangingIPDHack branch into Trunk
Vincent Hennebert [Wed, 26 Aug 2009 18:50:10 +0000 (18:50 +0000)]
Merged back ChangingIPDHack branch into Trunk

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

15 years agoReverted changes made in revision 796809 (manual merge of clean-up changes made in...
Vincent Hennebert [Wed, 26 Aug 2009 17:42:11 +0000 (17:42 +0000)]
Reverted changes made in revision 796809 (manual merge of clean-up changes made in the ChangingIPDHack branch). Those changes will be re-applied when merging the branch back to Trunk with svn merge --reintegrate (if everything goes well...)

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

15 years agoFixed some oversights: fo:title was already implemented long ago, fo:wrapper works...
Andreas L. Delmelle [Wed, 26 Aug 2009 16:08:01 +0000 (16:08 +0000)]
Fixed some oversights: fo:title was already implemented long ago, fo:wrapper works correctly as of trunk.

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

15 years agodeclaration and icc-profile have been supported for a while now
Maximilian Berger [Tue, 25 Aug 2009 10:42:37 +0000 (10:42 +0000)]
declaration and icc-profile have been supported for a while now

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

15 years agoRemoved a commented leftover from local tests
Andreas L. Delmelle [Mon, 24 Aug 2009 16:34:38 +0000 (16:34 +0000)]
Removed a commented leftover from local tests

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

15 years agoReduce messages to DEBUG level, since they are meant more as a reminder for devs...
Andreas L. Delmelle [Mon, 24 Aug 2009 16:32:49 +0000 (16:32 +0000)]
Reduce messages to DEBUG level, since they are meant more as a reminder for devs, not a source of confusion for end-users

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

15 years agoBugzilla 46905: Added basic implementation for column-level keeps.
Andreas L. Delmelle [Sun, 23 Aug 2009 20:27:48 +0000 (20:27 +0000)]
Bugzilla 46905: Added basic implementation for column-level keeps.
Also added one disabled-testcase for a remaining issue with page-level
keeps in multi-column layout.

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

15 years agoBugzilla 46883: fixed a hotspot in the AFP renderer. Reduced time spent in the method...
Andreas L. Delmelle [Sun, 23 Aug 2009 19:57:48 +0000 (19:57 +0000)]
Bugzilla 46883: fixed a hotspot in the AFP renderer. Reduced time spent in the method by introducing a member variable to hold the data-length.

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

15 years agoRevert some changes that were meant to be kept local for the moment...
Andreas L. Delmelle [Thu, 20 Aug 2009 21:21:43 +0000 (21:21 +0000)]
Revert some changes that were meant to be kept local for the moment...

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

15 years agoBugzilla 47710: White-space handling in retrieved markers throws a NullPointerExcepti...
Andreas L. Delmelle [Thu, 20 Aug 2009 21:15:52 +0000 (21:15 +0000)]
Bugzilla 47710: White-space handling in retrieved markers throws a NullPointerException in some cases.

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

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