# History of Changes

# Introduction and explanation of symbols

Changes are sorted by "type" and then chronologically with the most recent at the top. These symbols denote the various action types:=add, =fix, =remove, =update

# Version 1.1 (20 October 2012)

## Changes to the Code Base

- add

  Added support for the role property on fo:page-sequence, fo:flow and fo:static-content. This allows to change the mapping of those FOs to PDF structure types when enabling accessibility. Committed by VH.

- add

  A global setting to wrap F11 images in page segments. Committed by PH. See Issue 49893.

- add

  Added support for PDF Object Streams. When accessibility is enabled and PDF version 1.5 selected, the structure tree will be stored in object streams in order to reduce the size of the final PDF. Committed by VH. Thanks to Peter Hancock.

- add

  Improved support for empty flow-name mapping. Committed by PH. See Issue 50391.

- add

  Improvements of the Accessibility features. Committed by PH. Thanks to Vincent Hennebert.

- add

  Suppress unnecessary "font not found warnings" when generating AFP with raster fonts Committed by CB. Thanks to Luis Bernardo. See Issue 52416.

- add

  SVG text in AFP creates miscoded GOCA text Committed by CB. Thanks to Luis Bernardo. See Issue 51209.

- add

  Add support for different flow-name of fo:region-body in FOP Committed by CB. Thanks to Peter Hancock. See Issue 50391.

- add

  Tagged PDF performance improvement plus tests Committed by CB. Thanks to Mehdi Houshmand. See Issue 51664.

- add

  Improved AdobeStandardEncoding support in AFM files for type1 fonts Committed by MH. See Issue 52197.

- add

  Added ant script to get JaCoCo code coverage. Committed by VH. Thanks to Mehdi Houshmand. See Issue 52151.

- add

  Added to build file JUnit target that uses a regex to run all of the test cases. This reduces the risk that some of them are omitted when building FOP. Committed by VH. Thanks to Mehdi Houshmand. See Issue 52136.

- add

  Allow JPEG images to be embedded in an AFP document as is, without being decoded and encoded. Committed by PH. Thanks to Mehdi Houshmand. See Issue 52089.

- add

  Simplification of the build: Reduced code duplication and layout engine tests. Committed by PH. Thanks to Mehdi Houshmand. See Issue 52010.

- add

  Fix for when the last simple-page-master referenced in a page-sequence-master is not chosen when force-page-count=odd. Committed by PH. Thanks to Mehdi Houshmand. See Issue 51962.

- add

  Upgraded all tests to JUnit 4. Committed by VH. Thanks to Mehdi Houshmand. See Issue 51928.

- add

  Added support for resolution of relative URIs against a specified xml:base during property refinement. Committed by AD. See Issue 48334.

- fix

  Fix incorrect language and country code key generation in hyphenation tree cache. Committed by GA. Thanks to Dieter von Holten. See Issue 53458.

- fix

  Eliminate javadocs warnings. Committed by GA.

- fix

  Eliminate incorrect use of object identity which produces excessive property cache collisions. Committed by GA. Thanks to Alexios Giotis. See Issue 53412.

- fix

  Eliminate javadocs warnings. Committed by GA.

- fix

  Use new double format utility to improve thread safety and performance. Committed by GA. Thanks to Ognjen Blagojevic. See Issue 43940.

- fix

  Convert block container overflow exception to event model, improving overflow property behavior. Committed by GA. Thanks to Luis Bernardo. See Issue 53094.

- fix

  Update to use of checkstyle-5.5 as default configuration. Remove checkstyle-4.0 configuration. Also, import environment build properties before local properties, so that latter can refer to former. Committed by GA. See Issue 53083.

- fix

  Prevent NPE on use of unsupported collapse-with-precedence; fall back to collapse. Fix checkstyle errors from prior commit. Committed by GA. Thanks to Pascal Sancho. See Issue 52572.

- fix

  Invoke JVM in headless mode from FOP command scripts and JS shell to prevent stealing focus from GUI applications. Committed by GA. See Issue 50062.

- fix

  Support list-block in marker, thus preventing NPE. Committed by GA. See Issue 52763.

- fix

  Must use unqualified (local name) when reporting invalid child error. Committed by GA.

- fix

  Restore lookup on Event message lookup field part. Add locale field to Event to enable locale dependent deferred bundle load during lookup field part substitution. Committed by GA. See Issue 53065.

- fix

  Bug in AFP font metrics that performed integer arithmetic when it should have been double arithemetic. Committed by MH.

- fix

  Bring clone() in line with the recommendations in Object.clone(). Committed by GA. Thanks to Simon Pepping. See Issue 49754.

- fix

  How to use native text with EPSDocumentGraphics2D. Committed by GA. Thanks to Luis Bernardo. See Issue 52966.

- fix

  Allow https scheme URI for PDF external action target. Committed by GA. Thanks to Paul Huemer. See Issue 51599.

- fix

  RTF percentage table column width not calculated from table. Committed by GA. Thanks to Carsten Pfeiffer. See Issue 50901.

- fix

  RTF generates unexpected lines for blocks in tables. Also fix three findbugs issues. Committed by GA. Thanks to Max Aster. See Issue 51009.

- fix

  RTF tables do not support percent column-widths. Committed by GA. Thanks to Max Aster. See Issue 51007.

- fix

  Access denied (java.util.PropertyPermission org.apache.fop.fo.properties.use-cache read). Committed by GA. Thanks to Armin Haaf. See Issue 50435.

- fix

  Incorrect message when encountering a block in an inline in a footnote. Committed by GA. Thanks to Adrian Buza. See Issue 49763.

- fix

  Specified rule-thickness applies only when leader-pattern is rule, otherwise should use default thickness. Committed by GA. Thanks to Georg Datterl. See Issue 47380.

- fix

  Eliminate duplicate code. Committed by GA. Thanks to Julien Aymé. See Issue 49302.

- fix

  Correct coding error in AFPResourceLevel#equals. Committed by GA. Thanks to Julien Aymé. See Issue 49350.

- fix

  Throw IFException instead of NPE if navigation target (page reference) doesn't exist. Committed by GA. Thanks to Melanie Drake. See Issue 51836.

- fix

  Fixed memory waste in traits map. Committed by GA. Thanks to Sergey Vladimirov. See Issue 51808.

- fix

  Fixed small memory waste in rowCells array construction. Committed by GA. Thanks to Sergey Vladimirov. See Issue 51807.

- fix

  Fixed incorrect rejection of fo:wrapper inside fo:inline inside fo:footnote-body. Committed by GA. Thanks to Alberto Simões. See Issue 53005.

- fix

  Fixed deadlock in PropertyCache. Committed by VH. Thanks to Alexios Giotis. See Issue 46962.

- fix

  Fixed bug that caused a configured and installed SVG font to be stroked, also added an event indicating when fonts are stroked. Committed by MH. Thanks to Luis Bernardo. See Issue 52849.

- fix

  Fix of a bug introduced when merging ImproveAccessibility. Committed by PH.

- fix

  Fixed rendering of special glyphs when using single-byte encoding mode. Committed by VH. Thanks to Luis Bernardo. See Issue 52655.

- fix

  Fixed regression introduced by Bugzilla 50593: bookmarks pointing to a non-existing internal destination should just trigger a warning. Committed by AD. See Issue 50593.

- fix

  Fix for issue in RenderPagesModel.checkPreparedPages() where the same page-sequence is potentially started multiple times. Committed by AD. Thanks to Martin Koegler. See Issue 50635.

- fix

  Fix for performance issue when adding pages, if the total number of pages is significantly large. Committed by AD. Thanks to Martin Koegler. See Issue 50636.

- fix

  Fix for performance issue when adding nodes, if the number of children is significantly large. Committed by AD. Thanks to Martin Koegler. See Issue 50626.

- fix

  Fix for avoid ArrayIndexOutOfBoundsException for codepoints without a linebreak class Committed by AD. See Issue 50471.

- fix

  Replaced magic numbers with constants from UnitConv and GraphicsConstants. Committed by VH. Thanks to Joshua Marquart. See Issue 49695.

- update

  Update xmlgraphics common jar to reflect recent fixes in XGC. Committed by GA. See Issue 53055.

- update

  Fix handling of NaN, {+,-}Infinity, and other edge cases. Submitted by Julien Aymé. Committed by GA. Thanks to Julien Aymé. See Issue 43940.

- update

  Improve property function argument parsing, specifically, better separate required, optional, and variable arguments and the handling of optional argument defaults. Regularize property function class names. Committed by GA.

- update

  Add run target for embedded examples. Add increased JVM memory heap flag for example8 in case font cache is rebuilt. Committed by GA. See Issue 51617.

## Changes to the User Configuration

- add

  Added configuration option to set the version of the output PDF document. Committed by VH. Thanks to Mehdi Houshmand. See Issue 51385.

- fix

  Fix crash on use of version switch (-v). Committed by GA. Thanks to Luis Bernardo. See Issue 52144.

- fix

  Fix exception thrown from use of -print option in CLI. Committed by GA. Thanks to Luis Bernardo. See Issue 53248.

- fix

  Fix for relative URIs in the configuration file (base, font-base, hyphenation-base) are evaluated relative to the base URI of the configuration file. Committed by SP.

## Changes to Documentation

- fix

  Fix renderer mime type for PCL output; should be application/x-pcl. Committed by GA. See Issue 53247.

- update

  Update FAQ and New Bug documentation. Committed by GA.

## Changes to the Font Subsystem

- add

  Add support for OpenType advanced typographic tables (GDEF, GSUB, GPOS). Committed by GA.

- add

  Added support for lookup of alternative glyphs when additional single-byte encodings are used, ex. replacing "Omegagreek" by "Omega" and vice versa. Committed by JM. Thanks to Alexandros Papadakis. See Issue 50699.

- add

  Added convenience support for the flushing of the Fop font cache file from the command line. Committed by AC.

