aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/afp
Commit message (Collapse)AuthorAgeFilesLines
* Removed many "// CSOK: ConstantName" instances for constants, by converting ↵Jeremias Maerki2010-08-1418-65/+50
| | | | | | | | | 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-1446-129/+267
| | | | | | | | | | | | | | 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-133-3/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@985227 13f79535-47bb-0310-9956-ffa450edef68
* Restored ColorExt after removing it from XML Graphics Commons again.Jeremias Maerki2010-07-022-1/+61
| | | | | | 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
* Color-related classes were moved to the org.apache.xmlgraphics.java2d.color ↵Jeremias Maerki2010-06-142-4/+4
| | | | | | | | 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-123-85/+49
| | | | | | | | | - 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
* 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-201-17/+7
| | | | | | better error messages. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@946539 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-091-4/+4
| | | | | | 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-091-12/+0
| | | | | | | | | | 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
* Bugzilla #48696:Jeremias Maerki2010-02-101-1/+1
| | | | | | | Bugfix for color model in IOCA IDE structure parameter for 4- and 8-bit grayscale images. Submitted by: Peter Hancock <peter.hancock.at.gmail.com> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@908394 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #48567:Jeremias Maerki2010-01-217-251/+551
| | | | | | | | | | | | | | Initial support for CID-keyed double-byte fonts (Type 0) in AFP output. Submitted by: Peter Hancock <peter.hancock.at.gmail.com> Patch modified by jeremias: - as discussed: removed fallback character code - as discussed: changed "double-byte" to "CIDKeyed" for the font type. - some cosmetic changes - removed some dead code and commented code. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@901793 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #48237:Chris Bowditch2010-01-084-65/+125
| | | | | | | | AFP Renderer does not respect image color settings for svg Submitted by: Peter Hancock <peter.hancock.at.gmail.com> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@897221 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: 48456 AFP Renderer: Underline is incorrectly placed when ↵Chris Bowditch2009-12-291-1/+1
| | | | | | reference-orientation != 0 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@894416 13f79535-47bb-0310-9956-ffa450edef68
* bug with previous commit when rotating by 270Chris Bowditch2009-12-291-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@894384 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: 48453 AFP Renderer: Page Segments not positioned correctly when ↵Chris Bowditch2009-12-291-7/+11
| | | | | | reference-orientation != 0 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@894350 13f79535-47bb-0310-9956-ffa450edef68
* bug fix: 48290 AFP Renderer: AttributeQualifier Triplet occurs before TLE Value Chris Bowditch2009-11-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@884526 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #48048:Jeremias Maerki2009-11-251-2/+2
| | | | | | | Bugfix in AFP output: fixed flags in GOCA GBAR order. Submitted by: d.w. harks <dave.at.dwink.net> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@884129 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #48185: rounding error when computing the CMYK components of a ↵Vincent Hennebert2009-11-231-1/+1
| | | | | | | | | color, in the AFP output. Patch submitted by Harald G. Henne (initially in Bugzilla #48167) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@883314 13f79535-47bb-0310-9956-ffa450edef68
* Added support for encoding CMYK bitmap images (IOCA FS45) and TIFF images as ↵Jeremias Maerki2009-10-238-68/+270
| | | | | | embedded objects. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@829057 13f79535-47bb-0310-9956-ffa450edef68
* Added missing license headers.Jeremias Maerki2009-10-233-5/+62
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@829021 13f79535-47bb-0310-9956-ffa450edef68
* Fixes https://issues.apache.org/bugzilla/show_bug.cgi?id=47941Adrian Cumiskey2009-10-228-152/+232
| | | | | | | | | Created Triplet interface. Created new AttributeValueTriplet and AttributeQualifierTriplet. Promoted truncate() from GraphicsCharacterString to AbstractAFPObject so it can be reused for AttributeValueTriplet. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@828678 13f79535-47bb-0310-9956-ffa450edef68
* add support for positioning Page Overlay in AFP Renderer/PainterChris Bowditch2009-10-121-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@824249 13f79535-47bb-0310-9956-ffa450edef68
* Javadocs: Removed all <tt> occurrences with <code> or {@link}.Jeremias Maerki2009-10-013-5/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@820689 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
* Fixed SVN PropsMaximilian Berger2009-09-1536-36/+36
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@815383 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
* 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
* 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
* 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 changes in rev 797899 (but xgc.jar updated rather than reverted)Jeremias Maerki2009-08-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@800133 13f79535-47bb-0310-9956-ffa450edef68
* Added support for AFP font embedding. Note: this changes the default ↵Jeremias Maerki2009-07-276-23/+90
| | | | | | | | | | 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-261-1/+1
| | | | | | | | | | 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
* Bugzilla 47508: Fix error while writing TLE's attribute qualifier in the ↵Andreas L. Delmelle2009-07-101-2/+2
| | | | | | 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-102-8/+98
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@792873 13f79535-47bb-0310-9956-ffa450edef68
* bug fix: fractional points sizes in AFP not working correctly together with ↵Chris Bowditch2009-07-076-50/+157
| | | | | | fo:inline git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@791781 13f79535-47bb-0310-9956-ffa450edef68
* No code change here, just fixing the indentation of the if (useInclude) ↵Adrian Cumiskey2009-06-191-29/+28
| | | | | | block that somehow got messed up by a previous commit/merge (http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/afp/AFPResourceManager.java?revision=746664&view=markup). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@786453 13f79535-47bb-0310-9956-ffa450edef68
* Correct wrongly encoded characterAndreas L. Delmelle2009-06-151-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@784924 13f79535-47bb-0310-9956-ffa450edef68
* AFP Output: Add support for fractional font-sizes, and make sure that, for ↵Andreas L. Delmelle2009-06-061-39/+55
| | | | | | non-registered sizes, the substitution will always map to the smaller size if there is also a larger one available git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@782289 13f79535-47bb-0310-9956-ffa450edef68
* Added setting to enable dithered painting of filled rectangles in AFP and PCL.Vincent Hennebert2009-04-285-10/+147
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@769445 13f79535-47bb-0310-9956-ffa450edef68
* Added support for CMYK colors in PTOCAVincent Hennebert2009-04-281-13/+33
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@769437 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: take rotation into account also when resource level is not inlineVincent Hennebert2009-04-281-3/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@769436 13f79535-47bb-0310-9956-ffa450edef68
* In the AFP stream, put the TLE fields associated to a page sequence before ↵Vincent Hennebert2009-04-243-18/+29
| | | | | | the Page elements instead of after git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@768321 13f79535-47bb-0310-9956-ffa450edef68
* Added full URI resolution support for AFP fonts.Jeremias Maerki2009-03-107-115/+129
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@752133 13f79535-47bb-0310-9956-ffa450edef68
* Restored compatibility with Java VMs that don't support nio Charsets for ↵Jeremias Maerki2009-03-091-10/+34
| | | | | | codepages such as Cp500 (EBCDIC). The simplifications for the fallback case may look wrong but the code basically represents the state before revision 746664 which introduced this problem. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@751613 13f79535-47bb-0310-9956-ffa450edef68