apache.org > XML Federation > xmlgraphics.apache.org

History of Changes

Version FOP Trunk ()

Version 0.93 (9 January 2007)

Code

  • add Added support for the use of Open Type fonts (BD)
  • add Added initial support for loading fonts without a pre-created XML font metric file. (JM)
  • add Support for the rgb-icc() function and for a proprietary cmyk() function (for device CMYK colors only through the PDF renderer so far). (JM) Thanks to Peter Coppens. Fixes 40729.
  • add Added support for SVG in fo:instream-foreign objects for RTF output. (JM) Thanks to Dominic Brügger. Fixes 40849.
  • add Added support for CCITT compression in the TIFFRenderer by switching to the ImageWriter abstraction from XML Graphics Commons. (JM) Thanks to Oliver Hernàndez Valls. Fixes 40519.
  • add Extension properties fox:orphan-content-limit and fox:widow-content-limit which help with list-block and table layout. See the documentation for details. (JM)
  • add Configuration option in the Java2D-based renderers that allows to disable the default white background in order to produce bitmap output with transparency. (JM)
  • add Added support for PDF/A-1b and PDF/X-3:2003. (Note: this may still be a bit incomplete. Feedback is welcome!) (JM)
  • add The CIDSet object is now generated for CID fonts which are embedded in PDFs. (Required by PDF/A). (JM)
  • add Automatic support for all fonts available to the Java2D subsystem for all Java2D-descendant renderers (TIFF, PNG, print, AWT). (JM)
  • add Initial support for page-number-citation-last (XSL 1.1). Works without problems only for page-sequence so far. (JM) Thanks to Pierre-Henri Kraus. Fixes 39118.
  • fix Bugfix: Fixed bug when the sum of column widths of a table is larger than the specified widths. The table width was not adjusted. (JM)
  • fix Bugfix: Nested tables with headers and footers were not handled correctly and could overlap with the region-after. (JM)
  • fix Split up FOText instances larger than 32K characters to avoid integer overflow during layout. (AD) Fixes 39414.
  • fix Bugfix: Corrected painting of shading patterns and position of links for SVG images inside FO documents. (JM)
  • fix Deferred property resolution for markers until they are actually retrieved, which leads to percentages and relative font-sizes now getting the correct values. Also deferred white-space-handling for markers. (AD)
  • fix Fixed a memory-leak: The FO tree part of a page-sequence was not released when a page-sequence was finished. (JM)
  • fix Bugfix: Table headers and footers were swallowed when a table was nested in a list-block. (JM)
  • fix Fixed a bug with indent handling when margins are used on a surrounding block and not start/end-indent. (JM)
  • fix Compatibility fix for GCJ (GNU Classpath): Using "UTF-16BE" instead of "UnicodeBigUnmarked" encoding. (JM) Thanks to Jeroen Meijer. Fixes 40106.
  • fix Fixed handling for CCITT Group 4 TIFF images with fill order 2. (JM) Thanks to Gilles Beaugeais. Fixes 40062.
  • fix Fixed setting of page margins in AWT Renderer like it was done in the print renderer. (JM) Thanks to Igor Istomin. Fixes 40048.
  • fix Fixed two memory-leaks in image handling. The image cache is finally working properly. (JM)
  • fix Let numeric property values without a unit be treated as pixels like in HTML. This fixes certain NullPointerException when no units are specified. (Note: the use of pixels in XSL-FO is discouraged!) (JM) Fixes 39608.
  • fix Bugfix: Potential multi-threading issue (ConcurrentModificationException) eliminated for ElementMapping classes. (JM)
  • fix No more System.exit() and look & feel setting calls inside the reusable parts of the AWT viewer. (JM)
  • fix Proper escaping of characters in list-items labels for RTF output. (JM)
  • fix Bugfix: FOUserAgent specific configuration parameters specified in config file were not set when FOP was invoked from command line. (MM)
  • fix Bugfix: components of the border-separation property weren't set when in shorthand-mode, leading to a NPE being thrown. (AD) Fixes 39712.
  • fix Bugfix: Table headers were omitted when a table is a child of a block-container. (JM)
  • fix Bugfix: Bookmarks in PDF will be generated even if some bookmarks cannot be resolved. (JM)
  • fix Bugfix: the interaction between the table FOs and properties package in determining initial values for column-number should be a one-time process, not repeated when the table is in a marker that is retrieved. (AD) Fixes 39560.
  • fix Bugfix: All fonts names were converted unnecessarily to lower case in RTF output. (JM)
  • fix Bugfix: The combination of hyphenation and kerning resulted in slightly ragged right ends for right-aligned and justified text. (JM)
  • fix Bugfix: NullPointerException in AreaAdditionUtil in a table-cell spanning multiple pages and with a marker. (JM)
  • fix Bugfix: NullPointerException in RTF output when a table does not contain table-columns. (JM) Fixes 39533.
  • fix Bugfix: NullPointerException in RTF library when there are no borders on the parent table. (JM) Thanks to Julien Aymé. Fixes 39607.
  • fix Bugfix: Improved baseline detection in TTFReader for TrueType fonts. (JM)
  • fix Bugfix: tables nested in inline elements caused a NullPointerException. (JM) Fixes 39443.
  • fix Bugfix: Sections with span="all" lead to overlapping text if spanning multiple pages. (JM) Fixes 39443.
  • fix Bugfix: Percentages in vertical-align property values were not correctly handled. (MM)
  • fix Bugfix: Gaps in table-columns cause a NullPointerException. (JM) Thanks to Gerhard Oettl. Fixes 38243.
  • fix Bugfix: TABs were not correctly replaced by spaces in some circumstances. (MM)
  • fix Bugfix: basic-links with internal destinations in documents with multiple page-sequences sometimes pointed at the wrong page. (JM)
  • fix Bugfix: Fixed ClassCastException when retrieve-marker is used as a direct child if static-content in which case leading and trailing white space is not properly removed. (JM)
  • fix Bugfix: Fixed OutOfMemoryException with long data URLs (RFC 2397). (JM) Fixes 39285.
  • update Enabled Copy/Paste from PDF content in Acrobat Reader for text using embedded TrueType fonts. (BD) Thanks to Adam Strzelecki, Victor Mote. Fixes 5535.
  • update Commented out unused properties, in order to minimize memory usage. (SP) Thanks to Richard Wheeldon. Fixes 41044.
  • update Removed unused attributes from TableCell. (SP) Thanks to Richard Wheeldon. Fixes 41009.
  • update Minor fixes and improvements for the AWT Preview (keyboard shortcuts, scrolling, windows setup). (JM) Thanks to Richard Wheeldon. Fixes 40813.
  • update Minor fix: correctly set negative values for ipd/bpd to zero. (AD)
  • update Rework of default column-creation / column-width setting from cells in the first row. (AD) Fixes 35656.
  • update Added relaxed validation for empty list-item-*, as suggested by Gary Reed. (AD) Thanks to Gary Reed. Fixes 40270.
  • update Modified proportional-column-width() function to log an error if used with table-layout=auto (AD)
  • update Changed the way overflowing pages are handled. The overflow property on region-body is now used to define the behaviour. (JM)
  • update The Java2DRenderer (and therefore the print and bitmap renderers) is now offering the same quality as the PDF and PS renderers. Note: There can still be little differences between PDF and Print/PNG/TIFF because the latter uses a different font metrics source. (JM)
  • update The default sRGB color profile provided by the Java class library is no longer embedded if it is encountered. This should reduce the PDF size considerably. (JM)
  • update Changed the internal representation of colors to use Java's own color infrastructure instead of FOP's home-grown classes. (JM) Thanks to Max Berger. Fixes 38946.
  • update Content in block-containers makes better use of shrink to fit content vertically into the available area. This can be used indirectly to justify content vertically in a block-container. (JM)