- fix

  Fix performance regression in JDK 1.6 Update 19 due to use of Java Beans API. Fix checkstyle errors. Committed by GA. Thanks to Tassos Charoulis. See Issue 53148.

- fix

  Ensure fonts are not loaded twice (redundantly). Committed by GA. See Issue 53143.

- fix

  Bugfix for color model in IOCA IDE structure parameter for 4- and 8-bit grayscale images. Revision 4. Committed by PH. See Issue 48696.

- fix

  Changes the way PostScript handles Graphics2D images such that if the language is set to level 3, the image is stored as an embedded file which has no length limit. Previously it was stored as an array which has a implementation limit of 65535 elements. Committed by PH. Thanks to Mehdi Houshmand. See Issue 51760.

- fix

  PDFFactory responsible for asdigning name to a subset font. Committed by PH. Thanks to Mehdi Houshmand. See Issue 51759.

- fix

  Improved support for EBCDIC encoded double byte fonts fo AFP. Committed by PH. Thanks to Mehdi Houshmand. See Issue 51530.

- fix

  Corrected typographical errors in AFPBase12FontCollection. Committed by PH. Thanks to Mehdi Houshmand. See Issue 51205.

- fix

  Fixed a bug in TTF subsetting where a composite glyph could get remapped more than once resulting in garbled character. Committed by JM. Thanks to Mehdi Houshmand. See Issue 51596.

- fix

  Fixed a number of bugs concerning Type 1 and other single-byte fonts (glyph width mismatches and overlapping characters). Committed by JM. See Issue 50605.

- fix

  Removed invalid entries in ToUnicode table of CID subset fonts. Committed by JM. Thanks to Mehdi Houshmand. See Issue 51144.

- fix

  Reinstated support for being able to specify a font cache filepath in the fop user configuration. Committed by AC.

- update

  Removing experimental feature that violates XSL-FO and Unicode semantics by misinterpreting Basic Latin code points. Users must use private use codepoints to access font specific character mappings that have no assigned Unicode code point. See bug 50492. Committed by GA.

## Changes to the Image Support

- fix

  Fix incorrect SVG line dash pattern with PDF output format. Committed by GA. Thanks to Luis Bernardo. See Issue 53431.

- fix

  Support use of ImageLoaderRawPNG decoder in order to prevent re-encoding of PNG images (and unnecssary output file bloat). Committed by GA. Thanks to Luis Bernardo, Matthias Reischenbacher. See Issue 40676.

- update

  Fix interoperability issue with Adobe reader regarding use of multiple filters. Committed by GA. Thanks to Luis Bernardo. See Issue 40676.

- update

  Update site documentation about PNG image loading configuration and support. Committed by GA. Thanks to Luis Bernardo. See Issue 40676.

- update

  Fix newly introduced findbugs warnings. Committed by GA. Thanks to Luis Bernardo. See Issue 40676.

## Changes to the Layout Engine

- add

  Add support for complex scripts, including: full bidi support, support for advanced typographic tables, advanced support for number conversion. Committed by GA. See Issue 32789, 49008, 49687.

- fix

  Unify date formatting between FOP and XGC as well as tidying the date format code. Committed by GA. Thanks to Robert Meyer. See Issue 53185.

- fix

  Fix for break before (break-before) not respected on blocks nested in inlines. Committed by GA. Thanks to Luis Bernardo. See Issue 45715.

- fix

  Don't restart layout unless abs(ipd difference) > 1 in order to prevent rounding issues from triggering false restart. Committed by GA. Thanks to Pascal Sancho. See Issue 51043.

- fix

  Ensure that table cell spanning works in right-to-left writing mode. Committed by GA. Thanks to Matthias Reischenbacher. See Issue 53103.

- fix

  Ensure that table footer and header are included in bididirectional resolution. Committed by GA. See Issue 53086.

- fix

  Ensure writing-mode specified on fo:table is used to determine writing mode of table and its descendants. Committed by GA. See Issue 53097.

- fix

  Ensure square image is appropriately scaled. Committed by GA. Thanks to Luis Bernardo. See Issue 52514.

- fix

  Bugzilla 50965: Fixed a regression in BlockContainerLayoutManager where margins were no longer reset after forced breaks. Committed by AD. Thanks to Martin Koegler. See Issue 50965.

- fix

  Implemented non-standard behavior for basic-link areas, such that they take into account the heights of their descendants areas. Committed by VH.

- fix

  Fix for keep-together does not apply to fo:table-cell. Committed by VH.

- fix

  Fix for keep-together on a table containing row-spanning cells that was not honored. Committed by VH.

- fix

  Fix forpadding-start ignored when table-header/footer is repeated. Committed by VH. Thanks to Matthias Reischenbacher. See Issue 50196.

- fix

  Fix for correct behavior of keep-together.within-line in case there are nested inlines Committed by AD. See Issue 49848.

- fix

  Fix for avoid ClassCastException when using fox:widow-content-limit Committed by AD. See Issue 48380.

- fix

  Fix for content after forced break in block-container is not rendered. Committed by VH. See Issue 50089.

- fix

  Fixed adjustment of inline parent area for justified text containing a forward page reference. Committed by JM. See Issue 42034.

- fix

  Fixed behavior when combining hyphenation with preserved linefeeds or whitespace. Committed by AD. See Issue 38264.

- fix

  Fixed retrieval of available BPD for cases spanning columns and multiple pages with differing page masters. Committed by JM. See Issue 49885.

## Changes to Renderers (Output Formats)

- add

  Added possibility to embed TrueType fonts in PostScript. Committed by VH. See Issue 52338.

- add

  Various bugfixes to make PDFDocumentGraphics2D operational again. Committed by JM.

- add

  Added support for 128bit encryption in PDF output. Committed by VH. Thanks to Michael Rubin.

- add

  Added an IFDocumentHandler filter for triggering rendering events. Created an Event that captures an end page event with the page number. Committed by PH.

- add

  Added option to place AFP NOPs right before the end of a named page group (page-sequence), rather than after the start. Committed by JM.

- add

  Added option for PostScript output to optimize for file size rather than quality. Committed by JM.

- add

  AFP GOCA: Added option to disable GOCA and to control text painting inside GOCA graphics. Committed by JM.

- add

  Added id element to intermediate format to track the origin of content. Committed by VH.

- add

  Added support for CIE Lab colors (from XSL-FO 2.0 WD). Committed by JM.

- add

  Initial work on spot colors (aka named colors) for PDF output. Committed by JM. Thanks to Patrick Jaromin. See Issue 49403.

- add

  Allow afp:no-operation to also appear under fo:page-sequence and fo:declarations. Committed by JM.

- add

  Added some support for break-before/-after for RTF output. Committed by JM. Thanks to Max Aster. See Issue 42600.

- add

  Added ability to embed an external AFP page segment resource file (AFP output only). Committed by JM. Thanks to Peter Hancock. See Issue 49379.

- add

  Added support for PDF File Attachments (Embedded Files). Committed by JM. Thanks to Andrejus Chaliapinas. See Issue 44460.

- fix

  Add version attribute to AT and IF intermediate formats. Also eliminate redundant use of reversed attribute in AT format. Committed by GA. See Issue 53304, 53306.

- fix

  Add extension to place code just before PostScript %PageTrailer. Committed by GA. Thanks to Luis Bernardo. See Issue 53295.

- fix

  Fix invalid PostScript file being created when font-size is 0. Committed by GA. Thanks to Robert Meyer. See Issue 53294.

- fix

  Stop outputting the Type entry for structure elements in order to create a smaller PDF ouptut when accessibility is enabled. Committed by VH. Thanks to Martin Koegler.

- fix

  Support fractional line widths in AFP renderer, fixing problem with SVG line drawing. Committed by GA. Thanks to Luis Bernardo. See Issue 53242.

- fix

  Fix for invalid PDF for certain numerical values in SVG lineargradient. Committed by GA. Thanks to Luis Bernardo. See Issue 40699.

- fix

  Fix for XGC when rendering PostScript using SVG being drawn upside down when using a custom affine transform. Committed by GA. Thanks to Robert Meyer. See Issue 48723.

- fix

  Don't write final /sect suffix in RTF if section is last section. Committed by GA. Thanks to Benjamin Riefenstahl. See Issue 51484.

- fix

  Take leading derived space before/after into account when computing rows for TXT renderer. Committed by GA. See Issue 52114.

- fix

  Improved fix of a bug relating to PCL painter thread safetly. Previous fix in rev 895012 worked by synchronizing methods of a static instance of Java2DFontMetrics. This fix uses a unique instance for per thread. Committed by PH. See Issue 48062.

- fix

  Fixed a bug in AFP where an ArrayOutofBoundsException is throwqn when embedding a Page Segment. Committed by PH.

- fix

  Fixed a bug in AFP where the object area axes of an Include Object was incorrectly set when rotated by 180. Committed by PH.

- fix

  Fixed a multi-threading bug for SVG images included through svg:image inside SVG documents. Committed by JM.

- fix

  Fix for alternative text not working in tagged PDF for TIFF images. Committed by VH.

- fix

  Fixed io exception in MODCAParser caused by the improper use of mark() and reset() on the MODCA data input stream. Added unit test. Committed by PH. See Issue 50909.

- fix

  Fixed mapping of font weights between CSS values and TextAttribute.WEIGHT_*. Committed by JM. Thanks to Glenn Adams. See Issue 50899.

- fix

  AFP GOCA: fonts were not embedded from within AFPGraphics2D. Committed by JM.

- fix

  AFP GOCA: Changed the way FOP fonts are selected based on Batik's GVT fonts to match the behaviour of PDF/PS output. Committed by JM.

- fix

  AFP GOCA: Work-around for InfoPrint's AFP implementation which seems to lose the character set state over Graphics Data (GAD) boundaries. Committed by JM.

- fix

  Bugfix for AFP GOCA segments: they were not properly marked as appended which could lead to graphics state changes in some implementations. Committed by JM.

