aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache
Commit message (Collapse)AuthorAgeFilesLines
* Replaced @asf.todo with normal TODO commentVincent Hennebert2010-08-2720-22/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@990148 13f79535-47bb-0310-9956-ffa450edef68
* Fixed indentationVincent Hennebert2010-08-2724-179/+179
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@990144 13f79535-47bb-0310-9956-ffa450edef68
* Removed old Renderer implementations for AFP, PCL, PDF, PS.Vincent Hennebert2010-08-2535-6530/+45
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@989178 13f79535-47bb-0310-9956-ffa450edef68
* Enabling CMYK encoding for PDF output (applies to decoded bitmap images).Jeremias Maerki2010-08-201-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@987448 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix:Jeremias Maerki2010-08-201-8/+11
| | | | | | | Bitmaps generated by Batik (ex. for filter effects) were not generated at the right resolution if the SVG is scaled inside XSL-FO. Using better resolution for the intrinsic size to avoid small scaling errors. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@987423 13f79535-47bb-0310-9956-ffa450edef68
* 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-185-7/+6
| | | | 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-172-26/+18
| | | | | | 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-156-108/+261
| | | | | | | | | 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-1464-294/+205
| | | | | | | | | 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-14378-1693/+3602
| | | | | | | | | | | | | | 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-0317-42/+798
| | | | | | | | | 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
* 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
* 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
* 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-1210-88/+144
| | | | | | | | | - 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
* 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
* recent change to cache CharacterSet exposed multi threading issueChris Bowditch2010-04-211-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@936447 13f79535-47bb-0310-9956-ffa450edef68
* cache AFP Fonts in a similar manner to LazyFont class for TrueType fonts. ↵Chris Bowditch2010-04-141-13/+42
| | | | | | This boosts performance when rendering a large batch of AFP documents in the same JVM git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@933990 13f79535-47bb-0310-9956-ffa450edef68
* Added getEventKey method to Event so that it's no longer necessary to store ↵Vincent Hennebert2010-04-0919-105/+121
| | | | | | the whole event ID (fully qualified interface name) in message files git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@932519 13f79535-47bb-0310-9956-ffa450edef68
* Now that the creation of event-model.xml has been standardised, the ↵Vincent Hennebert2010-04-0919-305/+42
| | | | | | | | | | EventModelFactory mechanism is no longer needed. Removed all the factory classes. Registration through META-INF/services also is no longer necessary. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@932510 13f79535-47bb-0310-9956-ffa450edef68
* Moved ResourceEventProducer to org.apache.fopVincent Hennebert2010-04-0919-49/+51
| | | | | | | | Renamed event model used by FOPTestEventModelFactory to "event-model.xml" git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@932497 13f79535-47bb-0310-9956-ffa450edef68
* Split catch-all EventFormatter.xml message file into individual files for ↵Vincent Hennebert2010-04-0923-189/+455
| | | | | | | | | | each EventProducer. There is no longer a default EventModelFactory Added test case for font event git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@932481 13f79535-47bb-0310-9956-ffa450edef68
* Bumped xmlgraphics-commons.jar.Jeremias Maerki2010-03-183-10/+36
| | | | | | | | Added configuration option to tweak the image loader framework. See also: http://svn.apache.org/viewvc?rev=924666&view=rev git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@924860 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: NPE when there is a forced break before a table occurring at an IPD ↵Vincent Hennebert2010-03-151-0/+18
| | | | | | change git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@923380 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: definition of a special page-master for the last page was ↵Vincent Hennebert2010-02-231-1/+1
| | | | | | interfering with changing IPD code git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@915406 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #48512:Jeremias Maerki2010-02-162-9/+77
| | | | | | | Reverted rev 908543. For some Type 1 fonts, the encoding mapped characters in the AFM file don't match the font's primary encoding. This change tries to address this fact. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@910445 13f79535-47bb-0310-9956-ffa450edef68