aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org
Commit message (Collapse)AuthorAgeFilesLines
* Merge from Trunk revisions 731480 - 735028.Jeremias Maerki2009-01-1620-124/+494
|\ | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@735038 13f79535-47bb-0310-9956-ffa450edef68
| * Removed duplicated extension attachment list on PageViewport (which is an ↵Jeremias Maerki2009-01-162-39/+35
| | | | | | | | | | | | AreaTreeObject subclass and therefore already has that list). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@735026 13f79535-47bb-0310-9956-ffa450edef68
| * Bugfix: Weave included page segments into the object sequence instead of ↵Jeremias Maerki2009-01-163-18/+1
| | | | | | | | | | | | inserting them at the beginning. Otherwise they can be overpainted by marks that would otherwise lay under the page segment. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@735025 13f79535-47bb-0310-9956-ffa450edef68
| * Added in support for subtractive mode in 1-bit images. This should further ↵Jeremias Maerki2009-01-156-8/+77
| | | | | | | | | | | | | | | | reduce AFP file sizes for certain images. We need to change the way the AFP library works in the long term. Adding one boolean flag causes changes in 5 different classes. That can't be it. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@734754 13f79535-47bb-0310-9956-ffa450edef68
| * Extracted some bitmap handling functions from the PCL implementation into ↵Jeremias Maerki2009-01-153-56/+253
| | | | | | | | | | | | | | | | | | | | | | new BitmapImageUtil class. Added limited support for more efficient image encoding in AFP. Where possible the raw image data from the RenderedImage is used. Limitations include: - missing support for color lookup tables (IndexColorModel) - monochrome images: additive/subtractive flag is not supported by the AFP library, yet. Images with fewer bits per pixel than specified in the configuration are no longer blown up to 4, 8 or even 24 bits. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@734737 13f79535-47bb-0310-9956-ffa450edef68
| * Better class description.Jeremias Maerki2009-01-091-1/+1
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@733024 13f79535-47bb-0310-9956-ffa450edef68
| * Added missing license header.Jeremias Maerki2009-01-091-0/+19
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@733021 13f79535-47bb-0310-9956-ffa450edef68
| * Removed code that doesn't have any effect.Jeremias Maerki2009-01-081-6/+1
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@732631 13f79535-47bb-0310-9956-ffa450edef68
| * Give javadoc utility some more memory to avoid OutOfMemoryErrors.Jeremias Maerki2009-01-075-0/+115
| | | | | | | | | | | | | | Some additional package description and better package grouping. Handle @event.severity tag. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@732274 13f79535-47bb-0310-9956-ffa450edef68
* | Added support for the AFP Extensions.Jeremias Maerki2009-01-162-11/+78
| | | | | | | | | | | | | | Added default font setup. Added a last-resort font selection fallback for cases where an IF file was not created with the right font set. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@735028 13f79535-47bb-0310-9956-ffa450edef68
* | Added support for fixed-width spaces.Jeremias Maerki2009-01-137-63/+98
| | | | | | | | | | | | Better handling of unmappable characters. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@734105 13f79535-47bb-0310-9956-ffa450edef68
* | Added clipping support.Jeremias Maerki2009-01-131-1/+2
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@734062 13f79535-47bb-0310-9956-ffa450edef68
* | Added border and leader painting for the AFPPainter.Jeremias Maerki2009-01-121-11/+72
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@733787 13f79535-47bb-0310-9956-ffa450edef68
* | Fixed assert statement.Jeremias Maerki2009-01-121-1/+1
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@733781 13f79535-47bb-0310-9956-ffa450edef68
* | Fixed bitmap image placement in SVG.Jeremias Maerki2009-01-121-2/+6
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@733746 13f79535-47bb-0310-9956-ffa450edef68
* | Restrict XML-formats to SVG to stream-line the image loading/conversion process.Jeremias Maerki2009-01-122-2/+6
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@733745 13f79535-47bb-0310-9956-ffa450edef68
* | Disabling native formats as long as the configuration doesn't enable/disable ↵Jeremias Maerki2009-01-121-3/+4
| | | | | | | | | | | | them (open item for later). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@733742 13f79535-47bb-0310-9956-ffa450edef68
* | Started new IF implementation for AFP (incomplete, supporting filled rects, ↵Jeremias Maerki2009-01-1128-634/+2161
| | | | | | | | | | | | | | | | | | text and images). Work in progress! Moved PTOCA (presentation text) command sequence production into the new "ptoca" package. The PtocaBuilder class allows more flexible command sequence production than if you have to pass in an "info object". git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@733456 13f79535-47bb-0310-9956-ffa450edef68
* | Added general support for the fox:conversion-mode inside the new IF.Jeremias Maerki2009-01-1114-61/+113
| | | | | | | | | | | | | | Cleaned up usage of fox:conversion-mode foreign attribute. Plus additional cleanup. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@733455 13f79535-47bb-0310-9956-ffa450edef68
* | Added shortcut that avoids painting text using the native text handler if ↵Jeremias Maerki2009-01-111-6/+25
| | | | | | | | | | | | | | | | | | the Graphics2D passed in is not compatible (as with SVG filter operations). Avoid NPE when font size returns null. Do anchor evaluation before the getText() method as it returns null afterwards when the ACI's state has changed. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@733453 13f79535-47bb-0310-9956-ffa450edef68
* | Moved getPoint() method from DataStream to AFPPaintingState where it makes ↵Jeremias Maerki2009-01-112-22/+37
| | | | | | | | | | | | more sense. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@733451 13f79535-47bb-0310-9956-ffa450edef68
* | GOCA improvements:Jeremias Maerki2009-01-114-51/+98
| | | | | | | | | | | | | | | | | | Improved font size and line width calculation. Removed superfluous AFPGraphics2D.setFontInfo() method. Avoid ClassCastException inside SVG filter operations when not an AFPGraphics2D is passed in. Fixed line width state handling (it appears as if after a new segment the line width is reset. Found that out empirically. Didn't find the corresponding reference in the spec). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@733450 13f79535-47bb-0310-9956-ffa450edef68
* | Bugfix: remaining chunk of over-long text strings didn't get handled properly.Jeremias Maerki2009-01-061-4/+5
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@731869 13f79535-47bb-0310-9956-ffa450edef68
* | Merge from Trunk revisions 728026 - 731479.Jeremias Maerki2009-01-0519-56/+263
|\| | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@731480 13f79535-47bb-0310-9956-ffa450edef68
| * FOP now creates ToUnicode CMaps for single-byte fonts that don't use ↵Jeremias Maerki2009-01-058-31/+91
| | | | | | | | | | | | | | | | | | built-in encodings to help PDF text extractors interpreting characters. PDF CMaps now support single-byte characters. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@731479 13f79535-47bb-0310-9956-ffa450edef68
| * Added support for forcing single-byte encodings for TrueType fonts without ↵Jeremias Maerki2009-01-048-16/+146
| | | | | | | | | | | | | | | | creating an XML font metric file (see "encoding-mode" attribute on "font" element in updated documentation). See also Acrobat PDF merge performance problem on fop-users: http://markmail.org/message/dbbaaht4qshhqs3v git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@731248 13f79535-47bb-0310-9956-ffa450edef68
| * Bugzilla #45306:Jeremias Maerki2009-01-022-6/+8
| | | | | | | | | | | | Fixed fo:instream-foreign-object inside fo:marker. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@730764 13f79535-47bb-0310-9956-ffa450edef68
| * Bugzilla #45938: Jeremias Maerki2009-01-021-3/+18
| | | | | | | | | | | | Background image problems are now reported using events. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@730756 13f79535-47bb-0310-9956-ffa450edef68
* | Avoid ArrayOutOfBoundsException when text length is 0 (this can happen if ↵Jeremias Maerki2009-01-051-0/+3
| | | | | | | | | | | | you specify a soft hyphen as only content of a block, for example). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@731478 13f79535-47bb-0310-9956-ffa450edef68
* | Introduced IFContext to provide access to foreign attributes (as discussed ↵Jeremias Maerki2009-01-0224-125/+293
| | | | | | | | | | | | | | | | | | | | | | on fop-dev). Removed the foreign attributes map from the drawImage methods as a consequence. Added support for foreign attributes on the page (PCL's paper-source and duplex-mode extensions). Fixed a couple of bugs parsing the document navigation elements. Build-time test suite now runs through. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@730740 13f79535-47bb-0310-9956-ffa450edef68
* | Some PDF actions get pooled and therefore don't need to be registered.Jeremias Maerki2009-01-021-1/+4
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@730683 13f79535-47bb-0310-9956-ffa450edef68
* | Guard against invalid destinations.Jeremias Maerki2009-01-021-2/+8
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@730682 13f79535-47bb-0310-9956-ffa450edef68
* | Most of the PostScript extensions are implemented in PSPainter now (and tested).Jeremias Maerki2008-12-224-82/+175
| | | | | | | | | | | | Bugfix: IFSerializer wrote out the page name instead of the page-master-name for the page-master-name attribute. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@728737 13f79535-47bb-0310-9956-ffa450edef68
* | Fixed another spacing issue in IFRenderer.Jeremias Maerki2008-12-222-6/+7
| | | | | | | | | | | | Checks for spacing (kerning, letter-space and word-space combinations). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@728700 13f79535-47bb-0310-9956-ffa450edef68
* | Need to use xml:space="preserve" on text elements in IF and SVG output to ↵Jeremias Maerki2008-12-222-0/+4
| | | | | | | | | | | | avoid problems with editing those files in XML editors and rendering SVG text starting or ending with whitespace. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@728699 13f79535-47bb-0310-9956-ffa450edef68
* | Merge from Trunk revisions 724690 - 728025.Jeremias Maerki2008-12-1910-39/+87
|\| | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@728031 13f79535-47bb-0310-9956-ffa450edef68
| * Fixed painting bug introduced by rev 721430 (originally rev 672291 in AFP ↵Jeremias Maerki2008-12-191-5/+8
| | | | | | | | | | | | GOCA branch). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@728025 13f79535-47bb-0310-9956-ffa450edef68
| * Fixed black backgrounds occurring for transparent images in PCL output.Jeremias Maerki2008-12-161-0/+4
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@726998 13f79535-47bb-0310-9956-ffa450edef68
| * Bugzilla #46369:Chris Bowditch2008-12-109-34/+79
| | | | | | | | | | | | | | Restored support for AFP Extensions (TLE, NOP, Overlays and Page Segments) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@725308 13f79535-47bb-0310-9956-ffa450edef68
* | Borders and leaders/rules for the PostScript painter.Jeremias Maerki2008-12-197-220/+422
| | | | | | | | | | | | | | BorderPainter methods throw IOException (needed for PostScript). Some Javadocs. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@727986 13f79535-47bb-0310-9956-ffa450edef68
* | Added getUserAgent() to IFDocumentHandler (implemented by all ↵Jeremias Maerki2008-12-1719-292/+1289
| | | | | | | | | | | | | | | | | | | | | | | | | | implementations already). Full image support for PSPainter. PostScript output now uses the ImageHandler facility (IF and renderer) for both inline (ImageHandler interface) and form image production (PSImageHandler interface). No more hard-coded image flavor list. Resource optimization extended so images that are only used once are inlined to lower memory requirements in the PostScript VM. Added test cases using Commons' DSC parser to verify the new functionality. Added IFDocumentHandler override possibility in FOUserAgent (just like for FOEventHandler and Renderer). Subject support for PDF output. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@727405 13f79535-47bb-0310-9956-ffa450edef68
* | Fixed another little kerning bug.Jeremias Maerki2008-12-111-5/+11
| | | | | | | | | | | | Trim down dx array to the maximum size necessary. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@725738 13f79535-47bb-0310-9956-ffa450edef68
* | Added -ifin command-line option to use the intermediate format as input format.Jeremias Maerki2008-12-113-23/+168
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@725723 13f79535-47bb-0310-9956-ffa450edef68
* | Fixed parsing of document navigation namespace (its elements are no longer ↵Jeremias Maerki2008-12-113-176/+204
| | | | | | | | | | | | simple extension elements but get sent to a specific interface). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@725722 13f79535-47bb-0310-9956-ffa450edef68
* | My first attempt at implementing links was messed up. This second attempt ↵Jeremias Maerki2008-12-1114-321/+394
| | | | | | | | | | | | | | | | actually works. Optimized IF serialization a bit: only real changes in the IF state are serialized to the IF (makes smaller files and results in higher performance). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@725690 13f79535-47bb-0310-9956-ffa450edef68
* | Forgot to add link support. First version added now. Generalizing this for ↵Jeremias Maerki2008-12-0920-119/+860
| | | | | | | | | | | | | | | | | | the IF is not so easy it seems. Moved document navigation features (bookmarks, links, named destinations) into a separate handler interface that can be optionally implemented by document handler implementations. This will need a bit more work to be complete (parsing for document navigation from IF, cleanup in PDF library etc.). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@724932 13f79535-47bb-0310-9956-ffa450edef68
* | Merge from Trunk revisions 719662 - 724689.Jeremias Maerki2008-12-09290-8675/+21691
|\| | | | | | | | | | | Conflict for ImageHandler interface resolved by renaming Trunk's ImageHandler to ImageHandlerBase and extending the other ImageHandler from that. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@724729 13f79535-47bb-0310-9956-ffa450edef68
| * Bugzilla 46319:Andreas L. Delmelle2008-12-082-12/+36
| | | | | | | | | | | | | | | | | | Fixed a memory-leak in Marker.MarkerAttribute, where an instance was used as both key and value in a WeakHashMap, effectively neutralizing the benefit of using WeakReferences. Solved by extending PropertyCache to work for MarkerAttributes as well. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@724444 13f79535-47bb-0310-9956-ffa450edef68
| * Batik's DOMUtilities.deepCloneDocument() doesn't propagate the document URI ↵Jeremias Maerki2008-12-087-12/+30
| | | | | | | | | | | | which makes relative image URIs fail. Fixes one of our unit tests. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@724310 13f79535-47bb-0310-9956-ffa450edef68
| * Reverted accidental commit of unfinished change. Sorry about that.Jeremias Maerki2008-12-081-1/+0
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@724271 13f79535-47bb-0310-9956-ffa450edef68