- fix

  Bugzilla 51010: Bookmarks create useless lines in RTF Committed by CB. Thanks to Max Aster. See Issue 51010.

- fix

  Bugzilla 51008: page-number-citation-last does not work in RTF Committed by CB. Thanks to Max Aster. See Issue 51008.

- fix

  Bugzilla 50988: Fixed a NullPointerException in case a white-space fo:character was removed due to white-space handling. Committed by AD. Thanks to Matthias Reischenbacher. See Issue 50987.

- fix

  Bugzilla 50987: Fixed an issue in PDF output where a link was added to the parent tree instead of the related structure element. Committed by AD. Thanks to Martin Koegler. See Issue 50987.

- fix

  Bugzilla 50986: Fixed an issue where invalid PDF page content was generated due to incorrect ET/EMC sequences. Committed by AD. Thanks to Martin Koegler. See Issue 50986.

- fix

  Increased maximum possible PDF size from 2GB to around 9GB (hard maximum imposed by the PDF specification). Committed by JM.

- fix

  Fix to preserve the order of AFP TLEs and NOPs as given in the XSL-FO document. Committed by JM. Thanks to Mehdi Houshmand. See Issue 50705.

- fix

  Fixed a multi-threading issue when rendering SVG. Committed by JM. Thanks to Alexios Giotis. See Issue 46360.

- remove

  Removed old Renderer implementations for those output formats that have a version based on the new DocumentHandler architecture available (AFP, PCL, PDF, PS). Committed by VH.

## Changes to unit tests or other test code

- fix

  Fix errors and warnings in example files. Add build.xml for documentation examples. Committed by GA.

- update

  Add test for basic-link with padding. Committed by GA. Thanks to Matthias Reischenbacher. See Issue 50196.

## Contributors to this release

We thank the following people for their contributions to this release.

This is a list of all people who participated as committers:
Adrian Cumiskey (AC), Andreas Delmelle (AD), Chris Bowditch (CB), Glenn Adams (GA), Jeremias Märki (JM), Mehdi Houshmand (MH), Peter Hancock (PH), Simon Pepping (SP), Vincent Hennebert (VH).

This is a list of other contributors:
Adrian Buza, Alberto Simões, Alexandros Papadakis, Alexios Giotis, Andrejus Chaliapinas, Armin Haaf, Benjamin Riefenstahl, Carsten Pfeiffer, Dieter von Holten, Georg Datterl, Glenn Adams, Joshua Marquart, Julien Aymé, Luis Bernardo, Luis Bernardo, Matthias Reischenbacher, Martin Koegler, Matthias Reischenbacher, Max Aster, Mehdi Houshmand, Melanie Drake, Michael Rubin, Ognjen Blagojevic, Pascal Sancho, Patrick Jaromin, Paul Huemer, Peter Hancock, Robert Meyer, Sergey Vladimirov, Simon Pepping, Tassos Charoulis, Vincent Hennebert.

# Version 1.0 (21 July 2010)

## Changes to the End-User API

- add

  Added a command-line option '-catalog' to use a catalog resolver for the XML and XSLT files Committed by SP.

## Changes to the Code Base

- add

  Added support for xmlfile and xsltfile parameters in FOP's Ant Task. Committed by AC.

- add

  Added the possibility to use CachedRenderPagesModel, to conserve memory in case of large documents with a lot of cross-references (area tree will be serialized to disk to avoid keeping it entirely in memory). Committed by AD. Thanks to Dario Laera. See Issue 46828.

- add

  Added an event handling framework which allows to get better feedback from within FOP with the ability to customize problem management. Committed by JM.

- fix

  Bugfix: when #CMYK pseudo-profile was used in the rgb-icc() function, always the fallback RGB colors were used instead. Committed by VH. Thanks to Venkat Reddy. See Issue 48167.

- fix

  White-space handling in markers with inline-content throws a NullPointerException in some cases. Committed by AD. See Issue 47710.

- fix

  Bugfix: previously retrieved markers were not cleared if the new marker was empty. Committed by AD. See Issue 46960.

- fix

  Changed meaning of ‘-v’ option to ‘verbose’, which will print FOP’s version and proceed. Added a ‘-version’ option to simply print the version then exit, following Java practices. Committed by VH.

- fix

  MinOptMaxUtil.toMinOptMax was converting LengthRangeProperty objects into illegal MinOptMax objects (in some cases opt could be inferior to min). Committed by VH. See Issue 46638.

- fix

  Fixed a memory-leak in Marker.MarkerAttribute, where an instance was used both as key and value in a WeakHashMap, effectively neutralizing the benefit of using WeakReferences. Solved by extending PropertyCache to work for MarkerAttributes as well. Committed by AD. See Issue 46319.

- fix

  Fixed some multi-threading issues in FontCache.java:
  - remove the unused private readObject()
  - make the changeLock member final (initialization-safety + impossible to reassign)
  - perform the HashMap check for a failed font inside the synchronized block to avoid a race condition
  Committed by AD. Thanks to rogov.AT.devexperts.com. See Issue 46211.

- fix

  Improved the behaviour of the command line interface. Committed by VH. Thanks to Tow Browder. See Issue 45971.

- fix

  Make fop.bat and fop.cmd use the %FOP_OPTS% environment variable. Committed by AD. Thanks to Carsten Siedentop. See Issue 45842.

- fix

  Quick-fix to avoid a possible NullPointerException when using empty inlines and hyphenation. Committed by AD. See Issue 45667.

- fix

  Fixed memory leak in property cache (not cleaning stale PropertyCache$CacheEntry instances). Committed by JM.

- fix

  Fixed a slight error when resolving non-file URLs: avoid altering the original 'href' if the protocol is other than 'file:' Committed by AD. Thanks to Thomas Stieler. See Issue 45490.

- fix

  Corrected white-space-treatment for situations where an inline-node is the first/last child node of an fo:block, without preceding/following text. Committed by AD. See Issue 45097.

- fix

  Fixed a logic error in Hyphenator.java: If the source had an associated InputStream, an UnsupportedOperationException was triggered. Committed by AD. See Issue 44203.

- update

  Changed FONode.addCharacters() parameter to closer match the signature of the standard SAX characters() event (reduces confusion and computations). !! Implementors of extensions that subclass FONode directly, and offer an implementation for addCharacters() should take care to make similar modifications in their code !! Committed by AD.

## Changes to the Bundled Extensions

- add

  Added support for the #CMYK pseudo-profile supported by some commercial XSL implementations on the rgb-icc() function. Committed by JM.

## Changes to the Font Subsystem

- add

  Added support for TrueType fonts with symbol character maps (like "Wingdings" and "Symbol"). Character for these fonts are usually found in the 0xF020 to 0xF0FF range (a Unicode private use area). Committed by JM.

- add

  Added support for specifying referenced fonts per renderer in addition to the general match list. Committed by JM.

- add

  Added a command-line tool to list all configured fonts (org.apache.fop.tools.fontlist.FontListMain). Committed by JM.

- add

  AFP Fonts: Added support for full URI resolution on configured AFP fonts. Committed by JM.

- add

  FOP now creates ToUnicode CMaps for single-byte fonts that don't use built-in encodings to help PDF text extractors interpreting characters. Committed by JM.

- add

  Added support for forcing single-byte encodings for TrueType fonts without creating an XML font metric file (see "encoding-mode" attribute on "font" element) Committed by JM.

- add

  For auto-detected fonts it is now possible to specify that a font needs to be referenced rather than embedded (for the output formats that support this distinction). Committed by JM.

- add

  Add support for font substitution. Committed by AC.

- add

  Added support for auto-configuring TrueType Collections. XML font metrics files for *.ttc fonts are not required anymore. Committed by JM. Thanks to Jason Harrop. See Issue 44737.

- add

  Added support for addressing all glyphs available in a Type 1 font, not just the ones in the font's primary encoding. Committed by JM.

- fix

  Bugfix: Font selection fallbacks did not work in some cases (ex. bold+italic to normal) Committed by JM.

- fix

  Fixed generation of CIDSet object in PDF output. Committed by JM. Thanks to Nicolas Peninguy. See Issue 47711.

- fix

  Bugfix: support PFM Files with no extent table. Committed by CB.

- fix

  Bugfix: for the last character of a Type1 font, always a width of 0 was returned. Committed by VH. Thanks to Maxim Wirt. See Issue 47232.

- fix

  Use temporary directory for the font cache if the user home directory is not write-accessible. Committed by JM. Thanks to Alok Singh. See Issue 46686.

- fix

  More robust AFP font parsing, although it is still in need of some rework in the future. Committed by AC.

- fix

  Fix for PFMReader after bug #43089 changed the behavior of PFMFile. Fixes baseline problems when Type 1 fonts are used in conjunction with XML font metric files. Committed by JM. Thanks to J. Frantzius. See Issue 45734.

## Changes to the Image Support

- add

  Added customization ability for the image loading framework from FOP's configuration file. Committed by JM.

- add

  Added support for SVG 1.2 functionality inside fo:instream-foreign-object. Committed by JM. See Issue 41657.

- fix

  Bugfix: use the effective color profile supplied by the ImageEncodingHelper, instead of the original one. Committed by JM.

## Changes to the Layout Engine

- add

  Implement internal character classes if the hyphenation pattern file does not contain them Committed by SP.

- add

  Added limited support for pages of different inline-progression-dimensions within a page-sequence. Committed by VH.

- add

  Added basic implementation for column-keeps. Committed by AD. See Issue 46905.

- add

  Added extension to disable column balancing before blocks spanning the whole page, in multiple-column documents. Committed by VH. Thanks to Georg Datterl. See Issue 46315.

- add

  Added missing generation of areas for empty grid units in tables with collapsing border model. Committed by JM.

- add

  Allowing non-zero borders and padding on page regions when relaxed validation is turned on. Committed by LF.

- add

  Implemented word-by-ford font-selection strategy on text. Committed by MB.

- add

  Support character-by-character font-selection strategy on fo:character element. Committed by MB.

