aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Bugfix for potential java.lang.IndexOutOfBoundsException in ↵Jeremias Maerki2010-08-181-3/+1
| | | | | | PDFDocument.outputTrailer(). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@986650 13f79535-47bb-0310-9956-ffa450edef68
* Implemented reset methodVincent Hennebert2010-08-181-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@986624 13f79535-47bb-0310-9956-ffa450edef68
* Fixed javadoc, checkstyle and ant warningsSimon Pepping2010-08-186-8/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@986602 13f79535-47bb-0310-9956-ffa450edef68
* -delete-cache command line argument replaced with -flush. Seems like a more ↵Adrian Cumiskey2010-08-173-27/+20
| | | | | | common use case. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@986315 13f79535-47bb-0310-9956-ffa450edef68
* One closing parenthesis too much.Jeremias Maerki2010-08-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@986204 13f79535-47bb-0310-9956-ffa450edef68
* Resolved conflict (ClassCastException) with named destinations which in ↵Jeremias Maerki2010-08-174-39/+74
| | | | | | contrast to embedded files adds single objects (producing two values) to the kids array instead of a key/value pairs. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@986203 13f79535-47bb-0310-9956-ffa450edef68
* Improvements/Bugfixes for PDF attachments (embedded files):Jeremias Maerki2010-08-1610-20/+226
| | | | | | | | | | | - Acrobat doesn't like indirect objects for the /Length entry of embedded files (make on-the-fly generation more easily configurable). - Added the /Size entry for embedded files to keep Acrobat happy. - Moved the embedded files' Names tree to the end of the PDF to be on the safe side. - Made hyperlinks to embedded files work by using a JavaScript Action (thanks to Matthias Reischenbacher for that idea). - Added sorting to the names tree node because Acrobat relies on it. - Added some filename manipulation code to work around possible encoding problems with special characters in the filenames. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@985843 13f79535-47bb-0310-9956-ffa450edef68
* Removed tab character.Jeremias Maerki2010-08-161-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@985829 13f79535-47bb-0310-9956-ffa450edef68
* Document exitsSimon Pepping2010-08-161-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@985806 13f79535-47bb-0310-9956-ffa450edef68
* FIX: The cache-file setting should still be set even if use-cache setting is ↵Adrian Cumiskey2010-08-151-5/+9
| | | | | | not provided (as it defaults to true). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@985703 13f79535-47bb-0310-9956-ffa450edef68
* Reinstated support for being able to specify a font cache filepath in the ↵Adrian Cumiskey2010-08-158-111/+265
| | | | | | | | | fop user configuration. Added convenience support for the deletion of the Fop font cache file from the command line. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@985700 13f79535-47bb-0310-9956-ffa450edef68
* Removed many "// CSOK: ConstantName" instances for constants, by converting ↵Jeremias Maerki2010-08-1465-301/+206
| | | | | | | | | them to uppercase as they should really be. Fixed some other non-Checkstyle issues on the way, imports mainly. Removed some "log" instances that were not used. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@985571 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #49733:Jeremias Maerki2010-08-14396-1964/+3841
| | | | | | | | | | | | | | Resolved compilation (safe one), Checkstyle and many Javadoc warnings. Submitted by: Glenn Adams <glenn.at.skynav.com> Changes to patch: - Restored the deprecated Graphics2DAdapter method (to be removed after Barcode4J 2.1 is released). - Restored Renderer.startPageSequence(LineArea) pending discussion about removal. - build.xml: set max VM to 1024MB instead of 2048MB to allow for 32-bit JVMs. - build.xml: restored longer taskdef names. - Restored Checkstyle 4 file for people running older IDEs. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@985537 13f79535-47bb-0310-9956-ffa450edef68
* Removed a bunch of javadoc warnings in addition to patch 49733Simon Pepping2010-08-1324-71/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@985227 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #44460:Jeremias Maerki2010-08-0319-67/+868
| | | | | | | | | Added support for PDF file attachments (embedded files) including basic-link support to reference them. Based on work submitted by: Andrejus Chaliapinas <a.chaliapinas.at.infosana.com> I've changed and improved his patch extensively and added some documentation. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@981875 13f79535-47bb-0310-9956-ffa450edef68
* FOP v1.0 and trunk do support Tagged PDFChris Bowditch2010-07-262-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@979214 13f79535-47bb-0310-9956-ffa450edef68
* Edited the front page for version 1.0. Added this task to the releaseSimon Pepping2010-07-233-53/+70
| | | | | | | check list. Some technical fixes to compliance. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@967072 13f79535-47bb-0310-9956-ffa450edef68
* More detail, sorry for the noise.Adrian Cumiskey2010-07-211-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@966320 13f79535-47bb-0310-9956-ffa450edef68
* Updated my details.Adrian Cumiskey2010-07-211-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@966317 13f79535-47bb-0310-9956-ffa450edef68
* Insert 21 July 2010 as the release dateSimon Pepping2010-07-214-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@966108 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix of bugfix for escaped PDF names.Jeremias Maerki2010-07-191-3/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@965390 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: "/" must be escaped in names.Jeremias Maerki2010-07-191-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@965357 13f79535-47bb-0310-9956-ffa450edef68
* Merging branches/fop-1_0 back into trunkSimon Pepping2010-07-1648-3180/+3975
|\ | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@964711 13f79535-47bb-0310-9956-ffa450edef68
| * Changes to the documentation, partly needed for the new release,Simon Pepping2010-07-0745-2330/+3836
| | | | | | | | | | | | | | partly updates to outdated information git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-1_0@961399 13f79535-47bb-0310-9956-ffa450edef68
| * XSL-FO mentions both XML 1.0 and XML 1.1.Jeremias Maerki2010-07-051-1/+1
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-1_0@960641 13f79535-47bb-0310-9956-ffa450edef68
| * First changes for the release, mainly documentation changesSimon Pepping2010-07-055-850/+139
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-1_0@960618 13f79535-47bb-0310-9956-ffa450edef68
* | Log exception if available to make error localization easier.Jeremias Maerki2010-07-151-2/+10
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@964320 13f79535-47bb-0310-9956-ffa450edef68
* | Added ImageElementBridge to ImageConverterSVG2G2D so output formats like ↵Jeremias Maerki2010-07-153-2/+181
|/ | | | | | | | Java2D (PNG, TIFF) and PCL can load image formats other than just PNG and JPEG from SVG. This also represents a work-around for certain JPEG images that cannot be loaded properly with the Sun JPEG codec embedded in the JDK. With this, JPEGs are loaded via ImageIO. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@964316 13f79535-47bb-0310-9956-ffa450edef68
* Restored ColorExt after removing it from XML Graphics Commons again.Jeremias Maerki2010-07-026-12/+325
| | | | | | Moved GrayScaleColorConverter as a package-local class from XGC to the AFP package (doesn't require deprecation when we can put the functionality in XGC later with the new color infrastructure). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@959945 13f79535-47bb-0310-9956-ffa450edef68
* Minor refactoring and style fixups:Andreas L. Delmelle2010-06-191-121/+102
| | | | | | | | | | | | | | - private lineLayoutsList can be a primitive array - eliminate some stray hungarians (inconsistent btw: iFirstIndex, but nEliminableLines...) - inverted principal loop in createLineBreaks(), to make debugging less confusing (and preparation for partial fix of Bug 38264) - compacted some boolean expressions ( (x ? true : false) -> plain x ) - removed some commented code - extracted some code into processUpdates; findHyphenationPoints was getting too long - minor javadoc fixups git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@956271 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #48871:Pascal Sancho2010-06-181-1/+1
| | | | | | Bugfix: Faq entry update (metadata) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@955949 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #78887:Pascal Sancho2010-06-181-108/+108
| | | | | | Bugfix: documentation update according to javadoc in Trunk tab > Embed git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@955927 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #49172:Pascal Sancho2010-06-181-2/+2
| | | | | | patch applied: corrections in Dev > Extensions page; thanks to Gerald Buchgraber git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@955915 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #46565:Pascal Sancho2010-06-181-3/+4
| | | | | | Bugfix: fo:bookmark conformance is partial. Thanks to Mario Madunic for pointing that. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@955899 13f79535-47bb-0310-9956-ffa450edef68
* Fop WebSite: update commandline usage help (in Trunk tab > Using FOP > Run)Pascal Sancho2010-06-181-86/+98
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@955884 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: PDF/A-1a mode was not properly reported.Jeremias Maerki2010-06-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@955560 13f79535-47bb-0310-9956-ffa450edef68
* Put the /Resources reference directly into the underlying dictionary and ↵Jeremias Maerki2010-06-151-3/+3
| | | | | | handle null cases since /Resources is optional on a Form XObject. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@954765 13f79535-47bb-0310-9956-ffa450edef68
* Color-related classes were moved to the org.apache.xmlgraphics.java2d.color ↵Jeremias Maerki2010-06-145-13/+13
| | | | | | | | package. Updated XML Graphics Commons Snapshot. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@954512 13f79535-47bb-0310-9956-ffa450edef68
* AFP Output Changes:Jeremias Maerki2010-06-1211-93/+162
| | | | | | | | | - Fixed positioning of Java2D-based images (when GOCA is enabled). GraphicsDataDescriptor had a bit order bug. The Graphics2D image handler didn't save state and reposition the image origin. - Switched bitmap image handling in AFPGraphics2D to (re-)use AFPImageHandlerRenderedImage so it can profit from it's advanced image conversion functionality. This also avoids some bugs with certain image formats. - Added enhanced dithering functionality for images that need to be converted to bi-level images. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@953952 13f79535-47bb-0310-9956-ffa450edef68
* AFP Output: Fix for bitmap images inside an SVG or G2D graphic (printer ↵Jeremias Maerki2010-06-111-18/+9
| | | | | | errors) and positioning fix for bitmaps from G2D graphics. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@953684 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #42306:Jeremias Maerki2010-06-084-3/+175
| | | | | | | | | | | Fix for AWT viewer to correctly track page numbers in continuous display mode. Submitted by: Richard Wheeldon <richardw@geoquip-rnd.demon.co.uk> Modifications to original patch: - Small adjustments for out code conventions. - Added some missing Javadocs. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@952770 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix for formatting of floating point numbers which could lead to invalid ↵Jeremias Maerki2010-06-041-1/+1
| | | | | | PDFs. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@951333 13f79535-47bb-0310-9956-ffa450edef68
* Big encoding performance improvement for bi-level images which do not have ↵Jeremias Maerki2010-05-271-5/+60
| | | | | | the right bit order. Apparently, setting the subtractive option doesn't help with inverting a bi-level FS10 image. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@948959 13f79535-47bb-0310-9956-ffa450edef68
* Removing outdated documentationSimon Pepping2010-05-2519-8912/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@947984 13f79535-47bb-0310-9956-ffa450edef68
* Missed a parameter change for an overridden method. (Additional change for ↵Jeremias Maerki2010-05-201-1/+1
| | | | | | revision 946539) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@946637 13f79535-47bb-0310-9956-ffa450edef68
* Changed many variables and parameters from "int" to "char" because AFP font ↵Jeremias Maerki2010-05-208-38/+54
| | | | | | support mostly uses Unicode code points unlike Type 1 and TrueType support which use internal character code points (the result of Font.mapChar()). This should improve code readability. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@946585 13f79535-47bb-0310-9956-ffa450edef68
* Bring error handling more in line with general recommendations and provide ↵Jeremias Maerki2010-05-202-25/+35
| | | | | | better error messages. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@946539 13f79535-47bb-0310-9956-ffa450edef68
* Don't fail on AFM just because it has a Start/EndTrackKern section. Log a ↵Jeremias Maerki2010-05-171-3/+11
| | | | | | warning instead of throwing an exception when an unimplemented feature is found. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@945098 13f79535-47bb-0310-9956-ffa450edef68
* Added a save/restoreGraphicsState pair for the initial coordinate system in ↵Jeremias Maerki2010-04-263-5/+8
| | | | | | PDF output for easier post-processing. The missing q/Q pair caused content to be upside-down when simply a new content stream is appended to the page. With this change the initial coordinate system is restored after FOP's stream is finished. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@938005 13f79535-47bb-0310-9956-ffa450edef68
* Improved painting of double rules a bit, fixing a bug causing the message: ↵Jeremias Maerki2010-04-232-4/+28
| | | | | | "Invalid axis rule: unable to draw line" git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@937315 13f79535-47bb-0310-9956-ffa450edef68