Version 0.92beta (18 Apr 2006)

Code

  • add Initial support for page-position="last" added. (JM)
  • add Reenabled loading of user-supplied hyphenation patterns that was available in FOP 0.20.5. (See "hyphenation-base" option in the user configuration) (JM)
  • add Added support for fixed-width spaces. (JM)
  • add Added support for kerning. (JM)
  • add Support for "userconfig" attribute in FOP Ant Task. (JM) Thanks to Jirí Mareš.
  • add Initial support for XMP metadata (PDF 1.4) under fo:declarations. (JM)
  • add Added support for the background-position shorthand property. (AD)
  • add Added support for the font shorthand property. (AD)
  • add Added support for system-color() function. (JM) Thanks to Max Berger. Fixes 38618.
  • add Added support for the from-table-column() function. (AD) Thanks to Gerhard Oettl (gerhard.oettl.at.oesoft.at). Fixes 38282.
  • add New feature: "Intermediate format" (IF). The IF is basically the XML dialect written by the area tree renderer (XMLRenderer). A new parser for this format allows reparsing a serialized and possibly modified area tree and rendering it to the final target format. (JM)
  • add Relative URLs for the font configuration attributes metrics-url and embed-url are now supported. A new configuration property font-base has been added. It sets the base URL against which relative font URLs are resolved. If font-base is not set base is used. (MM) Fixes 36729.
  • add Added support for RFC2397 "data" URLs. (JM) Thanks to Richard Wheeldon. Fixes 38132.
  • add The font loading code now reads the encoding value from the XML font metrics file so that fonts like Symbol and ZapfDingbats can be embedded explicitely (Required by PDF/A). (JM)
  • add Added feature: support for white-space shorthand (AD)
  • add Added feature: support for page-break-* shorthands (AD)
  • fix Bugfix: The generation of the PDF "d" (setdash) command was assuming that only integer values can be used but that isn't the case. Dash patterns PDFGraphics2D would be wrong in the process. (JM)
  • fix Bugfix: Fixed a division by zero problem in TTFReader and improved the detection of the capHeight and xHeight font metric values for TrueType fonts. (JM)
  • fix Bugfix: Allow URLs in basic-link's external-destination to be wrapped in "url()". (JM)
  • fix Bugfix: Corrected enumerated property value for white-space property from "no-wrap" to "nowrap". (MM)
  • fix Bugfix: Added support for white-space-treatment="preserve" in particular to support the white-space="pre" short hand property. (MM) Fixes 38457.
  • fix Corrected expectation and behaviour for the text-indent property to only apply to the first line area generated by a block. (JM)
  • fix Bugfix for invalid handling of ICC color profiles in JPEG images and for dealing with CMYK JPEG images with the Adobe APPE marker. (JM)
  • fix Bugfix: Certain filter combinations in PDF could lead to invalid PDFs. DecodeParams were not properly handled. (JM)
  • fix Bugfix: CCITT Group 4 encoded TIFF images with multiple strips are now properly embedded in PDF files. (JM)
  • fix Bugfix: Fixed a copy/paste error in the table layout code that caused wrong page break decisions when table-headers and/or table-footers are used. (JM)
  • fix Bugfix: Fixed an NPE that was thrown when a table was used inside a footnote-body. (JM)
  • fix Bugfix: Fixed a problem with certain TrueType fonts which are missing the "PCLT" table, where a baseline-shift="sub" had no effect due to a missing x-height value. (Note: This only affects TTFReader, so the font metric file has to be regenerated.) (JM)
  • fix Bugfix: When the base URL was specified as a file system path, the constructed URL was wrong. (JM)
  • fix Bugfix: Fixed two causes for ClassCastExceptions in BlockContainerLayoutManager. (JM)
  • fix Bugfix: padding-top and padding-bottom on list-items could lead to wrong page break decisions and thus to overlapping text. (JM)
  • fix Bugfix: break-before and break-after were ignored on list-items. (JM)
  • fix Bugfix: The elements representing a non-breaking space weren't always correct. (LF) Fixes 38507.
  • fix Bugfix: Text-decoration was not promoted if no text-decoration attribute was specified on a nested element. (JM) Fixes 38453.
  • fix Bugfix: Spanned cells could lead to an false error message about overlapping cells and ultimately a NullPointerException. (JM) Fixes 38397.
  • fix Bugfix: Regions with non-standard names got ignored in RTF output leading to missing headers and footers. (JM)
  • fix The RTF output now properly generates the "\landscape" flag for documents in landscape orientation. (JM)
  • fix Following a clarification by the XSL FO SG, space traits are only set on the first and last area generated by an FO, and not on every area anymore. (JM)
  • fix Bugfix: Floating point numbers were not properly formatted in the PDF renderer which could lead to error messages while opening a PDF in Acrobat Reader. (JM)
  • fix Bugfix: Spans that end up with a negative height don't get swallowed anymore. (JM) Fixes 38054.
  • fix Bugfix: Certain border styles could lead to a NullPointerException. (JM) Fixes 38132.
  • fix Bugfix: Space was not adjusted if the space was on a nested block. This could lead to content overflowing the bottom of a page. (JM) Fixes 38102.
  • fix Bugfix: TableCell did not properly report that it generates reference-areas which could lead to wrong inherited values for start-indent and end-indent. (JM)
  • fix Bugfix: Image height for BMP images was incorrectly calculated (MM) Fixes 38089.
  • fix Bugfix: NullPointerException on certain fo:inline within lists. (MM) Fixes 38053.
  • fix Bugfix: ClassCastException on certain fo:inline with border combinations. (MM) Fixes 37743.
  • fix Changed a method name in LineArea from finalize to finalise because it was never intended for the method to be an override of the Java Object finalize method. If invoked by the Java garbage collector it may cause a NPE. (MM)
  • update Implement property name as default argument on some xsl-function calls. (SP) Thanks to Gerhard Oettl. Fixes 38098.
  • update Implement force-page-count property of page-sequence. (SP) Thanks to Gerhard Oettl. Fixes 38087.
  • update Improvements to the code for inline block content. (SP)
  • update Revision of refinement white-space handling. (AD)