- add

  Added minimal support for integer keep values on the various keep properties on block-level FOs. For now, all integer values are treated the same (i.e. without strength distinction). Using integers allows to avoid overflows that can happen when "always" is used extensively. Committed by JM.

- fix

  Bugfix: having a special page-master for the last page caused loss of content when normal blocks were mixed with blocks spanning all columns. Committed by VH. See Issue 46486.

- fix

  Bugfix: value of conditional space not always taken into account in the calculation of a table’s height. Committed by VH. See Issue 48082.

- fix

  Fixed handling of percentage values for provisional-label-separation. Committed by VH.

- fix

  Fixed handling of percentage values for provisional-distance-between-starts. Committed by VH. Thanks to Jonathan Levinson. See Issue 47835.

- fix

  Bugfix: The cells of a table inside a marker were duplicated at every marker retrieval. Committed by VH. See Issue 47101.

- fix

  Bugfix: footnotes occurring within the forced height of a table row did not appear on the output Committed by VH.

- fix

  Fixed a bug when combining a forced break with a "last" page-master. The restart of the algorithm would start at the index of the penalty corresponding to the last page-break. This has been changed to the index of the first element after the last page-break. Committed by AD. See Issue 46489.

- fix

  Fixed BPD trait and border painting for leaders with leader-pattern="space" (and similar cases). Committed by JM.

- fix

  Fixed fo:instream-foreign-object inside fo:marker. Committed by JM. See Issue 45306.

- fix

  Fixed a bug when combining break-before with a span change. Committed by AD. See Issue 46240.

- fix

  Fixed a problem where the BPD or a block area could be wrong if there is a nested, absolutely positioned area (for example a block-container). Committed by JM.

- fix

  Bugzilla 40798: A conditional-page-master-reference with page-position="last" qualifies for a first page, if it is also the last. Additionally: also added support for page-position="only". Committed by AD. See Issue 40798.

- fix

  Fixed the source for a division by zero when the content of an fo:leader with leader-pattern="use-content" collapses to zero width during layout. Committed by JM.

- fix

  Fixed ID resolution for nested bookmarks with duplicated IDs. Committed by JM.

- fix

  Added LayoutManagerMapping.registerMaker() to make registration of custom layout managers easier. Committed by JM. See Issue 45470.

- fix

  Fixed absolute positioning of block-containers when specified using right and bottom instead of left and top. Committed by LF.

- fix

  Fixed an inconsistency in footnote handling that led to unnecessary empty areas in pages whose last normal line contains footnotes when the page bpd is not the same for all pages. Committed by LF.

- fix

  Added support for page-number-citation and page-number-citation-last of fo:inline. Corrected behavior for page-number-citation-last of fo:block: forward references now properly resolved. Committed by AD. See Issue 44794.

- fix

  Added support for the "id" attribute on fo:wrappers when used as a child of the fo:flow. Committed by AD. See Issue 42423.

- fix

  Fixed a ClassCastException when using an fo:wrapper as a child of an fo:block-container. Committed by AD. See Issue 41500.

- fix

  Fixed a regression introduced by the fix for Bugzilla 44286. Committed by AD. See Issue 42703.

- fix

  Activated min-height/max-height and min-width/max-width properties. Committed by AD. See Issue 43591.

## Changes to Renderers (Output Formats)

- add

  AFP Output: Added enhanced dithering functionality for images that are converted to bi-level images. Committed by JM.

- add

  Initial support for CID-keyed double-byte fonts (Type 0) in AFP output. Committed by JM. Thanks to Peter Hancock. See Issue 48567.

- add

  Added possibility to customize PDF tagging via the ‘role’ property. Committed by VH.

- add

  Added basic accessibility and Tagged PDF support. Committed by JM,VH. Thanks to Jost Klopfstein. See Issue 46705.

- add

  Added support for encoding CMYK bitmap images (IOCA FS45) and TIFF images as embedded objects. Committed by JM.

- add

  Added support for positioning Page Overlays in AFP Output Committed by CB.

- add

  Added support for creating thumbnails or preview bitmaps of fixed size for PNG and TIFF output. Committed by JM.

- add

  AFP Output: Added support for IMM Extension on fo:simple-page-master. Committed by CB.

- add

  Added an initial set of extensions for prepress support (fox:bleed, fox:crop-offset, fox:crop-box and fox:scale). This is currently supported only by PDF and Java2D renderers. Committed by JM. Thanks to Peter Coppens. See Issue 47311.

- add

  PCL Output: Added support for specifying the output bin. Committed by JM.

- add

  AFP Output: Added support for embedding external AFP form maps (form defs) using the afp:include-form-map extension. Committed by JM.

- add

  AFP Output: Added support for AFP font embedding. Note: this changes the default behaviour. Like with PDF and PS, all fonts are embedded by default unless matched in the "referenced-fonts" section in the configuration. Committed by JM.

- add

  AFP Renderer Raster Fonts:
  - added support for fractional font-sizes in the configuration.
  - selection of the smaller font-size, in case two possible fallbacks have the same difference to a requested size.
  Committed by AD.

- add

  Added setting to enable dithered painting of filled rectangles in AFP and PCL. Committed by JM.

- add

  Added a custom text painter for rendering SVG text using text operators when rendering to PostScript or EPS. Text is no longer painted as shapes, thus creating much smaller files. Committed by JM. See Issue 47000.

- add

  AFP Output: Tag Logical Element (TLE) is now also allowed on fo:page-sequence (page group level). Committed by JM.

- add

  AFP Output: Added support for Invoke Medium Map (IMM). Committed by JM.

- add

  Introduced a new, additional intermediate format optimized for performance. Please see the intermediate format documentation for details. Committed by JM.

- add

  AFP Output: Added a configuration option to override the resource level defaults in the code. Committed by JM.

- add

  AFP Output: Bilevel images in resource groups as generated as hard page segments (instead of image objects) for better interoperability with older IPDS environments and for better printing performance. Committed by JM.

- add

  AFP Output: An AFPGraphics2D implementation which provides the ability to use Batik to drive the production of AFP Graphics (GOCA) output from SVG. Committed by AC.

- add

  AFP Output: Resource group leveling, external streaming, and de-duplication of images and graphics using IncludeObject and ResourceGroup. Committed by AC.

- add

  AFP Output: Native image embedding support (e.g. JPEG, GIF, TIFF) using ObjectContainer and a MOD:CA Registry implementation. Committed by AC.

- add

  Added PDF /Launch action: references to URIs using the file:// protocol will now generate a /Launch action as opposed to a more general /URI (which doesn't yield the expected result for this protocol). Committed by AD. Thanks to Alexander Stamenov. See Issue 45113.

- add

  PDF Output: Added support for handling 16-bit alpha channel. They are currently converted to 8 bits. Committed by JM. See Issue 45795.

- add

  Added PDF encryption parameter support in configuration. Committed by AC.

- add

  Added a PCL-specific extension attribute on simple-page-master for controlling the simplex/duplex mode. Committed by JM. Thanks to Martin Edge. See Issue 45115.

- add

  Add partial support for the "show-destination" property on fo:basic-link (PDF output only; see limitations on the compliance page) Committed by AD. See Issue 44634.

- add

  Added support for rendering pages using JPS (Java Printing System). See new example: examples/embedding/java/ExamplesFO2JPSPrint.java Committed by JM.

- add

  Restored ability to specify from/to and odd/even pages as well as the number of copies for printing from the command-line. Committed by JM. See Issue 41687.

- add

  Added ability to pass a preconfigured PrinterJob instance to the PrintRenderer via the rendering options map. Committed by JM. Thanks to Antti Karanta. See Issue 44678.

- add

  Added a public accessor for reference to the current page to PDFGraphics2D. Committed by JM. Thanks to Yegor Kozlov. See Issue 44743.

- fix

  AFP Output: Fixed positioning of Java2D-based images (when GOCA is enabled). Committed by JM.

- fix

  AFP Output: Fix for bitmap images inside an SVG or G2D graphic (printer errors) and positioning fix for bitmaps from G2D graphics. Committed by JM.

- fix

  Fix for AWT viewer to correctly track page numbers in continuous display mode. Committed by JM. Thanks to Richard Wheeldon. See Issue 42306.

- fix

  Bugfix for formatting of floating point numbers which could lead to invalid PDFs. Committed by JM.

- fix

  Added a save/restoreGraphicsState pair for the initial coordinate system in PDF output for easier post-processing. Committed by JM.

- fix

  Bugfix for color model in IOCA IDE structure parameter for 4- and 8-bit grayscale images. Committed by JM. Thanks to Peter Hancock. See Issue 48696.

- fix

  Bugfix: AFP Renderer: Respect image color settings for svg Committed by CB. Thanks to Peter Hancock. See Issue 48237.

- fix

  Bugfix: AFP Renderer: Page Overlays not generated when using Intermediate Format Committed by CB. Thanks to Venkat Reddy. See Issue 48376.

- fix

  Bugfix: AFP Renderer: Underline is incorrectly placed when reference-orientation != 0 Committed by CB. See Issue 48456.

- fix

  Bugfix: AFP Renderer: Page Segments not positioned correctly when reference-orientation != 0 Committed by CB. See Issue 48453.

- fix

  Bugfix: AFP Renderer: AttributeQualifier Triplet occurs before TLE Value. Committed by CB. See Issue 48290.

- fix

  Bugfix in AFP output: fixed flags in GOCA GBAR order. Committed by JM. Thanks to D.W. Harks. See Issue 48048.

- fix

  Bugfix in AFP output: rounding error when computing the CMYK components of a color. Committed by VH. Thanks to Harald G. Henne. See Issue 48185.

- fix

  BugFix: Maintain valid AFP by providing TLE truncation on Attribute Value Triplet values that are greater than 250 chars in length. Committed by AC. See Issue 47941.

- fix

  Dithered Background Shading can produce illegal AFP if objects are very small Committed by CB. See Issue 47694.

