aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache
Commit message (Collapse)AuthorAgeFilesLines
* Merge from Trunk revisions 741104 - 744926.Jeremias Maerki2009-02-1613-120/+231
|\ | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@744946 13f79535-47bb-0310-9956-ffa450edef68
| * Now using the "font" filter list entry for font streams.Jeremias Maerki2009-02-166-20/+75
| | | | | | | | | | | | | | Made T1 and TTF streams children of a commons base class. Refactored default filter addition a bit. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@744851 13f79535-47bb-0310-9956-ffa450edef68
| * Fixed IllegalArgumentException (no object number assigned) for this makeLink ↵Jeremias Maerki2009-02-151-1/+1
| | | | | | | | | | | | method. It makes no sense to add this to the trailer objects AFAICS. This particular method is only used by PDFGraphics2D's makeLink() method (SVG's #svgView(viewBox()) functionality). The positioning of the viewbox is still wrong, though. It must have been broken at some point. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@744690 13f79535-47bb-0310-9956-ffa450edef68
| * Reverted revision 742766.Jeremias Maerki2009-02-112-20/+0
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@743312 13f79535-47bb-0310-9956-ffa450edef68
| * Bugzilla #46686:Jeremias Maerki2009-02-111-6/+21
| | | | | | | | | | | | | | | | | | | | Use temporary directory for the font cache if the user home directory is not write-accessible. Submitted by: Alok Singh <alok.at.jivesoftware.com> Modifications to patch by jeremias: - Bugfix: original code switched to temporary directory if the .fop directory already existed in user home. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@743273 13f79535-47bb-0310-9956-ffa450edef68
| * There was a filter list constant for fonts, but our font streams didn't use it.Jeremias Maerki2009-02-092-0/+20
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@742766 13f79535-47bb-0310-9956-ffa450edef68
| * Added code to detect when a Type 1 font is not configured to use its native ↵Jeremias Maerki2009-02-093-0/+27
| | | | | | | | | | | | encoding. In such a case it needs to be re-encoded in PostScript. That used to always happen in earlier FOP versions but since support was added for all glyphs in a font, this has become a problem. So this change restores the behaviour of before when XML font metrics files or just the PFM are used. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@742620 13f79535-47bb-0310-9956-ffa450edef68
| * Bugzilla #45342:Jeremias Maerki2009-02-091-91/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | AFP Fonts: Fixed interpretation of metric for fonts with fixed metrics and made sure all repeating groups in FNP (Font Position) are processed. Submitted by: Emil Maskovsky <styryx.at.seznam.cz> Modifications to patch by jeremias: - Style changes (tabs, variable names, javadocs) - Fixed handling of spaces in URLs (as in IF branch) - Modified the way the metrics are calculated (Emil's solution didn't produce the values required by FOP) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@742564 13f79535-47bb-0310-9956-ffa450edef68
| * 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
* | Fixed copy/paste mistakes.Jeremias Maerki2009-02-168-37/+22
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@744874 13f79535-47bb-0310-9956-ffa450edef68
* | Added an additional font fallback to PrintRenderer to avoid some problems ↵Jeremias Maerki2009-02-161-2/+9
| | | | | | | | | | | | when processing an intermediate file generated for a different output format than the current one. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@744856 13f79535-47bb-0310-9956-ffa450edef68
* | Bugfix: Need to copy attributes. Xalan XSLTC reuses the Attributes instance ↵Jeremias Maerki2009-02-111-1/+2
| | | | | | | | | | | | (and modifies it freely). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@743492 13f79535-47bb-0310-9956-ffa450edef68
* | Avoid NPE if "rendering" setting isn't given.Jeremias Maerki2009-02-111-6/+8
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@743352 13f79535-47bb-0310-9956-ffa450edef68
* | Added missing default font setup.Jeremias Maerki2009-02-111-0/+8
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@743351 13f79535-47bb-0310-9956-ffa450edef68
* | Moved area tree example to package embedding/atxml.Jeremias Maerki2009-02-0618-224/+487
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Created a new concatenation example for the new IF in package embedding/intermediate. Exchanged IFRendererMaker with IFSerializerMaker. Removed unused method getConfigurator() from document handler makers. Extracting original nested IFException in IFParser's parse() method. Removed obsolete IFSerializerConfiguration. Now covered by PrintRendererConfigurator. Delegating FontInfo setter calls to mimic handlers in IFSerializer. Fixed a bug in RendererFactory for the case when FOUserAgent.setDocumentHandlerOverride() is used. Added a generic IFDocumentHandler proxy class (IFDocumentHandlerProxy). Added a simple IFConcatenator helper class for simple IF concatenations (experimental). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@741576 13f79535-47bb-0310-9956-ffa450edef68
* | Bugfix for path handling when spaces are in the path.Jeremias Maerki2009-02-051-1/+3
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@741166 13f79535-47bb-0310-9956-ffa450edef68
* | Performance improvements and file-size reductions by introducing ↵Jeremias Maerki2009-02-0527-169/+834
| | | | | | | | | | | | | | | | | | letter-spacing and word-spacing attributes in new IF (as mentioned on fop-dev). Allow to control whether kerning information is loaded from fonts. Started support for AFP font embedding (incomplete and currently disabled) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@741165 13f79535-47bb-0310-9956-ffa450edef68
* | Merge from Trunk revisions 740276 - 741103.Jeremias Maerki2009-02-0512-77/+288
|\| | | | | | | | | | | Hooked in the new AFP resource level defaults into the IF-size of the image handlers. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@741120 13f79535-47bb-0310-9956-ffa450edef68
| * AFP Output: Added a configuration option to override the resource level ↵Jeremias Maerki2009-02-0510-98/+289
| | | | | | | | | | | | 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
* | Merge from Trunk revisions 735029 - 740275.Jeremias Maerki2009-02-0335-211/+696
|\| | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@740340 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
| * 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 test error for transcoders.Jeremias Maerki2009-01-303-16/+15
| | | | | | | | | | | | | | | | | | Enabled disabling strict validation from inside the test case. This enabled activating the border/padding test case for region references. Refactored layout engine and intermediate format tests a bit to increase code reuse. Fixed the way border/padding are set on the area tree. The current way had unwanted side-effects for the AreaTreeParser. Added support for border/padding on region references when parsing from area tree XML. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@739386 13f79535-47bb-0310-9956-ffa450edef68
* | Better error message.Jeremias Maerki2009-01-301-1/+1
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@739233 13f79535-47bb-0310-9956-ffa450edef68
* | Updated XML Schema for the new intermediate format.Jeremias Maerki2009-01-301-1/+1
| | | | | | | | | | | | Fixed the ID prefix for the URIAction to conform to the "ID" XML Schema datatype. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@739227 13f79535-47bb-0310-9956-ffa450edef68
* | Fixed an image inversion problem.Jeremias Maerki2009-01-221-0/+3
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@736610 13f79535-47bb-0310-9956-ffa450edef68
* | 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