aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* equals implementation violated spec -> replaced with new contentEquals functionMaximilian Berger2009-09-1512-72/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@815358 13f79535-47bb-0310-9956-ffa450edef68
* no page index requires no location to satisfy identity junit testMaximilian Berger2009-09-151-3/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@815346 13f79535-47bb-0310-9956-ffa450edef68
* removed possible null referenceMaximilian Berger2009-09-151-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@815330 13f79535-47bb-0310-9956-ffa450edef68
* non-functional stylistic fixesMaximilian Berger2009-09-151-15/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@815328 13f79535-47bb-0310-9956-ffa450edef68
* Add safeguards for getter not to return nullMaximilian Berger2009-09-151-11/+31
| | | | | | fixes an NPE with disfunctional links. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@815301 13f79535-47bb-0310-9956-ffa450edef68
* Moved the class UnicodeClasses to src/codegen/unicode, so that it isSimon Pepping2009-09-035-95/+277
| | | | | | | | | | | | 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
* There an easier way to throw exceptions from certain event otherwise not ↵Jeremias Maerki2009-09-031-1/+22
| | | | | | causing an exception. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@810792 13f79535-47bb-0310-9956-ffa450edef68
* Forgot to update status file in rev. 808157Vincent Hennebert2009-09-011-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@809988 13f79535-47bb-0310-9956-ffa450edef68
* Fixed Checkstyle warnings and replaced a java 1.5 classSimon Pepping2009-08-263-14/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@808166 13f79535-47bb-0310-9956-ffa450edef68
* Merged back ChangingIPDHack branch into TrunkVincent Hennebert2009-08-2632-816/+1945
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@808157 13f79535-47bb-0310-9956-ffa450edef68
* Reverted changes made in revision 796809 (manual merge of clean-up changes ↵Vincent Hennebert2009-08-2616-343/+807
| | | | | | 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
* Fixed some oversights: fo:title was already implemented long ago, fo:wrapper ↵Andreas L. Delmelle2009-08-261-6/+6
| | | | | | works correctly as of trunk. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@808081 13f79535-47bb-0310-9956-ffa450edef68
* declaration and icc-profile have been supported for a while nowMaximilian Berger2009-08-251-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@807547 13f79535-47bb-0310-9956-ffa450edef68
* Removed a commented leftover from local testsAndreas L. Delmelle2009-08-241-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@807301 13f79535-47bb-0310-9956-ffa450edef68
* Reduce messages to DEBUG level, since they are meant more as a reminder for ↵Andreas L. Delmelle2009-08-241-2/+2
| | | | | | 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
* Bugzilla 46905: Added basic implementation for column-level keeps. Andreas L. Delmelle2009-08-2337-502/+1008
| | | | | | | | 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
* Bugzilla 46883: fixed a hotspot in the AFP renderer. Reduced time spent in ↵Andreas L. Delmelle2009-08-232-9/+14
| | | | | | 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
* Revert some changes that were meant to be kept local for the moment...Andreas L. Delmelle2009-08-201-4/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@806365 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 47710: White-space handling in retrieved markers throws a ↵Andreas L. Delmelle2009-08-204-2/+101
| | | | | | NullPointerException in some cases. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@806361 13f79535-47bb-0310-9956-ffa450edef68
* Fixed checkstyle warningsSimon Pepping2009-08-201-15/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@806341 13f79535-47bb-0310-9956-ffa450edef68
* I tried to remove all methods which are not Java 1.4 compliant.Simon Pepping2009-08-201-14/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@806291 13f79535-47bb-0310-9956-ffa450edef68
* Prepare for new hyphenation pattern files, which do not have their own ↵Simon Pepping2009-08-187-201/+8181
| | | | | | 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
* bug fix: 47694 Avoid create IOCA for background on empty areasChris Bowditch2009-08-142-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@804268 13f79535-47bb-0310-9956-ffa450edef68
* Added tests for 2, 3, 4 values specified in the page boundaries properties.Vincent Hennebert2009-08-141-1/+51
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@804159 13f79535-47bb-0310-9956-ffa450edef68
* Renamed PageScaleAttributes class into PageScale.Vincent Hennebert2009-08-125-30/+44
| | | | | | | | | | | 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
* Fixed issues in PageBoundaries class:Vincent Hennebert2009-08-105-169/+243
| | | | | | | | | | | | | - 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
* Fixed and improved documentation about prepress extensions:Vincent Hennebert2009-08-051-15/+21
| | | | | | | | - 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
* added support for IMM Extension on fo:simple-page-master element in the AFP ↵Chris Bowditch2009-08-045-32/+81
| | | | | | Renderer git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@800852 13f79535-47bb-0310-9956-ffa450edef68
* Added ability to create single-page SVG 1.1 using a DOMResult or SAXResult.Jeremias Maerki2009-08-041-42/+39
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@800697 13f79535-47bb-0310-9956-ffa450edef68
* What we thought were cubic curves in GOCA, were actually just quadratic ↵Jeremias Maerki2009-08-042-8/+150
| | | | | | 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
* Bugzilla #47311:Jeremias Maerki2009-08-035-149/+174
| | | | | | | | 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
* The javadocs task needs more memory.Vincent Hennebert2009-08-031-1/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@800312 13f79535-47bb-0310-9956-ffa450edef68
* Fixed problem with raster font substitution when there's no smaller font ↵Jeremias Maerki2009-08-031-3/+7
| | | | | | available. This avoids an exception. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@800229 13f79535-47bb-0310-9956-ffa450edef68
* Reverted rev 798521.Jeremias Maerki2009-08-032-16/+15
| | | | | | 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
* Demo file for bleed and crop marks.Jeremias Maerki2009-08-021-0/+155
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@800143 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #47311:Jeremias Maerki2009-08-0210-21/+602
| | | | | | | | | | | | | | | | 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
* Reverted changes in rev 797899 (but xgc.jar updated rather than reverted)Jeremias Maerki2009-08-023-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@800133 13f79535-47bb-0310-9956-ffa450edef68
* Also use Rectangle instead of Rectangle2D for page boxes in the PDF libraryVincent Hennebert2009-07-282-15/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@798521 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #47311:Jeremias Maerki2009-07-288-63/+92
| | | | | | | | | | | | | | 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
* AFPEventProducer was moved months ago but this file not adjusted. That cause ↵Jeremias Maerki2009-07-281-1/+1
| | | | | | 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
* PCL Output: Added support for specifying the output bin (pcl:output-bin ↵Jeremias Maerki2009-07-286-0/+54
| | | | | | 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
* Added A5 format.Jeremias Maerki2009-07-281-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@798415 13f79535-47bb-0310-9956-ffa450edef68
* Added support for AFP font embedding. Note: this changes the default ↵Jeremias Maerki2009-07-2721-76/+454
| | | | | | | | | | 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
* Fixes GUMP build problems, the automated e-mail was starting to annoy so I ↵Adrian Cumiskey2009-07-263-2/+2
| | | | | | | | | | 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
* Bugfix: if an incomplete GoTo action has already been recorded for a given ↵Vincent Hennebert2009-07-231-7/+12
| | | | | | 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
* Merged clean-up-only changes made in the ChangingIPDHack branch. Those ↵Vincent Hennebert2009-07-2216-807/+344
| | | | | | | | | | | | | | 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
* Bugzilla 47508: Fix error while writing TLE's attribute qualifier in the ↵Andreas L. Delmelle2009-07-102-2/+5
| | | | | | output. Thanks to Bharat Attaluri. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@793095 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: support justified text in AFP Renderer (already working in AFP Painter)Chris Bowditch2009-07-104-9/+105
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@792873 13f79535-47bb-0310-9956-ffa450edef68
* Modified XG Commons JAR to include bugfix in ↵Andreas L. Delmelle2009-07-101-0/+0
| | | | | | 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
* Undid change related to column-keepsAndreas L. Delmelle2009-07-091-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@792411 13f79535-47bb-0310-9956-ffa450edef68