aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Added a flush() call in the resource handler to make sure unwritten content ↵Jeremias Maerki2009-02-091-0/+1
| | | | | | is flushed (not a bugfix but a precaution for an experiment I've done). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@742348 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: restored support for characters not in a font's standard encoding ↵Jeremias Maerki2009-02-092-3/+48
| | | | | | when PostScript is generated with resource optimization turned off. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@742346 13f79535-47bb-0310-9956-ffa450edef68
* AFP Output: Added a configuration option to override the resource level ↵Jeremias Maerki2009-02-0511-100/+313
| | | | | | defaults in the code. The chosen defaults in code may not always be the best. For example, a user reported that they can't use print-level images for some reason and it is not possible to switch on inlining for background images. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@741068 13f79535-47bb-0310-9956-ffa450edef68
* AFP: A note about deployment in older environments.Jeremias Maerki2009-02-041-0/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@740719 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #46638: MinOptMaxUtil.toMinOptMax was converting ↵Vincent Hennebert2009-01-301-9/+7
| | | | | | LengthRangeProperty objects into illegal MinOptMax objects (in some cases opt could be inferior to min). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@739376 13f79535-47bb-0310-9956-ffa450edef68
* Front page still mentions the beta.Jeremias Maerki2009-01-291-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@738774 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #46315: extension to disable column balancing before blocks ↵Vincent Hennebert2009-01-288-9/+71
| | | | | | | | | spanning the whole page, in multiple-column documents. Patch submitted by Georg Datterl, applied with some modifications (mainly Checkstyle issues) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@738514 13f79535-47bb-0310-9956-ffa450edef68
* Moved MonochromeBitmapConverter from PCL to utility package for later reuse ↵Jeremias Maerki2009-01-2825-172/+605
| | | | | | | | | | | | | | | | in AFP. Moved BitmapImageUtil to a subpackage under util. Added support for creating (hard) page segments for images when working in bi-level mode. Include Image Object (IOB) is a newer feature and not supported everywhere. Since page segments cannot be scaled, they have to be generated for each distinctive target size. Bugfix: Reduced maximum chunk sizes for GraphicsData and ImageObject to conform to interchange set 1. Bugfix: Removed PresentationSpaceResetMixingTriplet which is not allowed in interchange set 1. Bugfix: Removed invalid byte in IDE Structure Parameter. Added support for creating FS10 images for bi-level bitmaps for better interoperability. Disabled optional and unnecessary name in ImageSegment. This name is never referenced. Refactored environment groups a bit to avoid duplicate data structures due to subclassing. Added explicit MappingOptionTriplet for image scaling. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@738453 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 46567: fo:marker in fo:table-row produced a ValidationExceptionAndreas L. Delmelle2009-01-221-1/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@736813 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a small omission on the compliance page.Jeremias Maerki2009-01-182-2/+36
| | | | | | Added a dummy locationmap.xml to remove some errors in the Forrest log. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@735453 13f79535-47bb-0310-9956-ffa450edef68
* Removed duplicate entry introduced by revision 721430.Jeremias Maerki2009-01-181-5/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@735451 13f79535-47bb-0310-9956-ffa450edef68
* A bit of housekeeping:Jeremias Maerki2009-01-181-9/+6
| | | | | | | | | | - one site is infected with a Trojan horse - Assentis no longer supports FOP - removed dead links - added xmlroff to complete the list of open source implementations - PDFBox has migrated git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@735448 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
* The "upgrading" page for Trunk needed a bit of attention.Jeremias Maerki2009-01-091-12/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@733034 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
* Fixed typoVincent Hennebert2009-01-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@732299 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
* 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-0410-17/+165
| | | | | | | | 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
* 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
* 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
* Bugzilla #46360:Jeremias Maerki2008-12-071-1/+2
| | | | | | Fixed a multi-threading issue when rendering SVG. (Missed one) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@724164 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #46360:Jeremias Maerki2008-12-077-26/+67
| | | | | | Fixed a multi-threading issue when rendering SVG. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@724163 13f79535-47bb-0310-9956-ffa450edef68
* FopCharacterSet doesn't follow the same contract as its superclass. The ↵Jeremias Maerki2008-12-073-12/+9
| | | | | | metrics must not be multiplied by the font size in the FopCharacterSet class. Only RasterFont or OutlineFont should do that. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@724126 13f79535-47bb-0310-9956-ffa450edef68
* Avoid replacement notification if we're only checking the presence of a ↵Jeremias Maerki2008-12-051-4/+4
| | | | | | certain font. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@723689 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Custom AFP fonts reported bad metrics.Jeremias Maerki2008-12-052-11/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@723683 13f79535-47bb-0310-9956-ffa450edef68
* Oops, introduced a compile error with the previous commitAndreas L. Delmelle2008-12-021-10/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@722618 13f79535-47bb-0310-9956-ffa450edef68
* Minor changes; mostly code- and javadoc-aesthetics...Andreas L. Delmelle2008-12-021-220/+201
| | | | | | | | | | | Most notable: - made most member variables private (apart from objectCount, which is used by PDFFactory) - the number of fully qualified collection names warranted separate import statements - replaced a String concat with StringBuffer.append() - some javadoc nits, reduce space in single-line, add space in multi-line, added some @links ... git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@722613 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: there was no notification if no registered internal font can be ↵Jeremias Maerki2008-12-021-6/+13
| | | | | | found for a GVT font. Now, FontInfo will issue a substitution warning. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@722496 13f79535-47bb-0310-9956-ffa450edef68
* A note on missing glyphs.Jeremias Maerki2008-12-021-1/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@722474 13f79535-47bb-0310-9956-ffa450edef68
* Documented the hard-coded font triplets for the Base-14 set.Jeremias Maerki2008-12-021-0/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@722466 13f79535-47bb-0310-9956-ffa450edef68
* Improved documentation concerning text and SVG.Jeremias Maerki2008-12-012-5/+32
| | | | | | Updated SVG text example with result from FOP 0.95. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@722132 13f79535-47bb-0310-9956-ffa450edef68
* Reverting a change introduced by revision 721430 which breaks extensions ↵Jeremias Maerki2008-12-011-3/+4
| | | | | | causing a "NoSuchFieldError: foObjs". git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@722092 13f79535-47bb-0310-9956-ffa450edef68
* MERGE of ↵Adrian Cumiskey2008-11-28289-8431/+21505
|\ | | | | | | | | | | https://svn.apache.org/repos/asf/xmlgraphics/fop/{branches/AFP_GOCAResources,trunk}. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@721430 13f79535-47bb-0310-9956-ffa450edef68
| * * Text encoding is now handled by PresentationTextData and character set ↵Temp_AFPGOCAResourcesAdrian Cumiskey2008-11-2710-86/+120
| | | | | | | | | | | | | | | | | | encoding errors are now handled by AFPEventProducer. * Moved AFPEventProducer from org.apache.fop.render.afp package to org.apache.fop.afp package. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@721151 13f79535-47bb-0310-9956-ffa450edef68
| * Merged revisions 719616,719629,719646,719654 via svnmerge from Adrian Cumiskey2008-11-267-66/+205
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk ........ r719616 | jeremias | 2008-11-21 16:07:58 +0000 (Fri, 21 Nov 2008) | 1 line Added support for SVG 1.2 inside fo:instream-foreign-object. The code just used the basic SVGDOMImplementation for SVG 1.1. Now it delegates the DOM building to Batik code instead of to a normal DOM builder. ........ r719629 | jeremias | 2008-11-21 16:33:33 +0000 (Fri, 21 Nov 2008) | 2 lines Fix for unit test failure in transcoder tests (NullPointerException): Have to pass the root PSGraphics2D to NativeTextHandler instead of the PSGenerator as this one hasn't been initialized in PSGraphics2D when the NativeTextHandler is built in AbstractPSTranscoder. ........ r719646 | jeremias | 2008-11-21 17:24:32 +0000 (Fri, 21 Nov 2008) | 1 line Fixed possible ClassCastException that was caused by my earlier attempt to support SVG 1.2. Batik's SAXSVGDocumentFactory doesn't currently deal well with the case when namespaces are declared outside of its scope. Worked around that by doing the SVG version detection in FOP code. SVG12DOMImplementation is obtained by reflection in order to keep backwards compatilibility with earlier Batik versions that don't support SVG 1.2. ........ r719654 | jeremias | 2008-11-21 17:44:08 +0000 (Fri, 21 Nov 2008) | 1 line This actually fixes a bug. ........ git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@720850 13f79535-47bb-0310-9956-ffa450edef68
| * * Reverted back the interface changes I made to ImageHandler.Adrian Cumiskey2008-11-2524-217/+228
| | | | | | | | | | | | | | | | | | | | | | | | * Created AbstractAFPImageHandlerRawStream base class to handle raw image streams for AFP. * Fixed a bug in handling native embedded TIFF images. I think its finally ready to roll now guys, sorry for the last minute glitches. My apologies for not finding time to respond to the fop-dev mailing list this afternoon but have been trying to put my efforts into applying the final touches to the branch. If my good lady allows I'll respond to your comments later this evening :). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@720561 13f79535-47bb-0310-9956-ffa450edef68
| * Fixed ArrayOutOfBoundsException. Object Classification triplet is 96 bytes long.Jeremias Maerki2008-11-251-1/+1
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@720449 13f79535-47bb-0310-9956-ffa450edef68
| * Minor cleanup.Adrian Cumiskey2008-11-212-3/+4
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@719589 13f79535-47bb-0310-9956-ffa450edef68