]>
source.dussan.org Git - xmlgraphics-fop.git/log
Vincent Hennebert [Fri, 16 Oct 2009 14:12:06 +0000 (14:12 +0000)]
Made PDFImageHandlerGraphics2D accessible
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@825902
13f79535 -47bb-0310-9956-
ffa450edef68
Vincent Hennebert [Thu, 15 Oct 2009 16:25:08 +0000 (16:25 +0000)]
Added mappings for yet unimplemented FOs.
Return /NonStruct instead of null if no mapping is found for a given object, in order to at least generate a valid PDF
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@825555
13f79535 -47bb-0310-9956-
ffa450edef68
Vincent Hennebert [Thu, 15 Oct 2009 14:25:28 +0000 (14:25 +0000)]
Merged SimpleStructureTree and ParsedStructureTree classes into a single one, used by both TransformerNodeEndProcessing and intermediate XML parsers
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@825504
13f79535 -47bb-0310-9956-
ffa450edef68
Vincent Hennebert [Thu, 15 Oct 2009 10:47:34 +0000 (10:47 +0000)]
Made the structure tree processing chain more robust by removing any assumption about prefix names for namespaces.
Avoid warnings issued by reduceFOTree.xsl when FO file contains foreign elements (like MathML).
SimpleStructureTree: replaced XPath query with simple DOM method calls.
Cleaned up, simplified and re-organized reduceFOTree and addPtr stylesheets.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@825461
13f79535 -47bb-0310-9956-
ffa450edef68
Vincent Hennebert [Tue, 13 Oct 2009 17:13:39 +0000 (17:13 +0000)]
Re-format addPtr.xsl to make it readable.
Also add a ptr attribute to fo:table-and-caption and fo:table-caption, even if they are not supported, in order to avoid a crash.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@824845
13f79535 -47bb-0310-9956-
ffa450edef68
Vincent Hennebert [Tue, 13 Oct 2009 16:41:13 +0000 (16:41 +0000)]
Merged changes from Trunk up to revision 824832
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@824839
13f79535 -47bb-0310-9956-
ffa450edef68
Vincent Hennebert [Tue, 13 Oct 2009 16:14:12 +0000 (16:14 +0000)]
Implemented rendering of structure tree to Area Tree XML and parsing back from it
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@824827
13f79535 -47bb-0310-9956-
ffa450edef68
Vincent Hennebert [Tue, 13 Oct 2009 15:34:29 +0000 (15:34 +0000)]
Bugfix: render all background images as artifacts
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@824808
13f79535 -47bb-0310-9956-
ffa450edef68
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
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
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
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
Vincent Hennebert [Mon, 12 Oct 2009 18:04:07 +0000 (18:04 +0000)]
Reset imageReference once it's no longer needed
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@824444
13f79535 -47bb-0310-9956-
ffa450edef68
Vincent Hennebert [Mon, 12 Oct 2009 17:44:44 +0000 (17:44 +0000)]
Implemented accessibility in PDFRenderer
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@824441
13f79535 -47bb-0310-9956-
ffa450edef68
Vincent Hennebert [Mon, 12 Oct 2009 17:39:53 +0000 (17:39 +0000)]
Switched parameters of separateTextElements and beginTextObjectAccess, for consistency with saveGraphicsState and beginMarkedContentSequence
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@824439
13f79535 -47bb-0310-9956-
ffa450edef68
Vincent Hennebert [Mon, 12 Oct 2009 16:26:00 +0000 (16:26 +0000)]
Extracted code related to logical structure out of PDFDocumentHandler and put it in its own PDFLogicalStructureHandler class. Vastly simplified the building of the structure tree in the same time.
Fixed bug occurring when a block contains only one line of text: the generated PDF was illegal
Fixed bug in the generation of the structural parent tree: values in a number tree must be indirect references (note: other number trees in the document may still be wrongly generated)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@824407
13f79535 -47bb-0310-9956-
ffa450edef68
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
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
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
Vincent Hennebert [Wed, 7 Oct 2009 17:34:29 +0000 (17:34 +0000)]
Removed unnecessary languageStack field
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@822810
13f79535 -47bb-0310-9956-
ffa450edef68
Vincent Hennebert [Wed, 7 Oct 2009 17:31:13 +0000 (17:31 +0000)]
Fixed support for links and images in the Intermediate Format
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@822808
13f79535 -47bb-0310-9956-
ffa450edef68
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
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
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
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
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
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
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
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
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
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
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
Vincent Hennebert [Mon, 28 Sep 2009 15:35:03 +0000 (15:35 +0000)]
Extracted code into new processStructureTree method
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@819591
13f79535 -47bb-0310-9956-
ffa450edef68
Vincent Hennebert [Mon, 28 Sep 2009 15:27:30 +0000 (15:27 +0000)]
Implemented parsing of structure trees from IF XML files.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@819585
13f79535 -47bb-0310-9956-
ffa450edef68
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
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
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
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
Vincent Hennebert [Tue, 22 Sep 2009 11:49:06 +0000 (11:49 +0000)]
Factorized into a new class the parsing of the reduced FO tree, that was duplicated in IFSerializer and PDFDocumentHandler.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@817617
13f79535 -47bb-0310-9956-
ffa450edef68
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
Vincent Hennebert [Fri, 18 Sep 2009 17:10:42 +0000 (17:10 +0000)]
Merged changes from Trunk up to revision 816269
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@816718
13f79535 -47bb-0310-9956-
ffa450edef68
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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