aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop
Commit message (Collapse)AuthorAgeFilesLines
* Application of the patch submitted by Alexander Kiel to improve variable ↵Adrian Cumiskey2009-10-1521-216/+227
| | | | | | 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
* Documented with generics comments.Adrian Cumiskey2009-10-151-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@825566 13f79535-47bb-0310-9956-ffa450edef68
* Removed svn:executable propertyVincent Hennebert2009-10-1316-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@824686 13f79535-47bb-0310-9956-ffa450edef68
* Fixed handling of percentage values for provisional-label-separationVincent Hennebert2009-10-131-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@824682 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 47835: fixed handling of percentage values for ↵Vincent Hennebert2009-10-131-0/+1
| | | | | | 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
* add support for positioning Page Overlay in AFP Renderer/PainterChris Bowditch2009-10-126-15/+233
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@824249 13f79535-47bb-0310-9956-ffa450edef68
* Allow "-if [mime] out" as for "-at".Jeremias Maerki2009-10-071-20/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@822753 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #47953:Jeremias Maerki2009-10-071-1/+1
| | | | | | 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
* Fixed possible NPE.Jeremias Maerki2009-10-021-7/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@821064 13f79535-47bb-0310-9956-ffa450edef68
* Added support for specifying referenced fonts per renderer in addition to ↵Jeremias Maerki2009-10-024-24/+71
| | | | | | 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
* Added support for creating thumbnails or preview bitmaps of fixed size for ↵Jeremias Maerki2009-10-022-8/+67
| | | | | | | | 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
* Javadocs: Removed all <tt> occurrences with <code> or {@link}.Jeremias Maerki2009-10-0118-79/+79
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@820689 13f79535-47bb-0310-9956-ffa450edef68
* Some javadoc fixes: @code -> @linkJeremias Maerki2009-10-0143-75/+87
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@820672 13f79535-47bb-0310-9956-ffa450edef68
* Added a DocumentHandler implementation for PNG output including multi-file ↵Jeremias Maerki2009-10-018-314/+555
| | | | | | output support. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@820637 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #46883:Jeremias Maerki2009-09-281-10/+9
| | | | | | 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
* Attach cause to RuntimeException when available. Otherwise, the original ↵Jeremias Maerki2009-09-261-1/+15
| | | | | | 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
* Added Testcase from Bug #47872 (thanks to alex kiel) and fixed it in FontLoaderMaximilian Berger2009-09-241-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@818424 13f79535-47bb-0310-9956-ffa450edef68
* Added support for the #CMYK pseudo-profile supported by some commercial XSL ↵Jeremias Maerki2009-09-164-29/+88
| | | | | | implementations on the rgb-icc() function. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@815938 13f79535-47bb-0310-9956-ffa450edef68
* Fixed SVN PropsMaximilian Berger2009-09-1545-67/+67
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@815383 13f79535-47bb-0310-9956-ffa450edef68
* 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-032-354/+24
| | | | | | | | | | | | 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
* 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-2626-816/+1338
| | | | 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
* 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-2330-494/+777
| | | | | | | | 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-231-9/+10
| | | | | | 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-202-1/+19
| | | | | | 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-185-190/+8137
| | | | | | 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-141-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@804268 13f79535-47bb-0310-9956-ffa450edef68
* Renamed PageScaleAttributes class into PageScale.Vincent Hennebert2009-08-124-26/+38
| | | | | | | | | | | 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-101-26/+36
| | | | | | | | | | | | | - 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
* added support for IMM Extension on fo:simple-page-master element in the AFP ↵Chris Bowditch2009-08-043-28/+74
| | | | | | Renderer git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@800852 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-034-117/+130
| | | | | | | | 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
* 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
* Bugzilla #47311:Jeremias Maerki2009-08-026-20/+383
| | | | | | | | | | | | | | | | 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-022-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
* PCL Output: Added support for specifying the output bin (pcl:output-bin ↵Jeremias Maerki2009-07-284-0/+29
| | | | | | 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