Version 0.91beta (23 Dec 2005)

Code

  • add Added checks that warn about tables and block-containers that are wider than the available content area. (JM)
  • add First attempt at SVG support in RTF output. SVG images are converted to 300dpi JPEG images internally. (JM)
  • add The command-line now automatically sets two parameters for any XSLT transformation: "fop-output-format" contains the MIME type of the currently selected output format, "fop-version" contains FOP's version number. (JM)
  • add Added an alternative set of rules for calculating text indents which tries to mimic the behaviour of many commercial FO implementations that chose to break the rules in the FO specification in order to better meet the natural expectations of inexperienced FO users. (JM)
  • add font-family list still not fully supported but a comma-separated list is now properly tokenized. FOP will now go through all fonts in the list to find one that is available, but it doesn't do so per character, yet. (JM)
  • add Implemented "Overconstrained Geometry" rules (5.3.4, XSL 1.0) for the most important cases. (JM)
  • add Support for leader painting in PostScript output. (JM)
  • add Support for hyphenation-ladder-count. (LF, MM)
  • fix Fixed a bug where the linefeed-treatment property value "preserve" was not honoured when used in conjunction with text-align="center". (MM)
  • fix Bugfix: hard breaks with even-page or odd-page were not handled correctly when spaces were surrounding the break. (JM) Fixes 37964.
  • fix Fixed a bug where SVG content could be clipped when rendered to PostScript. (JM)
  • fix Changed the way resolutions are handled. The single resolution in the user agent got split up into source and target resolutions. For more info, see the updated documentation. Note: backwards-incompatible change! (JM)
  • fix Bugfix: Some content inside a table-header may not have been renderered on pages n > 1 in certain conditions. (JM) Fixes 37875.
  • fix Fixed a bug where an empty line, i.e. a block containing only a  , was not rendered at all. (MM)
  • fix Fixed a bug where the area for a finished cell that is broken over pages was created once for each row it was spanned over instead of only once. (JM)
  • fix Bugfix: Footnotes were lost if the footnote appeared in centered text. (JM) Fixes 37880.
  • fix Fix to correct image sizes in RTF output. (JM)
  • fix The output file is now deleted when an exception occurs when calling FOP from the command-line. (JM)
  • fix Bugfix: Areas for table-cells that are broken over more than one page are now generated even if all its content is already painted on a previous page. This fixes strange effects like a table grid that is not completely painted. (JM)
  • fix Bugfix: Column balancing produced strange break decisions in certain multi-column documents with large amounts of text. (JM) Fixes 37828.
  • fix Bugfix: The combination of content-width="scale-to-fit" and content-height="100%" did not work as expected due to a datatype conversion bug. (JM) Thanks to Tom Craddock. Fixes 37815.
  • fix Bugfix: A span="all" on the first block cause a subsequent page break and the first block didn't span all columns. (JM) Fixes 37813.
  • fix Bugfix: Self-created OutputStreams in PNG Renderer were not properly closed. (JM)
  • fix Bugfix: Relatively positioned BlockViewports (from block-containers) caused the paint cursor not be be properly advanced when space-before or space-after were present. (JM)
  • fix Bugfix: Space resolution was incomplete for content in table-cells. Conditional elements didn't get removed. (JM)
  • fix The validation check for non-zero borders and padding on a region-* and for empty static-content elements is now turned off when relaxed validation is active to improve compatibility with FO documents written for other FO implementations. (JM)
  • fix Bugfix for "/ by zero" ArithmeticExceptions when an URL to a non-existing image is used and content-width and/or content-height is used. (JM)
  • fix Bugfix for a multi-threading problem: propertyListTable initialization moved from the constructor to a static block in FONode. This fixes NullPointerExceptions in PropertyList. (JM)
  • fix Bugfix for placement of text inside a text area when borders are present in PostScript output. (JM)
  • update Deprecated Fop constructors that use integer constants to select the output format have been removed in favor or the constructors that use MIME types. (JM)
  • update Changed the XMLHandler interface so it doesn't report the MIME type it supports but instead can report whether it supports a particular Renderer implementation. XMLHandlers are now configurable. (JM)
  • update Improved log and error messages in a number of places by adding additional context information that should make it easier to find the location in the source files. (JM)
  • update Additional checks to detect text overflows. The overflow property is now properly handled where applicable. (JM)
  • update Source location information improved. If location information is not available, the context information is provided based on text content. (JM)
  • update The border-collapse property on fo:table is now forced to the value "separate" until the collapsing border has been implemented. (JM)
  • update Improvements on leader painting in PDF output. (JM)

Version 0.90alpha1 (22 Nov 2005)

Code

  • update Complete redesign of the FOP codebase in the period between Dec 2001 and Nov 2005. There are just too many changes to list here. If you like to know details, run "svn log --verbose http://svn.apache.org/repos/asf/xmlgraphics/fop/trunk/". (all)

Version 0.20.5 (18 July 2003)

Code