- fix

  Bugfix: Error while writing TLE's attribute qualifier in the output. Committed by AD. Thanks to Bharat Attaluri. See Issue 47508.

- fix

  Bugfix: support justified text in AFP Renderer (already working in AFP Painter) Committed by CB.

- fix

  Bugfix: reset graphic state when a page is finished in PostScript. Committed by JM.

- fix

  Fixed a bug that left the PrintRenderer unconfigured even if a configuration was specified for "application/X-fop-print". Committed by JM.

- fix

  Fixed the handling of CMYK colors in PDFGraphics2D. Committed by JM. Thanks to Yegor Kozlov. See Issue 46882.

- fix

  AFP Fonts: Fixed interpretation of metric for fonts with fixed metrics and made sure all repeating groups in FNP (Font Position) are processed. Committed by JM. Thanks to Emil Maskovsky. See Issue 45342.

- fix

  Fixed black backgrounds occurring for transparent images in PCL output. Committed by JM.

- fix

  Fixed bug that caused AFP Renderer Extensions to be ignored. Committed by CB. See Issue 46369.

- fix

  Fixed a multi-threading issue when rendering SVG. Committed by JM.

- fix

  PDF Output: Made sure the XMP Metadata stream is never compressed. Committed by JM.

- fix

  Fix for table handling in RTF output, so the output works with OpenOffice and AbiWord, too. Committed by JM. Thanks to Pavel Kysilka. See Issue 45616.

- fix

  Fixed text stroking in SVG when the stroke-width is zero. Committed by JM.

- fix

  Fixed border trait parsing for the area tree XML when CMYK or ICC colors were used. Committed by JM.

- fix

  Fixed generation of "fonttbl" for RTF output to fix loading problem with AbiWord. Committed by JM. Thanks to Pavel Kysilka. See Issue 45606.

- fix

  PCL Renderer: Improved page format selection so it doesn't interfere with duplex printing. Committed by JM. See Issue 43650.

- update

  PDFGraphics2D.writeClip doesn't generate a clip command anymore when the clip path is empty. Committed by JM. Thanks to Francois Fernandes. See Issue 47031.

- update

  When a JPEG image is embedded, an optionally embedded color profile is filtered out as it's already embedded separately in the PDF file. Committed by JM.

## Contributors to this release

We thank the following people for their contributions to this release.

This is a list of all people who participated as committers:
Adrian Cumiskey (AC), Andreas Delmelle (AD), Chris Bowditch (CB), Jeremias Märki (JM), (JM,VH), Luca Furini (LF), Max Berger (MB), Simon Pepping (SP), Vincent Hennebert (VH).

This is a list of other contributors:
Alexander Stamenov, Alok Singh, Antti Karanta, Bharat Attaluri, Carsten Siedentop, D.W. Harks, Dario Laera, Emil Maskovsky, Francois Fernandes, Georg Datterl, Harald G. Henne, J. Frantzius, Jason Harrop, Jonathan Levinson, Jost Klopfstein, Martin Edge, Maxim Wirt, Nicolas Peninguy, Pavel Kysilka, Peter Coppens, Peter Hancock, Richard Wheeldon, rogov.AT.devexperts.com, Thomas Stieler, Tow Browder, Venkat Reddy, Yegor Kozlov.

# Version 0.95 (05 August 2008)

## Changes to the End-User API

- fix

  Fixed the -imagein command-line option. Committed by JM.

## Changes to the Code Base

- fix

  Fixed potential multi-threading problem concerning the use of DecimalFormat. Committed by JM. See Issue 44887.

## Changes to the Font Subsystem

- fix

  Fixed text extraction problem with ZapfDingbats and Symbol font in PDF output. Committed by JM.

- fix

  Fixed NullPointerException when loading a TrueType font using XML font metric files. Committed by JM.

## Changes to the Image Support

- fix

  Fixed two bugs concerning resolution handling with SVG images and their conversion to bitmaps for RTF output. Committed by JM.

- fix

  Fixed a performance problem concerning image serialization. Committed by JM.

## Changes to the Layout Engine

- fix

  Fixed NullPointerException when page-number-citations are used inside a marker. Committed by AD. See Issue 45295.

- fix

  Regression bugfix: Multiple collapsible breaks don't cause empty pages anymore. Committed by JM. See Issue 44412.

- fix

  Various bugfixes for table layout. Committed by VH. See Issue 44621.

## Changes to Renderers (Output Formats)

- add

  Added support for fo:leader for RTF output (no full support!). Fixes problems with empty leaders being used to force empty lines among other issues. Committed by JM. Thanks to Maximilian Aster. See Issue 43825.

- add

  Added support for page-number-citation for RTF output. Committed by JM. Thanks to Maximilian Aster. See Issue 43824.

- fix

  Fixed a color selection problem which occurred after an image has been painted through the Graphics2DAdapter in PDF output. Committed by JM.

- fix

  Fixed page ordering problem with AWTRenderer. Committed by JM. See Issue 41306.

- fix

  Fixed image scaling for RTF output. Committed by JM. See Issue 39980.

- fix

  Fixed handling of proportional-column-width() and percentages for table column in RTF output. Committed by JM. Thanks to Maximilian Aster. See Issue 43606.

- fix

  Fixed resolution handling inside AWT preview dialog. Committed by JM.

- fix

  Fixed positioning of absolutely positioned block-containers in multi-column documents. Committed by JM.

- fix

  Fixed rendering of fixed block-containers in AFP output. Committed by JM.

- fix

  Fixed regression causing bad positioning of block-containers if used as descendant of a table-cell. Committed by JM.

## Contributors to this release

We thank the following people for their contributions to this release.

This is a list of all people who participated as committers:
Andreas Delmelle (AD), Jeremias Märki (JM), Vincent Hennebert (VH).

This is a list of other contributors:
Maximilian Aster.

# Version 0.95beta (26 March 2008)

## Changes to the End-User API

- remove

  Removed deprecated methods in the "apps" package that were left-overs from the API discussions. Committed by JM.

## Changes to the Code Base

- add

  Turned on XInclude processing for the main source given on the command line. Committed by MB.

- add

  Added very basic parsing for the xml:lang shorthand. Committed by AD.

- add

  Added support for SVGZ. Committed by JM. Thanks to Max Berger. See Issue 43597.

- fix

  Added correct percentage resolution for arguments to the proportional-column-width() function. Committed by AD. See Issue 41631.

- fix

  Fixed a bug when the rgb-icc() function was used either before the fo:declarations, or in documents without a fo:declarations node. In such cases, the sRGB fallback is now used to avoid an ugly NullPointerException. Committed by AD. See Issue 43705.

- fix

  Fixed a bug when using relative font-size (smaller/larger) in combination with percentages. Committed by AD. See Issue 44343.

- fix

  Fixed a memory-leak in XMLWhiteSpaceHandler. Committed by AD. Thanks to Stefan Ziel. See Issue 44286.

- fix

  Bugfix for URI resolution: Make StreamSources without system identifier work again. Committed by JM.

- fix

  Avoid a NullPointerException in AreaTreeHandler.endDocument(). Committed by JM. Thanks to David Delbecq. See Issue 43910.

## Changes to the Bundled Extensions

- add

  New extension attribute fox:transform on fo:block-container allows free-form transformation (rotation, scaling etc.) of absolute and fixed block-containers. Supported only for PDF, PS and Java2D-based renderers. Committed by JM.

- add

  Added new extension element: fox:external-document. It allows to add whole documents such as multi-page TIFF images to be inserted as peers to a page-sequence. Each image will make up an entire page. See the documentation for details. Committed by JM.

## Changes to the Font Subsystem

- add

  Added support for unusual font encodings (like for Symbol or Cyrillic fonts) of Type 1 fonts in PDF and PostScript output. Committed by JM.

- add

  Add Font support in jar files. Committed by AC. Thanks to Max Berger. See Issue 42982.

- fix

  Improved the font auto-detection so fonts accessed using the font-family name are selected with higher accuracy. Committed by JM. Thanks to Justus Piater. See Issue 44451.

- fix

  Bugfix for date formatting with negative time zones in the PDF's Info object. This affected PDF/A compliance. Committed by JM.

- fix

  Bugfix for handling of optional tables in subset TrueType fonts. This bug caused errors in various PDF viewers. Committed by JM.

- fix

  Bugfix: Use Font.getName() (logical font name) instead of Font.getFontName() (localized) when registering fonts from AWT. Committed by JM. Thanks to David Churavy. See Issue 43835.

- fix

  Made the way TrueType fonts are embedded in PDF compliant to the specification so viewers correctly identify subset fonts. Committed by JM.

- fix

  Fixed font-autodetection so fonts with uppercase extensions are detected, too. Committed by JM.

- fix

  Fix to avoid NullPointerException when parsing ExpertEncoded and ExpertSubsetEncoded Type 1 fonts. Committed by AC. See Issue 43143.

- update

  Improved font auto-detection and handling of AWT-supplied fonts in order to achieve better results when using multiple output formats. Whenever possible, the font names appearing in the operating system can also be used in XSL-FO. Committed by JM.

## Changes to the Image Support

- fix

  A new image loading framework has been introduced to fix various problems with external graphics and improve performance. Committed by JM.

## Changes to the Layout Engine

- add

  Added support for background on fo:table-column and fo:table-header/footer/body elements. Committed by VH.

- add

  Added full support for keep-with-previous on fo:table-row and in fo:table-cell elements. Committed by VH.

- add

  Added full support for breaks before and after table cells (that is, break-before/after set on the first/last child of a cell). Committed by VH.

- add

  Added full support for breaks inside the cells of a table. Committed by VH.

- add

  Added support for conditional borders in tables, for both the separate and the collapsing border model. Committed by VH. See Issue 43934.

- add

  Added minimal support for the .minimum/.maximum components of block/inline-progression-dimension on fo:external-graphic and fo:instream-foreign-object. Committed by JM.

