diff options
author | Simon Pepping <spepping@apache.org> | 2007-01-03 20:36:12 +0000 |
---|---|---|
committer | Simon Pepping <spepping@apache.org> | 2007-01-03 20:36:12 +0000 |
commit | 226b7da1e023211115a3aae58bdf77f053057a30 (patch) | |
tree | a8c38a3f553aa04902e1f01bc8912005d7cbc1fc | |
parent | 864849d6a503540dfb44f1ac751350f3d0b60e80 (diff) | |
parent | f07240faceb9603b223f4d873d57984b75944e95 (diff) | |
download | xmlgraphics-fop-fop-0_93.tar.gz xmlgraphics-fop-fop-0_93.zip |
Tagging release 0.93 (second try)fop-0_93
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/tags/fop-0_93@492289 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | README | 141 | ||||
-rw-r--r-- | build.xml | 2 | ||||
-rw-r--r-- | fop.bat | 2 | ||||
-rw-r--r-- | src/documentation/content/.htaccess | 1 | ||||
-rw-r--r-- | src/documentation/content/xdocs/0.93/anttask.xml | 35 | ||||
-rw-r--r-- | src/documentation/content/xdocs/faq.xml | 2 | ||||
-rw-r--r-- | src/documentation/content/xdocs/news.xml | 2 | ||||
-rw-r--r-- | src/documentation/content/xdocs/status.xml | 2 | ||||
-rw-r--r-- | src/documentation/content/xdocs/trunk/anttask.xml | 35 | ||||
-rw-r--r-- | src/java/org/apache/fop/tools/anttasks/Fop.java | 3 | ||||
-rw-r--r-- | status.xml | 8 |
11 files changed, 128 insertions, 105 deletions
@@ -69,10 +69,11 @@ Please report bugs to bugzilla at http://issues.apache.org/bugzilla/ How do I build FOP? ---------------------- -If you've downloaded a binary distribution, you don't need to build FOP. +If you've downloaded a binary distribution, you don't need to build +FOP. Otherwise, please follow the instructions found here: -http://xmlgraphics.apache.org/fop/latest/compiling.html +http://xmlgraphics.apache.org/fop/stable/compiling.html How do I run FOP? @@ -82,84 +83,74 @@ 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/latest/running.html +For more details, see: +http://xmlgraphics.apache.org/fop/stable/running.html ============================================================================== RELEASE NOTES ============================================================================== -Version 0.92 beta ---------------------- - -We don't list all the changes since the 0.20.5 release, since the codebase -was practically rewritten in large areas as part of a big redesign effort. -This 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/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 beta release. If you intend to use this software - in a production environment, please perform careful testing. - - With the latest changes, the API is now considered stable. Please - note that the API has changed in a backwards-incompatible way since - the last release. - - You may experience different behaviour compared to version 0.20.5. - Please consult the "Upgrading" page indicated above for details. - -Known issues: - - - PCL, MIF and SVG support have not been restored, yet. - - Java2D/AWT support contains some problems, for example with - block-containers. - - Auto table layout is not implemented, yet. - - The collapsing border model on tables is not implemented, yet. Please - use border-collapse="separate" for now. - - Footnotes may overlap with text of the region-body in multi-column - documents. - - Space resolution does not work between footnote regions. - - There's a problem involving nested block-containers and - reference-orientation 180/-180 (Bugzilla #36391) - - block-containers with no height currently don't create a fence for - spaces as they should (they behave like a normal block). - - Preserved linefeeds in fo:character are not handled correctly. - - An empty block currently produces a fence for stacking constraints - which it shouldn't. - - There are several small problems around white space handling. - - Images currently don't shrink so they fit on a page when they are - too big and shrinking is allowed to happen. - - Block-level content in fo:inlines may produce unwelcome results. - - inline-container may not work as expected. - - leaders with leader-pattern="use-content" may not work as expected. - - keep-with-previous doesn't work inside tables and lists, yet. - - White space on direct inline-level children of a marker is not - handled correctly. - - 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. - - background-images on page-number-citations are not placed correctly. - - Not all FO elements can be referenced by their "id", most notably: - table-body, table-header, table-footer and table-row. - - The backgrounds of table-body, table-header, table-footer and - table-column are not painted, yet. - - Border and padding conditionality are not supported on table-cells, yet. - - Copy/Paste from PDF content in Acrobat Reader is not supported for - text using embedded TrueType fonts. - - Column balancing in multi-column documents may not work as expected - (Bugzilla #36356) - - 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 (Bugzilla #35656). - - Internal basic-links don't point to the exact location on a page, yet, - as they did in 0.20.5. Currently you land in the upper left corner of - the page. +Version 0.93 +============ + +This is the first production grade release of the new FOP codebase. + +* It contains the new API first introduced in release 0.92 + beta. The preceding API has been removed. +* This release again contains many bug fixes and new features. See + below for details. + +Compliance +---------- + +This release implements the XSL 1.0 and 1.1 recommendations to a high +degree of compliance. See the compliance page +http://xmlgraphics.apache.org/fop/compliance.html for a detailed +overview. + +Known issues +------------ + +The known issues of this release are listed at +http://xmlgraphics.apache.org/fop/knownissues.html. + +Upgrading +--------- + +You may experience different behaviour compared to version +0.20.5. Please consult the "Upgrading" page +(http://xmlgraphics.apache.org/fop/stable/upgrading.html) for +details. + +Major Changes in Version 0.93 +----------------------------- + +* Added support for the use of Open Type fonts (BD) +* Support for the rgb-icc() function and for a proprietary cmyk() + function (for device CMYK colors only through the PDF renderer so + far). (JM) Thanks to Peter Coppens. Fixes 40729. +* Enabled Copy/Paste from PDF content in Acrobat Reader for + text using embedded TrueType fonts. (BD) Thanks to Adam Strzelecki, + Victor Mote. Fixes 5535. +* Added support for PDF/A-1b and PDF/X-3:2003. (Note: this may still + be a bit incomplete. Feedback is welcome!) +* 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. +* Automatic support for all fonts available to the Java2D subsystem + for all Java2D-descendant renderers (TIFF, PNG, print, AWT). + +The long list of changes in this release is available at +http://xmlgraphics.apache.org/fop/0.93/changes_0.93.html. + +The long list of changes in this and earlier releases is available at +http://xmlgraphics.apache.org/fop/changes.html. + +The Apache FOP team asks you for your continued feedback on the +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. ;-) Release notes for older FOP versions can be found on: http://xmlgraphics.apache.org/fop/relnotes.html
\ No newline at end of file @@ -101,8 +101,10 @@ list of possible build targets. <include name="NOTICE"/> <include name="README"/> <include name="KEYS"/> + <include name="known-issues.xml"/> <include name="status.xml"/> <include name="build.*"/> + <include name="forrest.properties"/> <include name="fop.bat"/> <include name="fop"/> </fileset> @@ -60,7 +60,7 @@ set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xercesImpl-2.7.1.jar set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xalan-2.7.0.jar
set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\serializer-2.7.0.jar
set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\batik-all-1.6.jar
-set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xmlgraphics-commons-1.1-snapshot.jar
+set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xmlgraphics-commons-1.1.jar
set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\avalon-framework-4.2.0.jar
set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\commons-io-1.1.jar
set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\commons-logging-1.0.4.jar
diff --git a/src/documentation/content/.htaccess b/src/documentation/content/.htaccess index e8f707fc8..7a0a17476 100644 --- a/src/documentation/content/.htaccess +++ b/src/documentation/content/.htaccess @@ -14,6 +14,7 @@ RedirectMatch Permanent ^/fop/pdfencryption(.*) http://xmlgraphics.apache.org/fo RedirectMatch Permanent ^/fop/pdfx(.*) http://xmlgraphics.apache.org/fop/0.93/pdfx$1 RedirectMatch Permanent ^/fop/running(.*) http://xmlgraphics.apache.org/fop/0.93/running$1 RedirectMatch Permanent ^/fop/servlets(.*) http://xmlgraphics.apache.org/fop/0.93/servlets$1 +RedirectMatch Permanent ^/fop/upgrading(.*) http://xmlgraphics.apache.org/fop/0.93/upgrading$1 # redirect to versioned documentation Redirect Temp /fop/stable http://xmlgraphics.apache.org/fop/0.93 diff --git a/src/documentation/content/xdocs/0.93/anttask.xml b/src/documentation/content/xdocs/0.93/anttask.xml index 9831f2c01..44550c3d7 100644 --- a/src/documentation/content/xdocs/0.93/anttask.xml +++ b/src/documentation/content/xdocs/0.93/anttask.xml @@ -37,17 +37,19 @@ One method of defining the task is as follows: </p> <source><![CDATA[ -<property name="fop.dir" value="....path to your FOP jar files..."/> +<property name="fop.home" value="....path to your FOP HOME directory..."/> <taskdef name="fop" classname="org.apache.fop.tools.anttasks.Fop"> - <classpath> - <pathelement location="${fop.dir}\fop.jar"/> - <pathelement location="${fop.dir}\batik.jar"/> - <pathelement location="${fop.dir}\avalon-framework.jar"/> - <pathelement location="${fop.dir}\commons-logging.jar"/> - <pathelement location="${fop.dir}\commons-io.jar"/> - </classpath> + <classpath> + <fileset dir="${fop.home}/lib"> + <include name="*.jar"/> + </fileset> + <fileset dir="${fop.home}/build"> + <include name="fop.jar"/> + <include name="fop-hyph.jar" /> + </fileset> + </classpath> </taskdef> ]]></source> <p> @@ -74,13 +76,24 @@ <tr> <td>format</td> <td>Possible output formats:<br/> + <code>application/X-fop-awt-preview</code><br/> + <code>application/X-fop-print</code><br/> + <code>application/X-fop-areatree</code><br/> <code>application/pdf</code><br/> <code>application/postscript</code><br/> - <code>application/vnd.mif</code><br/> - <code>application/rtf</code><br/> + <code>application/mif</code><br/> + <code>application/rtf</code>, + <code>text/richtext</code>, + <code>text/rtf</code><br/> + <code>application/x-pcl</code>, <code>application/vnd.hp-PCL</code><br/> + <code>application/x-afp</code>, + <code>application/vnd.ibm.modcap</code><br/> <code>text/plain</code><br/> - <code>text/xml</code><br/> + <code>image/svg+xml</code><br/> + <code>image/gif</code><br/> + <code>image/png</code><br/> + <code>image/tiff</code><br/> </td> <td>No, defaults to <code>application/pdf</code></td> </tr> diff --git a/src/documentation/content/xdocs/faq.xml b/src/documentation/content/xdocs/faq.xml index 1f567ad4f..50e3d2b04 100644 --- a/src/documentation/content/xdocs/faq.xml +++ b/src/documentation/content/xdocs/faq.xml @@ -138,7 +138,7 @@ <p> When it's ready and the committers have enough time to go through the time-consuming process of creating a release. We - released version 0.93 on 2 January 2007, and intend to + released version 0.93 on 9 January 2007, and intend to release version 1.0 later in 2007. If you want to speed up the process, consider to <link href="dev/index.html#involved">contribute</link> to FOP.</p> diff --git a/src/documentation/content/xdocs/news.xml b/src/documentation/content/xdocs/news.xml index 18f52dbdf..187a91337 100644 --- a/src/documentation/content/xdocs/news.xml +++ b/src/documentation/content/xdocs/news.xml @@ -26,7 +26,7 @@ </header> <body> <section> - <title>2 January 2007 - Apache FOP 0.93 released</title> + <title>9 January 2007 - Apache FOP 0.93 released</title> <p> The Apache FOP team is proud to present to you the first production grade release of the new FOP codebase. This release diff --git a/src/documentation/content/xdocs/status.xml b/src/documentation/content/xdocs/status.xml index f40f53ae9..3765889c2 100644 --- a/src/documentation/content/xdocs/status.xml +++ b/src/documentation/content/xdocs/status.xml @@ -27,7 +27,7 @@ <body> <section> <title>Status</title> - <p>[last updated 2 January 2007]</p> + <p>[last updated 9 January 2007]</p> <figure width="585" height="175" src="images/track.png" alt="Planning and branches of FOP development"/> <p> This is the development status of Apache FOP. Development on diff --git a/src/documentation/content/xdocs/trunk/anttask.xml b/src/documentation/content/xdocs/trunk/anttask.xml index 9831f2c01..44550c3d7 100644 --- a/src/documentation/content/xdocs/trunk/anttask.xml +++ b/src/documentation/content/xdocs/trunk/anttask.xml @@ -37,17 +37,19 @@ One method of defining the task is as follows: </p> <source><![CDATA[ -<property name="fop.dir" value="....path to your FOP jar files..."/> +<property name="fop.home" value="....path to your FOP HOME directory..."/> <taskdef name="fop" classname="org.apache.fop.tools.anttasks.Fop"> - <classpath> - <pathelement location="${fop.dir}\fop.jar"/> - <pathelement location="${fop.dir}\batik.jar"/> - <pathelement location="${fop.dir}\avalon-framework.jar"/> - <pathelement location="${fop.dir}\commons-logging.jar"/> - <pathelement location="${fop.dir}\commons-io.jar"/> - </classpath> + <classpath> + <fileset dir="${fop.home}/lib"> + <include name="*.jar"/> + </fileset> + <fileset dir="${fop.home}/build"> + <include name="fop.jar"/> + <include name="fop-hyph.jar" /> + </fileset> + </classpath> </taskdef> ]]></source> <p> @@ -74,13 +76,24 @@ <tr> <td>format</td> <td>Possible output formats:<br/> + <code>application/X-fop-awt-preview</code><br/> + <code>application/X-fop-print</code><br/> + <code>application/X-fop-areatree</code><br/> <code>application/pdf</code><br/> <code>application/postscript</code><br/> - <code>application/vnd.mif</code><br/> - <code>application/rtf</code><br/> + <code>application/mif</code><br/> + <code>application/rtf</code>, + <code>text/richtext</code>, + <code>text/rtf</code><br/> + <code>application/x-pcl</code>, <code>application/vnd.hp-PCL</code><br/> + <code>application/x-afp</code>, + <code>application/vnd.ibm.modcap</code><br/> <code>text/plain</code><br/> - <code>text/xml</code><br/> + <code>image/svg+xml</code><br/> + <code>image/gif</code><br/> + <code>image/png</code><br/> + <code>image/tiff</code><br/> </td> <td>No, defaults to <code>application/pdf</code></td> </tr> diff --git a/src/java/org/apache/fop/tools/anttasks/Fop.java b/src/java/org/apache/fop/tools/anttasks/Fop.java index 7514a790f..2010c372e 100644 --- a/src/java/org/apache/fop/tools/anttasks/Fop.java +++ b/src/java/org/apache/fop/tools/anttasks/Fop.java @@ -360,6 +360,9 @@ class FOPTaskStarter { }; private String normalizeOutputFormat(String format) { + if (format == null) { + return MimeConstants.MIME_PDF; + } for (int i = 0; i < SHORT_NAMES.length; i++) { if (SHORT_NAMES[i][0].equals(format)) { return SHORT_NAMES[i][1]; diff --git a/status.xml b/status.xml index b36c886b8..a7671d787 100644 --- a/status.xml +++ b/status.xml @@ -29,7 +29,7 @@ <changes> <release version="FOP Trunk"> </release> - <release version="0.93" date="2 January 2007"> + <release version="0.93" date="9 January 2007"> <notes> <p>This is the first production grade release of the new FOP codebase.</p> @@ -182,7 +182,7 @@ Bugfix: FOUserAgent specific configuration parameters specified in config file were not set when FOP was invoked from command line. </action> - <action context="Code" dev="JM" type="add"> + <action context="Code" dev="JM" type="add" importance="high"> Added support for PDF/A-1b and PDF/X-3:2003. (Note: this may still be a bit incomplete. Feedback is welcome!) </action> @@ -190,7 +190,7 @@ The CIDSet object is now generated for CID fonts which are embedded in PDFs. (Required by PDF/A). </action> - <action context="Code" dev="JM" type="update"> + <action context="Code" dev="JM" type="update" importance="high"> 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 @@ -231,7 +231,7 @@ Bugfix: NullPointerException in RTF library when there are no borders on the parent table. </action> - <action context="Code" dev="JM" type="add"> + <action context="Code" dev="JM" type="add" importance="high"> Automatic support for all fonts available to the Java2D subsystem for all Java2D-descendant renderers (TIFF, PNG, print, AWT). </action> |