diff options
-rw-r--r-- | KEYS | 57 | ||||
-rw-r--r-- | README | 37 | ||||
-rw-r--r-- | src/documentation/content/.htaccess | 7 | ||||
-rw-r--r-- | src/documentation/content/xdocs/0.91/anttask.xml (renamed from src/documentation/content/xdocs/0.90/anttask.xml) | 0 | ||||
-rw-r--r-- | src/documentation/content/xdocs/0.91/compiling.xml (renamed from src/documentation/content/xdocs/0.90/compiling.xml) | 0 | ||||
-rw-r--r-- | src/documentation/content/xdocs/0.91/configuration.xml (renamed from src/documentation/content/xdocs/0.90/configuration.xml) | 46 | ||||
-rw-r--r-- | src/documentation/content/xdocs/0.91/embedding.xml (renamed from src/documentation/content/xdocs/0.90/embedding.xml) | 23 | ||||
-rw-r--r-- | src/documentation/content/xdocs/0.91/extensions.xml (renamed from src/documentation/content/xdocs/0.90/extensions.xml) | 0 | ||||
-rw-r--r-- | src/documentation/content/xdocs/0.91/fonts.xml (renamed from src/documentation/content/xdocs/0.90/fonts.xml) | 27 | ||||
-rw-r--r-- | src/documentation/content/xdocs/0.91/graphics.xml (renamed from src/documentation/content/xdocs/0.90/graphics.xml) | 0 | ||||
-rw-r--r-- | src/documentation/content/xdocs/0.91/hyphenation.xml (renamed from src/documentation/content/xdocs/0.90/hyphenation.xml) | 0 | ||||
-rw-r--r-- | src/documentation/content/xdocs/0.91/index.xml (renamed from src/documentation/content/xdocs/0.90/index.xml) | 7 | ||||
-rw-r--r-- | src/documentation/content/xdocs/0.91/output.xml (renamed from src/documentation/content/xdocs/0.90/output.xml) | 0 | ||||
-rwxr-xr-x | src/documentation/content/xdocs/0.91/pdfencryption.xml (renamed from src/documentation/content/xdocs/0.90/pdfencryption.xml) | 0 | ||||
-rw-r--r-- | src/documentation/content/xdocs/0.91/running.xml (renamed from src/documentation/content/xdocs/0.90/running.xml) | 2 | ||||
-rw-r--r-- | src/documentation/content/xdocs/0.91/servlets.xml (renamed from src/documentation/content/xdocs/0.90/servlets.xml) | 0 | ||||
-rw-r--r-- | src/documentation/content/xdocs/0.91/upgrading.xml (renamed from src/documentation/content/xdocs/0.90/upgrading.xml) | 23 | ||||
-rw-r--r-- | src/documentation/content/xdocs/compliance.ihtml | 60 | ||||
-rw-r--r-- | src/documentation/content/xdocs/dev/release.xml | 42 | ||||
-rw-r--r-- | src/documentation/content/xdocs/index.xml | 2 | ||||
-rw-r--r-- | src/documentation/content/xdocs/news.xml | 9 | ||||
-rw-r--r-- | src/documentation/content/xdocs/relnotes.xml | 140 | ||||
-rw-r--r-- | src/documentation/content/xdocs/site.xml | 6 | ||||
-rw-r--r-- | src/documentation/content/xdocs/tabs.xml | 2 | ||||
-rw-r--r-- | src/documentation/content/xdocs/trunk/fonts.xml | 27 | ||||
-rw-r--r-- | src/documentation/content/xdocs/trunk/upgrading.xml | 12 | ||||
-rw-r--r-- | status.xml | 15 |
27 files changed, 412 insertions, 132 deletions
@@ -2,7 +2,9 @@ This file contains the PGP keys of various developers. Please don't use them for email unless you have to. Their main purpose is code signing. -Users: pgp < KEYS +Users: + pgp < KEYS + (gpg --import < KEYS) Developers: pgp -kxa <your name> and append it to this file. (pgpk -ll <your name> && pgpk -xa <your name>) >> this file. @@ -11,6 +13,8 @@ Developers: pub 1024D/8408F755 2003-01-20 Christian Geisert <chrisg@apache.org> sub 1024g/41D98B12 2003-01-20 +pub 1024D/7C611584 2005-07-19 Jeremias Märki <jeremias@apache.org> +sub 2048g/C0F1AD34 2005-07-19 -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1.0.6 (GNU/Linux) @@ -38,3 +42,54 @@ Eq/rMruVPwCg34SJtFP5wtlgHa7kdhBLKoenD7g= =+cef -----END PGP PUBLIC KEY BLOCK----- +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v1.4.2 (MingW32) + +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 +UKHCLjnj2UtX8OfockTGIic= +=1nMU +-----END PGP PUBLIC KEY BLOCK----- @@ -4,23 +4,6 @@ $Id$ APACHE FOP - README ============================================================================== -+----------------------------------------------------------------------------+ -| | -| **** IMPORTANT! **** | -| | -| This release is the first after a big redesign effort on the whole FOP | -| codebase. This release is to be considered ALPHA quality and it is | -| intended as a preview release encouraging people to take a look at the new | -| version and to provide feedback to the developers. Please not only report | -| to us problems you might experience but also tell us if it works for you. | -| If you find out that this version works fine for you, you're welcome to | -| use it but please test it thoroughly as we don't consider this release | -| ready for every production environment. Please read the following page for | -| more detailed information: | -| http://xmlgraphics.apache.org/fop/0.90/upgrading.html | -| | -+----------------------------------------------------------------------------+ - Contents of this file: - What is FOP? - Where to get help? @@ -76,26 +59,32 @@ Simply by typing "fop" on the command-line. Without any parameters you will receive a screen with instruction on how to call FOP from the command-line. -For more details, see: http://xmlgraphics.apache.org/fop/0.90/running.html +For more details, see: http://xmlgraphics.apache.org/fop/latest/running.html ============================================================================== RELEASE NOTES ============================================================================== -Version 0.90alpha1 +Version 0.91 beta --------------------- We don't list all the changes since the 0.20.5 release, since this release represents the first after a complete redesign of the FOP codebase. This -is basically a new software. +is basically a new software. But the changes since 0.90 alpha 1 can be looked +up under http://xmlgraphics.apache.org/fop/changes.html. Upgrading from 0.20.5: -Please read http://xmlgraphics.apache.org/fop/0.90/upgrading.html +Please read http://xmlgraphics.apache.org/fop/latest/upgrading.html + +The Apache FOP team asks you for your continued feedback on the new software. +We're also interested in success stories with the new release. So if the +latest version works fine for you, please tell us! And if it doesn't, you +may tell us as well, of course. ;-) Caveats: - - This release is a preview release and not intended for use in a - production environment. Use at your own risk! + - This release is a beta release. If you intend to use this software + in a production environment, please perform careful testing. - The API is not to be considered stable, yet. Please be prepared for the API to be changed in a backwards-incompatible way. - You may experience different behaviour compared to version 0.20.5. @@ -148,3 +137,5 @@ Known issues: and attempting to create columns implicitly from the first table row is not implemented, yet (Bugzilla #35656). - Leaders with the "rule" pattern don't work for PostScript output. + - break-after may in some cases cause subsequent content to be swallowed. + Please use break-before, if possible. diff --git a/src/documentation/content/.htaccess b/src/documentation/content/.htaccess index 5a01cf134..4b0540fa1 100644 --- a/src/documentation/content/.htaccess +++ b/src/documentation/content/.htaccess @@ -15,6 +15,7 @@ RedirectMatch Permanent ^/fop/servlets(.*) http://xmlgraphics.apache.org/fop/0.2 # redirect to versioned documentation Redirect Temp /fop/stable http://xmlgraphics.apache.org/fop/0.20.5 Redirect Temp /fop/current http://xmlgraphics.apache.org/fop/0.20.5 -Redirect Temp /fop/0.90alpha1 http://xmlgraphics.apache.org/fop/0.90 -Redirect Temp /fop/unstable http://xmlgraphics.apache.org/fop/0.90 -Redirect Temp /fop/latest http://xmlgraphics.apache.org/fop/0.90 +Redirect Temp /fop/0.90alpha1 http://xmlgraphics.apache.org/fop/0.91 +Redirect Temp /fop/0.91beta http://xmlgraphics.apache.org/fop/0.91 +Redirect Temp /fop/unstable http://xmlgraphics.apache.org/fop/0.91 +Redirect Temp /fop/latest http://xmlgraphics.apache.org/fop/0.91 diff --git a/src/documentation/content/xdocs/0.90/anttask.xml b/src/documentation/content/xdocs/0.91/anttask.xml index fd8a7e0dc..fd8a7e0dc 100644 --- a/src/documentation/content/xdocs/0.90/anttask.xml +++ b/src/documentation/content/xdocs/0.91/anttask.xml diff --git a/src/documentation/content/xdocs/0.90/compiling.xml b/src/documentation/content/xdocs/0.91/compiling.xml index ad02f3046..ad02f3046 100644 --- a/src/documentation/content/xdocs/0.90/compiling.xml +++ b/src/documentation/content/xdocs/0.91/compiling.xml diff --git a/src/documentation/content/xdocs/0.90/configuration.xml b/src/documentation/content/xdocs/0.91/configuration.xml index c5e1b8973..0b845bcf9 100644 --- a/src/documentation/content/xdocs/0.90/configuration.xml +++ b/src/documentation/content/xdocs/0.91/configuration.xml @@ -71,9 +71,43 @@ <td>Specifies the base URL based on which relative URL will be resolved.</td> </tr> <tr> - <td>resolution</td> + <td>source-resolution</td> <td>Integer, dpi</td> - <td>Resolution in dpi (dots per inch) which is used internally.</td> + <td> + Resolution in dpi (dots per inch) which is used internally to determine the pixel + size for SVG images and bitmap images without resolution information. + </td> + </tr> + <tr> + <td>target-resolution</td> + <td>Integer, dpi</td> + <td> + Resolution in dpi (dots per inch) used to specify the output resolution for bitmap + images generated by bitmap renderers (such as the TIFF renderer) and by bitmaps + generated by Apache Batik for filter effects and such. + </td> + </tr> + <tr> + <td>strict-validation</td> + <td>Boolean (true, false)</td> + <td> + Setting this option to 'false' causes FOP to be more forgiving about XSL-FO validity, + for example, you're allowed to specify a border on a region-body which is supported + by some FO implementations but is non-standard. Note that such a border would + currently have no effect in Apache FOP.</td> + </tr> + <tr> + <td>break-indent-inheritance</td> + <td>Boolean (true, false)</td> + <td> + Setting this option to 'true' causes FOP to use an alternative rule set to determine + text indents specified through margins, start-indent and end-indent. Many commercial + FO implementations have chosen to break the XSL specification in this aspect. This + option tries to mimic their behaviour. Please note that Apache FOP may still not + behave exactly like those implementations either because FOP has not fully matched + the desired behaviour and because the behaviour among the commercial implementations + varies. The default for this option (i.e. false) is to behave exactly like the + specification describes.</td> </tr> <tr> <td>default-page-settings</td> @@ -97,8 +131,12 @@ <!-- Base URL for resolving relative URLs --> <base>./</base> - <!-- Internal resolution in dpi (dots per pixel), default: 72dpi --> - <resolution>72</resolution> + + <!-- Source resolution in dpi (dots/pixels per inch) for determining the size of pixels in SVG and bitmap images, default: 72dpi --> + <source-resolution>72</source-resolution> + <!-- Target resolution in dpi (dots/pixels per inch) for specifying the target resolution for generated bitmaps, default: 72dpi --> + <target-resolution>72</target-resolution> + <!-- default page-height and page-width, in case value is specified as auto --> <default-page-settings height="11in" width="8.26in"/> diff --git a/src/documentation/content/xdocs/0.90/embedding.xml b/src/documentation/content/xdocs/0.91/embedding.xml index 2e77c11ab..9833faa0f 100644 --- a/src/documentation/content/xdocs/0.90/embedding.xml +++ b/src/documentation/content/xdocs/0.91/embedding.xml @@ -316,9 +316,19 @@ Fop fop = new Fop(MimeConstants.MIME_POSTSCRIPT, userAgent);]]></source> </li> <li> <p> - Set the <strong>internal resolution</strong> for the document. This is used when creating bitmap images, for example. Example: + Set the <strong>source resolution</strong> for the document. This is used internally to determine the pixel + size for SVG images and bitmap images without resolution information. Default: 72 dpi. Example: </p> - <source>userAgent.setResolution(300); //=300dpi (dots/pixels per Inch)</source> + <source>userAgent.setSourceResolution(96); //=96dpi (dots/pixels per Inch)</source> + </li> + <li> + <p> + Set the <strong>target resolution</strong> for the document. This is used to + specify the output resolution for bitmap images generated by bitmap renderers + (such as the TIFF renderer) and by bitmaps generated by Apache Batik for filter + effects and such. Default: 72 dpi. Example: + </p> + <source>userAgent.setTargetResolution(300); //=300dpi (dots/pixels per Inch)</source> </li> <li> <p> @@ -359,6 +369,15 @@ Fop fop = new Fop(MimeConstants.MIME_POSTSCRIPT, userAgent);]]></source> </p> <source>userAgent.setPDFEncryptionParams(new PDFEncryptionParams(null, "owner", false, false, true, true));</source> </li> + <li> + <p> + Enable an <strong>alternative set of rules for text indents</strong> that tries to mimic the behaviour of many commercial + FO implementations that chose to break the specification in this aspect. The default of this option is + 'false' which causes Apache FOP to behave exactly as describes in the specification. To enable the + alternative behaviour, call: + </p> + <source>userAgent.setBreakIndentInheritanceOnReferenceAreaBoundary(true);</source> + </li> </ul> <note> You should not reuse an FOUserAgent instance between FOP rendering runs although you can. Especially diff --git a/src/documentation/content/xdocs/0.90/extensions.xml b/src/documentation/content/xdocs/0.91/extensions.xml index 71fff1e09..71fff1e09 100644 --- a/src/documentation/content/xdocs/0.90/extensions.xml +++ b/src/documentation/content/xdocs/0.91/extensions.xml diff --git a/src/documentation/content/xdocs/0.90/fonts.xml b/src/documentation/content/xdocs/0.91/fonts.xml index ba5be8ed3..993fa047e 100644 --- a/src/documentation/content/xdocs/0.90/fonts.xml +++ b/src/documentation/content/xdocs/0.91/fonts.xml @@ -135,13 +135,19 @@ More information about fonts can be found at:</p> <title>Type 1 Font Metrics</title> <p>FOP includes PFMReader, which reads the PFM file that normally comes with a Type 1 font, and generates an appropriate font metrics file for it. To use it, run the class org.apache.fop.fonts.apps.PFMReader:</p> - <p>Windows:</p> - <source>java -cp build\fop.jar;lib\avalon-framework.jar;lib\xml-apis.jar; - lib\xercesImpl.jar;lib\xalan.jar + <p>Windows (on JDK 1.4 and later):</p> + <source>java -cp build\fop.jar;lib\avalon-framework.jar;lib\commons-logging.jar;lib\commons-io.jar org.apache.fop.fonts.apps.PFMReader [options] pfm-file xml-file</source> - <p>Unix:</p> - <source>java -cp build/fop.jar:lib/avalon-framework.jar:lib/xml-apis.jar: - lib/xercesImpl.jar:lib/xalan.jar + <p>Windows (on JDK 1.3.x):</p> + <source>java -cp build\fop.jar;lib\avalon-framework.jar;lib\commons-logging.jar;lib\commons-io.jar;lib\xml-apis.jar; + lib\xercesImpl.jar;lib\xalan.jar;lib\serializer.jar + org.apache.fop.fonts.apps.PFMReader [options] pfm-file xml-file</source> + <p>Unix (on JDK 1.4 and later):</p> + <source>java -cp build/fop.jar:lib/avalon-framework.jar:lib/commons-logging.jar:lib/commons-io.jar + org.apache.fop.fonts.apps.PFMReader [options] pfm-file xml-file</source> + <p>Unix (on JDK 1.3.1):</p> + <source>java -cp build/fop.jar:lib/avalon-framework.jar:lib/commons-logging.jar:lib/commons-io.jar:lib/xml-apis.jar: + lib/xercesImpl.jar:lib/xalan.jar:lib/serializer.jar org.apache.fop.fonts.apps.PFMReader [options] pfm-file xml-file</source> <p>PFMReader [options]:</p> <ul> @@ -153,8 +159,7 @@ name.</li> </ul> <note>The classpath in the above example has been simplified for readability. You will have to adjust the classpath to the names of the actual JAR files in the lib directory. -avalon-framework.jar is necessary only for versions 0.20.5 or later. -xml-apis.jar, xercesImpl.jar and xalan.jar are not necessary for JDK version 1.4 or later.</note> +xml-apis.jar, xercesImpl.jar, xalan.jar and serializer.jar are not necessary for JDK version 1.4 or later.</note> <note>The tool will construct some values (FontBBox, StemV and ItalicAngle) based on assumptions and calculations which are only an approximation to the real values. FontBBox and Italic Angle can be found in the human-readable part of the PFB file or in the AFM file. The PFMReader tool does not yet interpret PFB or AFM files, so if you want to be correct, you may have to adjust the values in the XML file manually. @@ -165,8 +170,7 @@ The constructed values however appear to have no visible influence.</note> <p>FOP includes TTFReader, which reads the TTF file and generates an appropriate font metrics file for it. Use it in a similar manner to PFMReader. For example, to create such a metrics file in Windows from the TrueType font at c:\myfonts\cmr10.ttf:</p> - <source>java -cp build\fop.jar;lib\avalon-framework.jar;lib\xml-apis.jar; - lib\xercesImpl.jar;lib\xalan.jar + <source>java -cp build\fop.jar;lib\avalon-framework.jar;lib\commons-logging.jar;lib\commons-io.jar org.apache.fop.fonts.apps.TTFReader [options] C:\myfonts\cmr10.ttf ttfcm.xml</source> <p>TTFReader [options]:</p> @@ -222,8 +226,7 @@ To create metrics files for these fonts, you must specify which font in the coll <p>To get a list of the fonts in a collection, just start the TTFReader as if it were a normal TrueType file (without the -ttcname option). It will display all of the font names and exit with an Exception.</p> <p>Here is an example of generating a metrics file for a .ttc file:</p> - <source>java -cp build\fop.jar;lib\avalon-framework.jar;lib\xml-apis.jar; - lib\xercesImpl.jar;lib\xalan.jar + <source>java -cp build\fop.jar;lib\avalon-framework.jar;lib\commons-logging.jar;lib\commons-io.jar org.apache.fop.fonts.apps.TTFReader -ttcname "MS Mincho" msmincho.ttc msminch.xml</source> </section> diff --git a/src/documentation/content/xdocs/0.90/graphics.xml b/src/documentation/content/xdocs/0.91/graphics.xml index e52f25736..e52f25736 100644 --- a/src/documentation/content/xdocs/0.90/graphics.xml +++ b/src/documentation/content/xdocs/0.91/graphics.xml diff --git a/src/documentation/content/xdocs/0.90/hyphenation.xml b/src/documentation/content/xdocs/0.91/hyphenation.xml index 3340f9c4f..3340f9c4f 100644 --- a/src/documentation/content/xdocs/0.90/hyphenation.xml +++ b/src/documentation/content/xdocs/0.91/hyphenation.xml diff --git a/src/documentation/content/xdocs/0.90/index.xml b/src/documentation/content/xdocs/0.91/index.xml index 0fac1c7c2..4d5e12b06 100644 --- a/src/documentation/content/xdocs/0.90/index.xml +++ b/src/documentation/content/xdocs/0.91/index.xml @@ -18,7 +18,7 @@ <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd"> <document> <header> - <title>Apache FOP 0.90 alpha 1</title> + <title>Apache FOP 0.91 beta</title> <version>$Revision: 201586 $</version> </header> <body> @@ -32,6 +32,11 @@ features and stabilizing the code. We welcome any feedback you might have and even more, any other form of help to get the project forward. </p> + <p> + This second release is mostly a bug fix release but also contains a few new features compared + to 0.90alpha1. To see what has changed since the last release, please visit the + <a href="../changes.html">Changes Page</a> and the <a href="../relnotes.html">Release Notes</a>. + </p> </section> <section id="upgrading"> <title>Upgrading from an earlier version</title> diff --git a/src/documentation/content/xdocs/0.90/output.xml b/src/documentation/content/xdocs/0.91/output.xml index d2aed60b3..d2aed60b3 100644 --- a/src/documentation/content/xdocs/0.90/output.xml +++ b/src/documentation/content/xdocs/0.91/output.xml diff --git a/src/documentation/content/xdocs/0.90/pdfencryption.xml b/src/documentation/content/xdocs/0.91/pdfencryption.xml index f0d717f18..f0d717f18 100755 --- a/src/documentation/content/xdocs/0.90/pdfencryption.xml +++ b/src/documentation/content/xdocs/0.91/pdfencryption.xml diff --git a/src/documentation/content/xdocs/0.90/running.xml b/src/documentation/content/xdocs/0.91/running.xml index 3eccf6807..182756359 100644 --- a/src/documentation/content/xdocs/0.90/running.xml +++ b/src/documentation/content/xdocs/0.91/running.xml @@ -119,7 +119,7 @@ Fop [options] [-fo|-xml] infile [-xsl file] [-awt|-pdf|-mif|-rtf|-tiff|-png|-pcl -c cfg.xml use additional configuration file cfg.xml -l lang the language to use for user information -r relaxed/less strict validation (where available) - -dpi xxx resolution in dots per inch (dpi) where xxx is a number + -dpi xxx target resolution in dots per inch (dpi) where xxx is a number -s for area tree XML, down to block areas only -v to show FOP version being used diff --git a/src/documentation/content/xdocs/0.90/servlets.xml b/src/documentation/content/xdocs/0.91/servlets.xml index 7a3f6493f..7a3f6493f 100644 --- a/src/documentation/content/xdocs/0.90/servlets.xml +++ b/src/documentation/content/xdocs/0.91/servlets.xml diff --git a/src/documentation/content/xdocs/0.90/upgrading.xml b/src/documentation/content/xdocs/0.91/upgrading.xml index 60ba5413c..e1a812f83 100644 --- a/src/documentation/content/xdocs/0.90/upgrading.xml +++ b/src/documentation/content/xdocs/0.91/upgrading.xml @@ -31,7 +31,7 @@ <ul> <li> More than half of the codebase has been rewritten over the last three years. The code is - new and not as stable as version 0.20.5. + relatively new and possibly not as stable as version 0.20.5 in every regard. </li> <li> The API of FOP has changed considerably and is not backwards-compatible with version 0.20.5. @@ -40,9 +40,6 @@ The new API is not stable, yet. Please be aware that further changes might still occur! </li> <li> - The configuration file format has changed (see the <a href="configuration.html">Configuration page</a> for details). - </li> - <li> <p> The new code is much more strict about the interpretation of the XSL-FO 1.0 specification. Things that worked fine in version 0.20.5 might start to produce warnings or even errors @@ -51,12 +48,15 @@ <note label="An example"> While FOP 0.20.5 allowed you to have empty <code>fo:table-cell</code> elements, the new code will complain about that (unless relaxed validation is enabled) because the specification - demands at least one block-level element (<code>(%block;)+</code>, see XSL-FO 1.0, 6.7.10) + demands at least one block-level element (<code>(%block;)+</code>, see + <a href="http://www.w3.org/TR/xsl/slice6.html#fo_table-cell">XSL-FO 1.0, 6.7.10</a>) inside an <code>fo:table-cell</code> element. </note> </li> <li> - Extensions written for version 0.20.5 will not work with the new code! + Extensions and Renderers written for version 0.20.5 will not work with the new code! The new FOP + extension for <a href="http://barcode4j.krysalis.org">Barcode4J</a> will be available in + January 2006. </li> <li> The PCL Renderer and the MIF Handler have not been resurrected, yet! They are currently non-functional @@ -91,13 +91,18 @@ </li> <li> As stated above empty table cells <code><fo:table-cell></fo:table-cell></code> - are not allowed. + are not allowed by the specification. The same applies to empty <code>static-content</code> + and <code>block-container</code> elements, for example. </li> <li> - 0.20.5 is not XSL-FO compliant with respect to sizing images or <code>instream-foreign-object</code> + 0.20.5 is not XSL-FO compliant with respect to sizing images (<code>external-graphic</code>) + or <code>instream-foreign-object</code> objects. If images or SVGs are sized differently in your outputs with the new FOP version check <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=37136">Bug 37136</a> - as it contains some hints on what to. + as it contains some hints on what to. The file + <a href="http://svn.apache.org/viewcvs.cgi/xmlgraphics/fop/trunk/examples/fo/basic/images.fo?view=markup"> + <code>"examples/fo/basic/images.fo"</code></a> has + a number of good examples that shows the new, more correct behaviour. </li> <li> The <code>fox:outline</code> extension not implemented in this version anymore. diff --git a/src/documentation/content/xdocs/compliance.ihtml b/src/documentation/content/xdocs/compliance.ihtml index 045082c45..3366914d6 100644 --- a/src/documentation/content/xdocs/compliance.ihtml +++ b/src/documentation/content/xdocs/compliance.ihtml @@ -176,7 +176,7 @@ 0.20.5 (current stable) </th> <th align="center"> - 0.90alpha1 (unstable) + 0.91 beta (unstable) </th> </tr> <tr> @@ -614,7 +614,7 @@ [0.20.5] For absolute positioning, use 'position="absolute"' (as 'absolute-position="absolute"' is not implemented), and specify all four of "left", "top", "width" and "height" </li> <li> - [0.90alpha1] No known restrictions. + [0.91 beta] No known restrictions. </li> </ul> </td> @@ -828,7 +828,7 @@ [0.20.5] Only works for table of contents without any problems. The case where the page number doesn't fit on a line isn't handled, and any text on the same line and after the page-number might not appear exactly where you want it to. </li> <li> - [0.90alpha1] After the page number is known, no relayout is performed. The appearance may be suboptimal depending on the use case. + [0.91 beta] After the page number is known, no relayout is performed. The appearance may be suboptimal depending on the use case. </li> </ul> </td> @@ -877,7 +877,7 @@ <td align="left"> <ul> <li> - [0.90alpha1] Only border-collapse="separate" is supported and there's no support for automatic column widths. + [0.91 beta] Only border-collapse="separate" is supported and there's no support for automatic column widths. </li> </ul> </td> @@ -1358,7 +1358,7 @@ </td> <td align="left"> <ul> - <li>[0.90alpha1] Restrictions with multi-column documents.</li> + <li>[0.91 beta] Restrictions with multi-column documents.</li> </ul> </td> </tr> @@ -1475,7 +1475,7 @@ 0.20.5 (current stable) </th> <th align="center"> - 0.90alpha1 (unstable) + 0.91 beta (unstable) </th> </tr> <tr> @@ -1550,7 +1550,7 @@ [0.20.5] Use shorthand position="absolute" as a workaround. </li> <li> - [0.90alpha1] No restrictions. The 0.20.5 work-around is not supported. + [0.91 beta] No restrictions. The 0.20.5 work-around is not supported. </li> </ul> </td> @@ -2044,7 +2044,7 @@ <td align="left"> <ul> <li> - [0.90alpha1] not yet implemented on table-body, table-header and table-footer. + [0.91 beta] not yet implemented on table-body, table-header and table-footer. </li> </ul> </td> @@ -2068,7 +2068,7 @@ <td align="partial"> <ul> <li> - [0.90alpha1] not yet implemented on table-body, table-header and table-footer. + [0.91 beta] not yet implemented on table-body, table-header and table-footer. </li> </ul> </td> @@ -3025,7 +3025,7 @@ [0.20.5] "normal", "bolder" and "lighter" are not supported </li> <li> - [0.90alpha1] TODO <relative> font weights + [0.91 beta] TODO <relative> font weights </li> </ul> </td> @@ -3298,7 +3298,7 @@ [0.20.5] space-before.optimum supported </li> <li> - [0.90alpha1] Space adjustment may not fully work everywhere, yet. + [0.91 beta] Space adjustment may not fully work everywhere, yet. </li> </ul> </td> @@ -3325,7 +3325,7 @@ [0.20.5] space-after.optimum supported </li> <li> - [0.90alpha1] Space adjustment may not fully work everywhere, yet. + [0.91 beta] Space adjustment may not fully work everywhere, yet. </li> </ul> </td> @@ -3534,7 +3534,7 @@ [0.20.5] For table-cell, the "height" attribute must be set for the parent table-row; setting the height of the table or the table-cell results in vertical centering having no effect. </li> <li> - [0.90alpha1] TODO Check e-g, i-f-o. + [0.91 beta] TODO Check e-g, i-f-o. </li> </ul> </td> @@ -3948,7 +3948,7 @@ <td align="left"> <ul> <li> - [0.90alpha1] value "line-height" not supported + [0.91 beta] value "line-height" not supported </li> </ul> </td> @@ -3972,7 +3972,7 @@ <td align="left"> <ul> <li> - [0.90alpha1] Value "treat-as-zero-width-space" not supported + [0.91 beta] Value "treat-as-zero-width-space" not supported </li> </ul> </td> @@ -3996,7 +3996,7 @@ <td align="left"> <ul> <li> - [0.90alpha1] Only the values "ignore" and "ignore-if-surrounding-linefeed" work reliably + [0.91 beta] Only the values "ignore" and "ignore-if-surrounding-linefeed" work reliably </li> </ul> </td> @@ -4108,7 +4108,7 @@ <td align="left"> <ul> <li> - [0.90alpha1] Only supported on fo:block. + [0.91 beta] Only supported on fo:block. </li> </ul> </td> @@ -4475,10 +4475,10 @@ [0.20.5] works only in table rows </li> <li> - [0.90alpha1] works on all implemented FOs. + [0.91 beta] works on all implemented FOs. </li> <li> - [0.90alpha1] <integer> values are not supported. + [0.91 beta] <integer> values are not supported. </li> </ul> </td> @@ -4505,10 +4505,10 @@ [0.20.5] works only in table rows </li> <li> - [0.90alpha1] works on all implemented FOs. + [0.91 beta] works on all implemented FOs. </li> <li> - [0.90alpha1] <integer> values are not supported. + [0.91 beta] <integer> values are not supported. </li> </ul> </td> @@ -4535,10 +4535,10 @@ [0.20.5] works only in table rows </li> <li> - [0.90alpha1] works on all implemented FOs, except list- and table-related FOs. + [0.91 beta] works on all implemented FOs, except list- and table-related FOs. </li> <li> - [0.90alpha1] <integer> values are not supported. + [0.91 beta] <integer> values are not supported. </li> </ul> </td> @@ -4621,13 +4621,11 @@ <td class="no"> no </td> - <td class="partial"> - partial + <td class="yes"> + yes </td> <td align="center"> - <ul> - <li>[0.90alpha1] TODO TBD</li> - </ul> + </td> </tr> <tr> @@ -4704,7 +4702,7 @@ [0.20.5] not value "page" </li> <li> - [0.90alpha1] Not uspported + [0.91 beta] Not uspported </li> </ul> </td> @@ -4731,7 +4729,7 @@ [0.20.5] not value "use-content" </li> <li> - [0.90alpha1] Value "use-content" does not work in all circumstances. + [0.91 beta] Value "use-content" does not work in all circumstances. </li> </ul> </td> @@ -6185,7 +6183,7 @@ </td> <td align="left"> <ul> - <li>[0.90alpha1] IDs on table-header, table-footer, table-body, table-row, table-and-caption, table-caption, inline-container and bidi-override are not available, yet.</li> + <li>[0.91 beta] IDs on table-header, table-footer, table-body, table-row, table-and-caption, table-caption, inline-container and bidi-override are not available, yet.</li> </ul> </td> </tr> diff --git a/src/documentation/content/xdocs/dev/release.xml b/src/documentation/content/xdocs/dev/release.xml index e67daeb7f..e71463ed9 100644 --- a/src/documentation/content/xdocs/dev/release.xml +++ b/src/documentation/content/xdocs/dev/release.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - Copyright 1999-2004 The Apache Software Foundation + Copyright 1999-2005 The Apache Software Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -35,29 +35,33 @@ The purpose of documenting it here is to facilitate consistency, ensure that the <ul> <li>Determine whether this is a Release Candidate or a Release.</li> <li>Determine whether further testing is required.</li> - <li>Edit release notes, and commit any changes.</li> + <li>Commit any outstanding changes</li> + <li>Edit release notes (relnotes.xml, README, status.xml in the root and in xdocs).</li> <li>Update version number in build.xml, and commit the change.</li> - <li>Tag the source tree with the release ID. For example, if the release is 0.20.5rc3: - <code>cvs tag fop-0_20_5rc3</code></li> + <li>Copy trunk documentation directory to a new directory with the version number and update any links and the .htaccess file for redirections.</li> + <li>Update the index.xml for the new version.</li> + <li>Update the version numbers on the compliance page.</li> + <li>Tag the source tree with the release ID. For example, if the release is 0.91beta: + <code>svn copy https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk https://svn.apache.org/repos/asf/xmlgraphics/fop/tags/fop-0_91beta</code></li> <li>Make a fresh checkout with the just created tag: - <code>cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic co -r -fop-0_20_5rc3 xml-fop</code></li> + <code>https://svn.apache.org/repos/asf/xmlgraphics/fop/tags/fop-0_91beta</code></li> <li>Copy jimi and jai to lib/ (jimi-1.0.jar, jai_core.jar, jai_codec.jar)</li> <li>Copy jce-jdk13-119.jar from <link href="http://www.bouncycastle.org/latest_releases.html"> from http://www.bouncycastle.org/latest_releases.html</link> to lib/</li> - <li>Run build[.sh] dist. Use jdk1.3. A Forrest installation is needed.</li> + <li>Alternatively, create a build-local.properties file that points to the above libs.</li> + <li>Run build[.sh] dist. Do this once using Sun JDK 1.3.1_15 or later and once with Sun JDK 1.4.2_08 or later. A Forrest installation is needed.</li> <li>Create signatures. Don't forget to upload your KEY: - <code>gpg -a -b --force-v3-sigs fop-0.20.5rc3-bin.tar.gz etc.</code></li> - <li>Upload to www.apache.org. (An account on daedalus is needed): - <code>scp fop-0.20.5rc3*.tar.gz* -chrisg@www.apache.org:/www/www.apache.org/dist/xml/fop/</code></li> + <code>gpg -a -b --force-v3-sigs fop-0.91beta.tar.gz etc.</code></li> + <li>Upload to people.apache.org. (An account on minotaur is needed): + <code>scp fop-0.91beta*.tar.gz* +chrisg@www.apache.org:/www/www.apache.org/dist/xmlgraphics/fop/</code></li> <li>Check permissions: - <code>chmod 664 ... ; chgrp xml ...</code></li> - <li>Add MD5 sums: <code>md5 fop-0.20.5rc3-bin.tar.gz > - fop-0.20.5rc3-bin.tar.gz.md5</code></li> + <code>chmod 664 ... ; chgrp xmlgraphics ...</code></li> + <li>Add MD5 sums: <code>md5 fop-0.91beta-bin.tar.gz > + fop-0.91beta-bin.tar.gz.md5</code></li> <li>Make a test download.</li> <li>Wait 24 hours (for the mirrors to catch up).</li> - <li>Post announcements on fop-dev and fop-user mailing lists.</li> + <li>Post announcements on fop-dev and fop-user and other related mailing lists.</li> <li>Add bugzilla entry for the new release id.</li> </ul> </section> @@ -65,14 +69,14 @@ chrisg@www.apache.org:/www/www.apache.org/dist/xml/fop/</code></li> <title>Resources</title> <p>The following is a sample of some other project release checlists, which might be consulted for ideas:</p> <ul> - <li><jump href="http://cvs.apache.org/viewcvs.cgi/xml-batik/MAINTAIN?rev=HEAD&content-type=text/vnd.viewcvs-markup">Batik</jump></li> - <li><jump href="http://cvs.apache.org/viewcvs.cgi/ant/ReleaseInstructions?rev=HEAD&content-type=text/vnd.viewcvs-markup">Ant</jump></li> - <li><jump href="http://jakarta.apache.org/cactus/participating/release_checklist.html">Cactus</jump></li> + <li><jump href="http://svn.apache.org/repos/asf/xmlgraphics/batik/trunk/MAINTAIN">Apache Batik</jump></li> + <li><jump href="http://svn.apache.org/repos/asf/ant/core/trunk/ReleaseInstructions">Apache Ant</jump></li> + <li><jump href="http://jakarta.apache.org/cactus/participating/release_checklist.html">Apache Cactus</jump></li> </ul> <p>Following are links with information about mirroring:</p> <ul> <li><jump href="http://www.apache.org/dev/mirrors.html">Apache Mirroring</jump></li> - <li>Stefan Bodewig's <jump href="http://cvs.apache.org/~bodewig/mirror.html">Making your Downloads Mirrorable</jump></li> + <li>Stefan Bodewig's <jump href="http://people.apache.org/~bodewig/mirror.html">Making your Downloads Mirrorable</jump></li> </ul> </section> <section id="announcements"> diff --git a/src/documentation/content/xdocs/index.xml b/src/documentation/content/xdocs/index.xml index 3981729ae..e74bfb780 100644 --- a/src/documentation/content/xdocs/index.xml +++ b/src/documentation/content/xdocs/index.xml @@ -41,7 +41,7 @@ W3C Recommendation</link>. </p> <p> - The latest unstable version of FOP (<link href="0.90/">0.90 alpha 1</link>) is the first preview release + The latest unstable version of FOP (<link href="0.91/">0.91 beta</link>) is the first preview release after a large redesign effort and implements a larger subset than 0.20.5 of the <link href="http://www.w3.org/TR/2001/REC-xsl-20011015/">XSL-FO Version 1.0 W3C Recommendation</link> as well as some parts of the <link href="http://www.w3.org/TR/xsl11">XSL-FO Version 1.1 Working Draft</link>. diff --git a/src/documentation/content/xdocs/news.xml b/src/documentation/content/xdocs/news.xml index 86d358e1e..29f8b3f71 100644 --- a/src/documentation/content/xdocs/news.xml +++ b/src/documentation/content/xdocs/news.xml @@ -25,6 +25,15 @@ </header> <body> <section> + <title>23 December 2005 - Apache FOP 0.91 beta released</title> + <p> + One month after the initial release we're happy present a "beta" grade + release of the new FOP codebase. It's mostly a bug fix release but also + contains a few new features. Thanks to all those who sent us feedback + on the initial release! + </p> + </section> + <section> <title>22 November 2005 - Apache FOP 0.90 alpha 1 released</title> <p> The Apache FOP team is proud to present to you the largely rewritten diff --git a/src/documentation/content/xdocs/relnotes.xml b/src/documentation/content/xdocs/relnotes.xml index e7aafdd76..a65247d28 100644 --- a/src/documentation/content/xdocs/relnotes.xml +++ b/src/documentation/content/xdocs/relnotes.xml @@ -24,6 +24,144 @@ <body> <section> + <title>FOP 0.91 beta</title> + <p> + This is the second release after the big redesign effort. FOP 0.91 beta is mostly a bug + fix release but also contains some new features. + </p> + <p> + We would like to encourage you to download the code and to play with it. + We're still in the process of adding new major features and stabilizing + the code. We welcome any feedback you might have and even more, any + other form of help to get the project forward. + </p> + <p>Caveats:</p> + <ul> + <li> + This release is an beta release. If you intend to use this software in a production + environment, please perform careful testing. + </li> + <li> + The API is not to be considered stable, yet. Please be prepared + for the API to be changed in a backwards-incompatible way. + </li> + <li> + You may experience different behaviour compared to version 0.20.5. + Please consult the <a href="0.91/upgrading.html">"Upgrading"</a> page indicated above for details. + </li> + </ul> + <p>Known Issues:</p> + <ul> + <li> + PCL, MIF and SVG support have not been restored, yet. + </li> + <li> + Java2D/AWT support contains some problems, for example with + block-containers. + </li> + <li> + Support for kerning has not been restored, yet. + </li> + <li> + Auto table layout is not implemented, yet. + </li> + <li> + The collapsing border model on tables is not implemented, yet. Please + use border-collapse="separate" for now. + </li> + <li> + Footnotes may overlap with text of the region-body in multi-column + documents. + </li> + <li> + Space resolution does not work between footnote regions. + </li> + <li> + There's a problem involving nested block-containers and + reference-orientation 180/-180 (<a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=36391">Bugzilla #36391</a>) + </li> + <li> + block-containers with no height currently don't create a fence for + spaces as they should (they behave like a normal block). + </li> + <li> + Preserved linefeeds in fo:character are not handled correctly. + </li> + <li> + Zero-width spaces are not handled correctly. + </li> + <li> + An empty block currently produces a fence for stacking constraints + which it shouldn't. + </li> + <li> + There are several small problems around white space handling. + </li> + <li> + Images currently don't shrink so they fit on a page when they are + too big and shrinking is allowed to happen. + </li> + <li> + Block-level content in fo:inlines may produce unwelcome results. + </li> + <li> + inline-container may not work as expected. + </li> + <li> + letter-spacing and word-spacing properties may not work as expected. + </li> + <li> + leaders with leader-pattern="use-content" may not work as expected. + </li> + <li> + keep-with-previous doesn't work inside tables and lists, yet. + </li> + <li> + White space on direct inline-level children of a marker is not + handled correctly. + </li> + <li> + If two consecutive pages don't have the same available width, the + content currently isn't properly fit into the available space on + the new page. + </li> + <li> + background-images on page-number-citations are not placed correctly. + </li> + <li> + Not all FO elements can be referenced by their "id", most notably: + table-body, table-header, table-footer and table-row. + </li> + <li> + The backgrounds of table-body, table-header, table-footer and + table-column are not painted, yet. + </li> + <li> + Border and padding conditionality are not supported on table-cells, yet. + </li> + <li> + Copy/Paste from PDF content in Acrobat Reader is not supported for + text using embedded TrueType fonts. + </li> + <li> + Column balancing in multi-column documents may not work as expected + (<a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=36356">Bugzilla #36356</a>) + </li> + <li> + Omitting fo:table-column or having fo:table-column without a column-width + and attempting to create columns implicitly from the first + table row is not implemented, yet (<a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=35656">Bugzilla #35656</a>). + </li> + <li> + Leaders with the "rule" pattern don't work for PostScript output. + </li> + <li> + break-after may in some cases cause subsequent content to be swallowed. + Please use break-before, if possible. + </li> + </ul> +</section> +<section> <title>FOP 0.90 alpha 1</title> <p> This is the first preview release after the big redesign effort. @@ -46,7 +184,7 @@ </li> <li> You may experience different behaviour compared to version 0.20.5. - Please consult the <a href="0.90/upgrading.html">"Upgrading"</a> page indicated above for details. + Please consult the <a href="0.91/upgrading.html">"Upgrading"</a> page indicated above for details. </li> </ul> <p>Known Issues:</p> diff --git a/src/documentation/content/xdocs/site.xml b/src/documentation/content/xdocs/site.xml index d97bb3310..375f7c85b 100644 --- a/src/documentation/content/xdocs/site.xml +++ b/src/documentation/content/xdocs/site.xml @@ -85,9 +85,9 @@ --> <!-- - BEGIN Version 0.90 documentation tab + BEGIN Version 0.91 documentation tab --> - <trunk label="FOP 0.90 alpha 1" href="0.90/" tab="currentversion"> + <trunk label="FOP 0.91 beta" href="0.91/" tab="currentversion"> <about label="About" href="index.html"/> <upgrading label="Upgrading" href="upgrading.html"/> @@ -111,7 +111,7 @@ </trunk> <!-- - END Version 0.90 documentation tab + END Version 0.91 documentation tab --> <!-- diff --git a/src/documentation/content/xdocs/tabs.xml b/src/documentation/content/xdocs/tabs.xml index 1f74aef7d..3a8d432a7 100644 --- a/src/documentation/content/xdocs/tabs.xml +++ b/src/documentation/content/xdocs/tabs.xml @@ -21,7 +21,7 @@ <tabs software="FOP" title="FOP" copyright="@year@ The Apache Software Foundation" xmlns:xlink="http://www.w3.org/1999/xlink"> <tab label="Home" dir=""/> <tab label="Version 0.20.5" dir="0.20.5/"/> - <tab label="Version 0.90 alpha 1" dir="0.90/"/> + <tab label="Version 0.91 beta" dir="0.91/"/> <tab label="FOP Trunk" dir="trunk/"/> <tab label="Development" dir="dev/"/> <!-- diff --git a/src/documentation/content/xdocs/trunk/fonts.xml b/src/documentation/content/xdocs/trunk/fonts.xml index ba5be8ed3..993fa047e 100644 --- a/src/documentation/content/xdocs/trunk/fonts.xml +++ b/src/documentation/content/xdocs/trunk/fonts.xml @@ -135,13 +135,19 @@ More information about fonts can be found at:</p> <title>Type 1 Font Metrics</title> <p>FOP includes PFMReader, which reads the PFM file that normally comes with a Type 1 font, and generates an appropriate font metrics file for it. To use it, run the class org.apache.fop.fonts.apps.PFMReader:</p> - <p>Windows:</p> - <source>java -cp build\fop.jar;lib\avalon-framework.jar;lib\xml-apis.jar; - lib\xercesImpl.jar;lib\xalan.jar + <p>Windows (on JDK 1.4 and later):</p> + <source>java -cp build\fop.jar;lib\avalon-framework.jar;lib\commons-logging.jar;lib\commons-io.jar org.apache.fop.fonts.apps.PFMReader [options] pfm-file xml-file</source> - <p>Unix:</p> - <source>java -cp build/fop.jar:lib/avalon-framework.jar:lib/xml-apis.jar: - lib/xercesImpl.jar:lib/xalan.jar + <p>Windows (on JDK 1.3.x):</p> + <source>java -cp build\fop.jar;lib\avalon-framework.jar;lib\commons-logging.jar;lib\commons-io.jar;lib\xml-apis.jar; + lib\xercesImpl.jar;lib\xalan.jar;lib\serializer.jar + org.apache.fop.fonts.apps.PFMReader [options] pfm-file xml-file</source> + <p>Unix (on JDK 1.4 and later):</p> + <source>java -cp build/fop.jar:lib/avalon-framework.jar:lib/commons-logging.jar:lib/commons-io.jar + org.apache.fop.fonts.apps.PFMReader [options] pfm-file xml-file</source> + <p>Unix (on JDK 1.3.1):</p> + <source>java -cp build/fop.jar:lib/avalon-framework.jar:lib/commons-logging.jar:lib/commons-io.jar:lib/xml-apis.jar: + lib/xercesImpl.jar:lib/xalan.jar:lib/serializer.jar org.apache.fop.fonts.apps.PFMReader [options] pfm-file xml-file</source> <p>PFMReader [options]:</p> <ul> @@ -153,8 +159,7 @@ name.</li> </ul> <note>The classpath in the above example has been simplified for readability. You will have to adjust the classpath to the names of the actual JAR files in the lib directory. -avalon-framework.jar is necessary only for versions 0.20.5 or later. -xml-apis.jar, xercesImpl.jar and xalan.jar are not necessary for JDK version 1.4 or later.</note> +xml-apis.jar, xercesImpl.jar, xalan.jar and serializer.jar are not necessary for JDK version 1.4 or later.</note> <note>The tool will construct some values (FontBBox, StemV and ItalicAngle) based on assumptions and calculations which are only an approximation to the real values. FontBBox and Italic Angle can be found in the human-readable part of the PFB file or in the AFM file. The PFMReader tool does not yet interpret PFB or AFM files, so if you want to be correct, you may have to adjust the values in the XML file manually. @@ -165,8 +170,7 @@ The constructed values however appear to have no visible influence.</note> <p>FOP includes TTFReader, which reads the TTF file and generates an appropriate font metrics file for it. Use it in a similar manner to PFMReader. For example, to create such a metrics file in Windows from the TrueType font at c:\myfonts\cmr10.ttf:</p> - <source>java -cp build\fop.jar;lib\avalon-framework.jar;lib\xml-apis.jar; - lib\xercesImpl.jar;lib\xalan.jar + <source>java -cp build\fop.jar;lib\avalon-framework.jar;lib\commons-logging.jar;lib\commons-io.jar org.apache.fop.fonts.apps.TTFReader [options] C:\myfonts\cmr10.ttf ttfcm.xml</source> <p>TTFReader [options]:</p> @@ -222,8 +226,7 @@ To create metrics files for these fonts, you must specify which font in the coll <p>To get a list of the fonts in a collection, just start the TTFReader as if it were a normal TrueType file (without the -ttcname option). It will display all of the font names and exit with an Exception.</p> <p>Here is an example of generating a metrics file for a .ttc file:</p> - <source>java -cp build\fop.jar;lib\avalon-framework.jar;lib\xml-apis.jar; - lib\xercesImpl.jar;lib\xalan.jar + <source>java -cp build\fop.jar;lib\avalon-framework.jar;lib\commons-logging.jar;lib\commons-io.jar org.apache.fop.fonts.apps.TTFReader -ttcname "MS Mincho" msmincho.ttc msminch.xml</source> </section> diff --git a/src/documentation/content/xdocs/trunk/upgrading.xml b/src/documentation/content/xdocs/trunk/upgrading.xml index 5b3496943..e1a812f83 100644 --- a/src/documentation/content/xdocs/trunk/upgrading.xml +++ b/src/documentation/content/xdocs/trunk/upgrading.xml @@ -31,7 +31,7 @@ <ul> <li> More than half of the codebase has been rewritten over the last three years. The code is - new and not as stable as version 0.20.5. + relatively new and possibly not as stable as version 0.20.5 in every regard. </li> <li> The API of FOP has changed considerably and is not backwards-compatible with version 0.20.5. @@ -48,12 +48,15 @@ <note label="An example"> While FOP 0.20.5 allowed you to have empty <code>fo:table-cell</code> elements, the new code will complain about that (unless relaxed validation is enabled) because the specification - demands at least one block-level element (<code>(%block;)+</code>, see XSL-FO 1.0, 6.7.10) + demands at least one block-level element (<code>(%block;)+</code>, see + <a href="http://www.w3.org/TR/xsl/slice6.html#fo_table-cell">XSL-FO 1.0, 6.7.10</a>) inside an <code>fo:table-cell</code> element. </note> </li> <li> - Extensions and Renderers written for version 0.20.5 will not work with the new code! + Extensions and Renderers written for version 0.20.5 will not work with the new code! The new FOP + extension for <a href="http://barcode4j.krysalis.org">Barcode4J</a> will be available in + January 2006. </li> <li> The PCL Renderer and the MIF Handler have not been resurrected, yet! They are currently non-functional @@ -88,7 +91,8 @@ </li> <li> As stated above empty table cells <code><fo:table-cell></fo:table-cell></code> - are not allowed by the specification. + are not allowed by the specification. The same applies to empty <code>static-content</code> + and <code>block-container</code> elements, for example. </li> <li> 0.20.5 is not XSL-FO compliant with respect to sizing images (<code>external-graphic</code>) diff --git a/status.xml b/status.xml index 78a37217d..525e0e1fe 100644 --- a/status.xml +++ b/status.xml @@ -27,6 +27,13 @@ <changes> <release version="FOP Trunk"> + </release> + <release version="0.91beta" date="23 Dec 2005"> + <action context="Code" dev="JM" type="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. + </action> <action context="Code" dev="MM" type="fix"> Fixed a bug where the linefeed-treatment property value "preserve" was not honoured when used in conjunction with text-align="center". @@ -143,9 +150,9 @@ didn't get removed. </action> <action context="Code" dev="JM" type="fix"> - The validation check for non-zero borders and padding on a region-* is now turned off - when relaxed validation is active to improve compatibility with FO documents written - for other FO implementations. + 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. </action> <action context="Code" dev="JM" type="fix"> Bugfix for "/ by zero" ArithmeticExceptions when an URL to a non-existing image is used @@ -169,7 +176,7 @@ Support for hyphenation-ladder-count. </action> </release> - <release version="0.90alpha1" date="Nov 2005"> + <release version="0.90alpha1" date="22 Nov 2005"> <action context="Code" dev="all" type="update"> <strong>Complete redesign of the FOP codebase</strong> 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 |