- add

  Added support for scale-down-to-fit and scale-up-to-fit (introduced in XSL 1.1). Committed by JM.

- add

  Added methods for fo:page-number-citation(-last) in FOEventHandler. Committed by JM. Thanks to V. Schappert. See Issue 43605.

- add

  Step towards performance: the collapsing-border resolution algorithm no longer triggers the retrieving of the whole table, when possible. Committed by VH.

- add

  Added check for table-cells which span more rows than available in their parent element (table-header/footer/body). Committed by VH.

- add

  Added support for fo:markers in fo:inline and fo:basic-link. Committed by AD.

- add

  Added support for ids on empty fo:inlines. Committed by AD. See Issue 42748.

- fix

  Bugfix: The before border of a block is no longer swallowed if its first child issues a break-before. Committed by JM. See Issue 44412.

- fix

  Bugfix: When there was a forced break after a block with (conditional) borders the border-after wasn't painted. Committed by JM. See Issue 44412.

- fix

  Bugfix: a forced break inside a cell was ignored when occurring before the minimum height set on the enclosing row was set. Committed by VH.

- fix

  Fixed exceptions when lists, tables or block-container are children of an inline-level FO. Committed by JM.

- fix

  Fixed the rendering of the area of a table corresponding to border-separation, which must be filled with the background of the table, and not the rows. Committed by VH.

- fix

  Improved conformance: even if a table-cell spans several rows its background must correspond to the first row spanned. Committed by VH.

- fix

  Moved to the FO tree stage the check for break-before/after on table-row while spanning in progress. Committed by VH. See Issue 44321.

- fix

  Fixed the resolution of borders when header/footer is omitted at page breaks. Committed by VH. See Issue 44289.

- fix

  Fixed a possible IndexOutOfBoundsException that could happen with certain constellations when footnotes are used. Committed by JM. See Issue 44160.

- fix

  Compliance fix: for absolutely positioned block-containers, "top" wasn't interpreted correctly. Committed by JM.

- fix

  Bugfix: content of a row with zero height overriding the previous row Committed by VH. See Issue 43633.

- fix

  Bugfix for border-after painting and element list generation when a forced break is involved. Committed by JM. See Issue 43917.

- fix

  Bugfix: no empty page is generated anymore if there's no content after a break-after. Committed by JM. See Issue 40230.

- fix

  Restored proper handling of fo:table-cell having no children, which is allowed in relaxed validation mode. Committed by VH. See Issue 43803.

- fix

  Memory Leak fixed in the Property Cache. Fixed by Jeremias Maerki. Reported and Tested By Chris Bowditch. Committed by JM.

- fix

  Bugfix in tables: wrong element generation by the merging algorithm when glues must be produced to cope with conditional spaces. The corresponding length was added twice: one in the glue itself and one in the following box. Committed by VH. See Issue 43712.

- fix

  Bugfix: breaks generated by the merging algorithm for a table-row containing empty cells had always a penalty of 900. Committed by VH. See Issue 43766.

- fix

  In case of missing cells the border-end of the table was applied to an inner cell, instead of the (empty) cell in the last column. Committed by VH.

- fix

  Fixed the resolution of borders with table-columns (border-before/after was wrongly applied to every cell of the column). Committed by VH.

- fix

  Fixed the resolution of border-end on cells spanning several rows. Committed by VH. See Issue 42768.

- fix

  Bugfix for NPE with empty table-row (regression from 0.93). Committed by JM.

- fix

  Fixed swallowing PCDATA in text-node children of retrieved markers. Committed by AD. See Issue 42705.

- fix

  Fixed erroneous white-space removal in retrieved markers. Committed by AD. See Issue 42703.

- fix

  Fixed erroneous usage of inherited color-values in SVG. Committed by AD. Thanks to ckohrn.at.tng.de. See Issue 43274.

- update

  Facilitate the implementation for font-selection-strategy:
  • Changed FontInfo.fontLookup to always return an array of FontTriplet.
  • Changed CommonFont.getFontState to return an array of FontTriplet.
  • Initial modifications to the related LMs: initialized with the font corresponding to the first of the triplets.
  Committed by AD.

- update

  PropertyCache phase 2:
  • improvement of the PropertyCache itself should now guarantee acceptable performance of the static caches in multi-session environments, which is a possible problem with synchronizedMap.
  • changed CommonFont to use the cache: added CachedCommonFont to contain the properties that are always cacheable CommonFont itself is only cached if the remaining properties are absolutes.
  • changed CommonHyphenation, KeepProperty, ColorProperty and FontFamilyProperty to use the cache.
  Committed by AD.

## Changes to Renderers (Output Formats)

- add

  Added an option to disable the default sRGB profile in PDF output for those who don't care about color fidelity, but care about PDF file size. Committed by JM.

- add

  Added support for the natural language indentifier ("Lang" in the document catalog) for PDF documents based on the language/country values on fo:page-sequence. Committed by JM.

- add

  PostScript output now generates the bounding box DSC comments for the whole document. Committed by JM.

- add

  Added support for PDF page labels. Committed by JM.

- add

  Added support for custom fonts in Java2DRenderer and derived renderers. Committed by JM. Thanks to Patrick Jaromin. See Issue 44176.

- add

  Added generic structures to the PDF library in order to support PDF file in fo:external-graphic later. Committed by JM.

- add

  Added a configuration setting to the PCL renderer to disable PJL commands. Committed by JM.

- add

  Added a configuration setting for the renderer/device resolution to the AFP renderer. Committed by JM. Thanks to Adrian Cumiskey. See Issue 43041.

- fix

  Slight improvement for thin lines in Java2D/AWT output. Committed by JM. Thanks to Gordon Cooke.

- fix

  Fixed logic error setting the transformation matrix for block-container viewports (applies to absolute and fixed block-containers only). Important: External renderer implementations need to adjust for the change and implement the new method concatenateTransformationMatrix(AffineTransform) if the renderer is derived from AbstractPathOrientedRenderer. Committed by JM.

- fix

  Fixed generation of named destinations so it works when the PDF document is encrypted. Committed by JM.

- fix

  Bugfix: allow multiple bookmarks to point at the same destination. Committed by JM. See Issue 37993.

- fix

  Fixed regression: transparent-page-background was not recognized for PNG output. Committed by JM.

- fix

  Postscript extension cleanup. Committed by AC. Thanks to Andrejus Chaliapinas. See Issue 43042.

- fix

  Fix to avoid ClassCastException where multiple ps:ps-comments are declared within fo:declarations. Committed by AC. See Issue 43587.

- fix

  Fixes missing TLE value attribute when using AreaTree input with the AFP renderer. Committed by AC. See Issue 43439.

- fix

  Fix to avoid a ClassCastException in renderer configuration. Committed by JM. Thanks to Bruno Feurer. See Issue 43464.

- fix

  Fixed the restoration of the TLE values from the intermediate format for the AFP extension elements. Committed by JM. Thanks to Adrian Cumiskey. See Issue 43439.

- update

  PDF Transcoder (SVG) text painting has been completely rewritten. Except for some special cases (with filters for example), all text (including flow text) is now painted using PDF text operators. Committed by JM.

## Contributors to this release

We thank the following people for their contributions to this release.

This is a list of all people who participated as committers:
Adrian Cumiskey (AC), Andreas Delmelle (AD), Jeremias Märki (JM), Max Berger (MB), Vincent Hennebert (VH).

This is a list of other contributors:
Adrian Cumiskey, Andrejus Chaliapinas, Bruno Feurer, ckohrn.at.tng.de, David Churavy, David Delbecq, Gordon Cooke, Justus Piater, Max Berger, Patrick Jaromin, Stefan Ziel, V. Schappert.

# Version 0.94 (24th August 2007)

## Changes to the Code Base

- add

  Support for keep-together.within-line="always". Committed by MM.

- add

  Add support for conditional spaces in table-cells. Committed by VH.

- add

  Support alignment-adjust for images. Committed by AD. Thanks to Max Berger. See Issue 42785.

- add

  Partial application of the patch in Bugzilla 41044: * addition of a generic PropertyCache to be used by all Property types that can be safely canonicalized * modified EnumProperty, StringProperty, NumberProperty, EnumNumber and FixedLength to make use of the cache infrastructure Committed by AD. Thanks to Richard Wheeldon. See Issue 41044.

- add

  Slight improvement of relative font-weight handling in the properties package. Committed by AD.

- add

  Add support for font auto-detection (easier font configuration). Committed by JM. Thanks to Adrian Cumiskey. See Issue 41831.

- add

  Add support for exact positioning of internal PDF links. Committed by JM. Thanks to Paul Vinkenoog. See Issue 42067.

- add

  Add support for the collapsing-border model in tables. Committed by VH, JM. See Issue 36934.

- add

  Add support for named destinations in PDF. Committed by JB.

- add

  Add support for a two-pass production for PostScript output to minimize file size. This adds images only once and adds only the fonts that are really used. Committed by JM.

- add

  Support for GIF images in RTF output (RTF handler, only. Does not affect the RTF library.) Committed by JM.

- add

  Support for soft masks (transparency) with ImageIO image adapter. Committed by JM.

- add

  Added support for the soft hyphen (SHY) character. Committed by MM.

- add

  Added support for line-height-shift-adjustment property. Committed by MM.

- add

  Added support for the system property fop.home to cli.Main.getJARList(). Committed by SP.

- add

  Added support for display-align for table-cell in RTF output. Committed by JM. See Issue 40930.

- add

  Added support for UAX#14 type line breaking. Support does not extend across nested fo:inline elements. Committed by MM.

- fix

  AFP Renderer: Bugfix for 1 bit images where the width is not a multiple of 8. Committed by JM.

- fix

  Fixed incomplete support for Unicode Word Joiner characters (U+2060 and U+FEFF). Committed by MM.

- fix

  Fixed the rendering of zero-width spaces for certain fonts by not generating them into the area tree. Committed by JM. Thanks to Paul Vinkenoog. See Issue 42109.

- fix

  Fixed a problem with disappearing footnotes inside hyphenated inlines (and footnotes with hyphenated inline child). Committed by LF.

- fix

  Fix PDF Genaration for non-ASCII compatible locales. Committed by JM. Thanks to Martin Kögler. See Issue 41434.

- fix

  Fix several exceptions when break-before/after is set on the first/last row of a table. Committed by VH.

- fix

  Fix extra page break when break-before is set on both a table and its first row. Committed by VH.

- fix

  Make keep-with-next and keep-with-previous work on fo:table. Committed by VH.

- fix

  Fixed a problem with keep-with-next on table-rows. Once a keep-with-next was set inside a table, the FO following the table would always be glued to the previous table. Committed by JM.

- fix

  Fixed a problem with the auto-rotate-landscape setting in the PostScript renderer. It didn't generate the right setpagedevice command. Committed by JM.

- fix

  Fixed an IllegalArgumentException for absolutely positioned block-containers with a border and no height/bpd set. Committed by JM.

- fix

  If a line contained nothing but a linefeed, this didn't produce empty lines. Replaced the auxiliary zero-width box with a glue the width of a line, and shrinkable to zero-width. Committed by AD. See Issue 41652.

- fix

  Stricter FOP user configuration checking Committed by VH. Thanks to Adrian Cumiskey. See Issue 40120.

- fix

  Fix parsing 'url(...)' when the URL itself contains a bracketed part. Committed by AD. Thanks to Erwin Tratar. See Issue 41572.

- fix

  Fix for NPE with PNG images for RTF output. Committed by JM.

- fix

  Fix for properly parsing font-family names containing spaces. Committed by AD.

- fix

  Fix incorrect behaviour of the BreakingAlgorithm when some inline content is wider than the available ipd, causing a restart. Committed by LF. See Issue 41019.

- fix

  Fix for PDF corruption when a TrueType font with spaces in its name is embedded and no XML font metrics file for that font is used. Committed by JM.

- fix

  Fix for ClassCastException when fo:wrapper was used as direct child of fo:flow. Note: "id" attributes are still not handled properly on fo:wrapper! Committed by JM. Thanks to Adrian Cumiskey. See Issue 41426.

- update

  Refactoring in the fo package: -> removal of the childNodes instance member in fop.fo.FObj -> addition of a firstChild instance member in fop.fo.FObj -> addition of a siblings instance member in fop.fo.FONode -> addition of a FONodeIterator interface in FONode + corresponding implementation in FObj -> changed implementations of FObj.addChildNode(), .removeChild() and .getChildNodes() Committed by AD. See Issue 41656.

- update

  Code cleanup and restructuring: Refactoring of PageSequenceLayoutManager and provide common FObj id property use Committed by AD. Thanks to Adrian Cumiskey. See Issue 42089.

- update

  Updated PDF/A-1b support according to ISO-19005-1:2005/Cor.1:2007. Committed by JM.

- update

  Use source resolution setting for bitmap images which don't provide their own resolution. Committed by JM. Thanks to Hussein Shafie. See Issue 42406.

## Contributors to this release

We thank the following people for their contributions to this release.

This is a list of all people who participated as committers:
Andreas Delmelle (AD), Jay Bryant (JB), Jeremias Märki (JM), Luca Furini (LF), Manuel Mall (MM), Simon Pepping (SP), Vincent Hennebert (VH), (VH, JM).

This is a list of other contributors:
Adrian Cumiskey, Erwin Tratar, Hussein Shafie, Martin Kögler, Max Berger, Paul Vinkenoog, Richard Wheeldon.

# Version 0.93 (9 January 2007)

## Changes to the Code Base

- add

  Added support for the use of Open Type fonts Committed by BD.

- add

  Added initial support for loading fonts without a pre-created XML font metric file. Committed by 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). Committed by JM. Thanks to Peter Coppens. See Issue 40729.

- add

  Added support for SVG in fo:instream-foreign objects for RTF output. Committed by JM. Thanks to Dominic Brügger. See Issue 40849.

- add

  Added support for CCITT compression in the TIFFRenderer by switching to the ImageWriter abstraction from XML Graphics Commons. Committed by JM. Thanks to Oliver Hernàndez Valls. See Issue 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. Committed by 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. Committed by JM.

- add

  Added support for PDF/A-1b and PDF/X-3:2003. (Note: this may still be a bit incomplete. Feedback is welcome!) Committed by JM.

- add

  The CIDSet object is now generated for CID fonts which are embedded in PDFs. (Required by PDF/A). Committed by JM.

- add

  Automatic support for all fonts available to the Java2D subsystem for all Java2D-descendant renderers (TIFF, PNG, print, AWT). Committed by JM.

- add

  Initial support for page-number-citation-last (XSL 1.1). Works without problems only for page-sequence so far. Committed by JM. Thanks to Pierre-Henri Kraus. See Issue 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. Committed by JM.

- fix

  Bugfix: Nested tables with headers and footers were not handled correctly and could overlap with the region-after. Committed by JM.

- fix

  Split up FOText instances larger than 32K characters to avoid integer overflow during layout. Committed by AD. See Issue 39414.

- fix

  Bugfix: Corrected painting of shading patterns and position of links for SVG images inside FO documents. Committed by 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. Committed by AD.

- fix

  Fixed a memory-leak: The FO tree part of a page-sequence was not released when a page-sequence was finished. Committed by JM.

- fix

  Bugfix: Table headers and footers were swallowed when a table was nested in a list-block. Committed by JM.

- fix

  Fixed a bug with indent handling when margins are used on a surrounding block and not start/end-indent. Committed by JM.

- fix

  Compatibility fix for GCJ (GNU Classpath): Using "UTF-16BE" instead of "UnicodeBigUnmarked" encoding. Committed by JM. Thanks to Jeroen Meijer. See Issue 40106.

- fix

  Fixed handling for CCITT Group 4 TIFF images with fill order 2. Committed by JM. Thanks to Gilles Beaugeais. See Issue 40062.

- fix

  Fixed setting of page margins in AWT Renderer like it was done in the print renderer. Committed by JM. Thanks to Igor Istomin. See Issue 40048.

- fix

  Fixed two memory-leaks in image handling. The image cache is finally working properly. Committed by 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!) Committed by JM. See Issue 39608.

- fix

  Bugfix: Potential multi-threading issue (ConcurrentModificationException) eliminated for ElementMapping classes. Committed by JM.

- fix

  No more System.exit() and look & feel setting calls inside the reusable parts of the AWT viewer. Committed by JM.

- fix

  Proper escaping of characters in list-items labels for RTF output. Committed by JM.

- fix

  Bugfix: FOUserAgent specific configuration parameters specified in config file were not set when FOP was invoked from command line. Committed by MM.

- fix

  Bugfix: components of the border-separation property weren't set when in shorthand-mode, leading to a NPE being thrown. Committed by AD. See Issue 39712.

- fix

  Bugfix: Table headers were omitted when a table is a child of a block-container. Committed by JM.

- fix

  Bugfix: Bookmarks in PDF will be generated even if some bookmarks cannot be resolved. Committed by 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. Committed by AD. See Issue 39560.

- fix

  Bugfix: All fonts names were converted unnecessarily to lower case in RTF output. Committed by JM.

- fix

  Bugfix: The combination of hyphenation and kerning resulted in slightly ragged right ends for right-aligned and justified text. Committed by JM.

- fix

  Bugfix: NullPointerException in AreaAdditionUtil in a table-cell spanning multiple pages and with a marker. Committed by JM.

- fix

  Bugfix: NullPointerException in RTF output when a table does not contain table-columns. Committed by JM. See Issue 39533.

- fix

  Bugfix: NullPointerException in RTF library when there are no borders on the parent table. Committed by JM. Thanks to Julien Aymé. See Issue 39607.

- fix

  Bugfix: Improved baseline detection in TTFReader for TrueType fonts. Committed by JM.

- fix

  Bugfix: tables nested in inline elements caused a NullPointerException. Committed by JM. See Issue 39443.

- fix

  Bugfix: Sections with span="all" lead to overlapping text if spanning multiple pages. Committed by JM. See Issue 39443.

- fix

  Bugfix: Percentages in vertical-align property values were not correctly handled. Committed by MM.

- fix

  Bugfix: Gaps in table-columns cause a NullPointerException. Committed by JM. Thanks to Gerhard Oettl. See Issue 38243.

- fix

  Bugfix: TABs were not correctly replaced by spaces in some circumstances. Committed by MM.

- fix

  Bugfix: basic-links with internal destinations in documents with multiple page-sequences sometimes pointed at the wrong page. Committed by 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. Committed by JM.

- fix

  Bugfix: Fixed OutOfMemoryException with long data URLs (RFC 2397). Committed by JM. See Issue 39285.

- update

  Enabled Copy/Paste from PDF content in Acrobat Reader for text using embedded TrueType fonts. Committed by BD. Thanks to Adam Strzelecki, Victor Mote. See Issue 5535.

- update

  Commented out unused properties, in order to minimize memory usage. Committed by SP. Thanks to Richard Wheeldon. See Issue 41044.

- update

  Removed unused attributes from TableCell. Committed by SP. Thanks to Richard Wheeldon. See Issue 41009.

- update

  Minor fixes and improvements for the AWT Preview (keyboard shortcuts, scrolling, windows setup). Committed by JM. Thanks to Richard Wheeldon. See Issue 40813.

- update

  Minor fix: correctly set negative values for ipd/bpd to zero. Committed by AD.

- update

  Rework of default column-creation / column-width setting from cells in the first row. Committed by AD. See Issue 35656.

- update

  Added relaxed validation for empty list-item-*, as suggested by Gary Reed. Committed by AD. Thanks to Gary Reed. See Issue 40270.

- update

  Modified proportional-column-width() function to log an error if used with table-layout=auto Committed by AD.

- update

  Changed the way overflowing pages are handled. The overflow property on region-body is now used to define the behaviour. Committed by 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. Committed by 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. Committed by JM.

- update

  Changed the internal representation of colors to use Java's own color infrastructure instead of FOP's home-grown classes. Committed by JM. Thanks to Max Berger. See Issue 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. Committed by JM.

## Contributors to this release

We thank the following people for their contributions to this release.

This is a list of all people who participated as committers:
Andreas Delmelle (AD), Bertrand Delacrétaz (BD), Jeremias Märki (JM), Manuel Mall (MM), Simon Pepping (SP).

This is a list of other contributors:
Adam Strzelecki, Victor Mote, Dominic Brügger, Gary Reed, Gerhard Oettl, Gilles Beaugeais, Igor Istomin, Jeroen Meijer, Julien Aymé, Max Berger, Oliver Hernàndez Valls, Peter Coppens, Pierre-Henri Kraus, Richard Wheeldon.

# Version 0.92beta (18 Apr 2006)

## Changes to the Code Base

- add

  Initial support for page-position="last" added. Committed by 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) Committed by JM.

- add

  Added support for fixed-width spaces. Committed by JM.

- add

  Added support for kerning. Committed by JM.

- add

  Support for "userconfig" attribute in FOP Ant Task. Committed by JM. Thanks to Jirí Mareš.

- add

  Initial support for XMP metadata (PDF 1.4) under fo:declarations. Committed by JM.

- add

  Added support for the background-position shorthand property. Committed by AD.

- add

  Added support for the font shorthand property. Committed by AD.

- add

  Added support for system-color() function. Committed by JM. Thanks to Max Berger. See Issue 38618.

- add

  Added support for the from-table-column() function. Committed by AD. Thanks to Gerhard Oettl (gerhard.oettl.at.oesoft.at). See Issue 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. Committed by 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. Committed by MM. See Issue 36729.

- add

  Added support for RFC2397 "data" URLs. Committed by JM. Thanks to Richard Wheeldon. See Issue 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). Committed by JM.

- add

  Added feature: support for white-space shorthand Committed by AD.

- add

  Added feature: support for page-break-* shorthands Committed by 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. Committed by 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. Committed by JM.

- fix

  Bugfix: Allow URLs in basic-link's external-destination to be wrapped in "url()". Committed by JM.

- fix

  Bugfix: Corrected enumerated property value for white-space property from "no-wrap" to "nowrap". Committed by MM.

- fix

  Bugfix: Added support for white-space-treatment="preserve" in particular to support the white-space="pre" short hand property. Committed by MM. See Issue 38457.

- fix

  Corrected expectation and behaviour for the text-indent property to only apply to the first line area generated by a block. Committed by 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. Committed by JM.

- fix

  Bugfix: Certain filter combinations in PDF could lead to invalid PDFs. DecodeParams were not properly handled. Committed by JM.

- fix

  Bugfix: CCITT Group 4 encoded TIFF images with multiple strips are now properly embedded in PDF files. Committed by 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. Committed by JM.

- fix

  Bugfix: Fixed an NPE that was thrown when a table was used inside a footnote-body. Committed by 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.) Committed by JM.

- fix

  Bugfix: When the base URL was specified as a file system path, the constructed URL was wrong. Committed by JM.

- fix

  Bugfix: Fixed two causes for ClassCastExceptions in BlockContainerLayoutManager. Committed by JM.

- fix

  Bugfix: padding-top and padding-bottom on list-items could lead to wrong page break decisions and thus to overlapping text. Committed by JM.

- fix

  Bugfix: break-before and break-after were ignored on list-items. Committed by JM.

- fix

  Bugfix: The elements representing a non-breaking space weren't always correct. Committed by LF. See Issue 38507.

- fix

  Bugfix: Text-decoration was not promoted if no text-decoration attribute was specified on a nested element. Committed by JM. See Issue 38453.

- fix

  Bugfix: Spanned cells could lead to an false error message about overlapping cells and ultimately a NullPointerException. Committed by JM. See Issue 38397.

- fix

  Bugfix: Regions with non-standard names got ignored in RTF output leading to missing headers and footers. Committed by JM.

- fix

  The RTF output now properly generates the "\landscape" flag for documents in landscape orientation. Committed by 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. Committed by 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. Committed by JM.

- fix

  Bugfix: Spans that end up with a negative height don't get swallowed anymore. Committed by JM. See Issue 38054.

- fix

  Bugfix: Certain border styles could lead to a NullPointerException. Committed by JM. See Issue 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. Committed by JM. See Issue 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. Committed by JM.

- fix

  Bugfix: Image height for BMP images was incorrectly calculated Committed by MM. See Issue 38089.

- fix

  Bugfix: NullPointerException on certain fo:inline within lists. Committed by MM. See Issue 38053.

- fix

  Bugfix: ClassCastException on certain fo:inline with border combinations. Committed by MM. See Issue 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. Committed by MM.

- update

  Implement property name as default argument on some xsl-function calls. Committed by SP. Thanks to Gerhard Oettl. See Issue 38098.

- update

  Implement force-page-count property of page-sequence. Committed by SP. Thanks to Gerhard Oettl. See Issue 38087.

- update

  Improvements to the code for inline block content. Committed by SP.

- update

  Revision of refinement white-space handling. Committed by AD.

## Contributors to this release

We thank the following people for their contributions to this release.

This is a list of all people who participated as committers:
Andreas Delmelle (AD), Jeremias Märki (JM), Luca Furini (LF), Manuel Mall (MM), Simon Pepping (SP).

This is a list of other contributors:
Gerhard Oettl, Gerhard Oettl (gerhard.oettl.at.oesoft.at), Jirí Mareš, Max Berger, Richard Wheeldon.

# Version 0.91beta (23 Dec 2005)

## Changes to the Code Base

- add

  Added checks that warn about tables and block-containers that are wider than the available content area. Committed by JM.

- add

  First attempt at SVG support in RTF output. SVG images are converted to 300dpi JPEG images internally. Committed by 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. Committed by 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. Committed by 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. Committed by JM.

- add

  Implemented "Overconstrained Geometry" rules (5.3.4, XSL 1.0) for the most important cases. Committed by JM.

- add

  Support for leader painting in PostScript output. Committed by JM.

- add

  Support for hyphenation-ladder-count. Committed by LF, MM.

- fix

  Fixed a bug where the linefeed-treatment property value "preserve" was not honoured when used in conjunction with text-align="center". Committed by MM.

- fix

  Bugfix: hard breaks with even-page or odd-page were not handled correctly when spaces were surrounding the break. Committed by JM. See Issue 37964.

- fix

  Fixed a bug where SVG content could be clipped when rendered to PostScript. Committed by 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! Committed by JM.

- fix

  Bugfix: Some content inside a table-header may not have been renderered on pages n > 1 in certain conditions. Committed by JM. See Issue 37875.

- fix

  Fixed a bug where an empty line, i.e. a block containing only a &nbsp;, was not rendered at all. Committed by 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. Committed by JM.

- fix

  Bugfix: Footnotes were lost if the footnote appeared in centered text. Committed by JM. See Issue 37880.

- fix

  Fix to correct image sizes in RTF output. Committed by JM.

- fix

  The output file is now deleted when an exception occurs when calling FOP from the command-line. Committed by 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. Committed by JM.

- fix

  Bugfix: Column balancing produced strange break decisions in certain multi-column documents with large amounts of text. Committed by JM. See Issue 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. Committed by JM. Thanks to Tom Craddock. See Issue 37815.

- fix

  Bugfix: A span="all" on the first block cause a subsequent page break and the first block didn't span all columns. Committed by JM. See Issue 37813.

- fix

  Bugfix: Self-created OutputStreams in PNG Renderer were not properly closed. Committed by 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. Committed by JM.

- fix

  Bugfix: Space resolution was incomplete for content in table-cells. Conditional elements didn't get removed. Committed by 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. Committed by 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. Committed by 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. Committed by JM.

- fix

  Bugfix for placement of text inside a text area when borders are present in PostScript output. Committed by 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. Committed by 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. Committed by 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. Committed by JM.

- update

  Additional checks to detect text overflows. The overflow property is now properly handled where applicable. Committed by JM.

- update

  Source location information improved. If location information is not available, the context information is provided based on text content. Committed by JM.

- update

  The border-collapse property on fo:table is now forced to the value "separate" until the collapsing border has been implemented. Committed by JM.

- update

  Improvements on leader painting in PDF output. Committed by JM.

## Contributors to this release

We thank the following people for their contributions to this release.

This is a list of all people who participated as committers:
Jeremias Märki (JM), (LF, MM), Manuel Mall (MM).

This is a list of other contributors:
Tom Craddock.

# Version 0.90alpha1 (22 Nov 2005)

## Changes to the Code Base

- 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/"`. Committed by all.

## Contributors to this release

We thank the following people for their contributions to this release.

This is a list of all people who participated as committers:
the FOP committers (all).

# Version 0.20.5 (18 July 2003)

## Changes to the Code Base

- update

  For the change log for the maintenance branch (where FOP 0.20.5 came from), please see the "CHANGES" file in the distribution, or the CHANGES file in the SVN repository. Committed by all.

## Contributors to this release

We thank the following people for their contributions to this release.

This is a list of all people who participated as committers:
the FOP committers (all).

# All Committers

This is a list of all people who have ever participated as committers on this project.

- Glenn Adams (GA)
- Max Berger (MB)
- Chris Bowditch (CB)
- Jay Bryant (JB)
- Adrian Cumiskey (AC)
- Bertrand Delacrétaz (BD)
- Andreas Delmelle (AD)
- Luca Furini (LF)
- Christian Geisert (CG)
- Peter Hancock (PH)
- Vincent Hennebert (VH)
- Mehdi Houshmand (MH)
- Clay Leeds (CL)
- Manuel Mall (MM)
- Jeremias Märki (JM)
- Simon Pepping (SP)
- the FOP committers (all)
- Volunteer needed (open)