xmlgraphics-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r840268 [1/13] - in /websites/staging/xmlgraphics/trunk/content: ./ commons/ fop/ fop/0.95/ fop/1.0/ fop/1.1/ fop/dev/ fop/dev/design/ fop/trunk/
Date Sat, 01 Dec 2012 06:54:52 GMT
Author: buildbot
Date: Sat Dec  1 06:54:40 2012
New Revision: 840268

Staging update by buildbot for xmlgraphics

    websites/staging/xmlgraphics/trunk/content/   (props changed)

Propchange: websites/staging/xmlgraphics/trunk/content/
--- cms:source-revision (original)
+++ cms:source-revision Sat Dec  1 06:54:40 2012
@@ -1 +1 @@

Modified: websites/staging/xmlgraphics/trunk/content/commons/bugs.html
--- websites/staging/xmlgraphics/trunk/content/commons/bugs.html (original)
+++ websites/staging/xmlgraphics/trunk/content/commons/bugs.html Sat Dec  1 06:54:40 2012
@@ -136,9 +136,8 @@ $(document).ready(function () {
       	<!-- <div id="breadcrumb"><a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/commons/">Commons</a></div> -->
       	<div class="section-content"><h1 id="apachewzxhzdk0-xml-graphics-commons-bugs-and-other-trackable-issues">Apache&trade; XML Graphics Commons: Bugs and Other Trackable Issues</h1>
-<p><version>$Revision: 911792 $</version></p>
 <p>Information on this page applies to enhancement requests and other trackable issues as well as bugs.</p>
-<h2 id="reported-issues-wzxhzdk3wzxhzdk4">Reported Issues <a id="issues_existing"></a></h2>
+<h2 id="reported-issues-wzxhzdk1wzxhzdk2">Reported Issues <a id="issues_existing"></a></h2>
 <p>A list of unresolved reported bugs can be found at <a href="http://issues.apache.org/bugzilla/buglist.cgi?bug_status=NEW&amp;bug_status=ASSIGNED&amp;bug_status=REOPENED&amp;email1=&amp;emailtype1=substring&amp;emailassigned_to1=1&amp;email2=&amp;emailtype2=substring&amp;emailreporter2=1&amp;bugidtype=include&amp;bug_id=&amp;changedin=&amp;votes=&amp;chfieldfrom=&amp;chfieldto=Now&amp;chfieldvalue=&amp;product=XMLGraphicsCommons&amp;short_desc=&amp;short_desc_type=allwordssubstr&amp;long_desc=&amp;long_desc_type=allwordssubstr&amp;bug_file_loc=&amp;bug_file_loc_type=allwordssubstr&amp;keywords=&amp;keywords_type=anywords&amp;field0-0-0=noop&amp;type0-0-0=noop&amp;value0-0-0=">XML Graphics Commons Open Bugs (Bugzilla)</a> . If you have an interest in an issue already reported, please consider the following:</p>
@@ -148,7 +147,7 @@ $(document).ready(function () {
 <p>If you would like to track the status of the issue, consider adding your email address to the list of "CC" recipients, so that you will receive an email as changes are made to the issue.</p>
-<h2 id="unreported-issues-reporting-new-issues-wzxhzdk5wzxhzdk6">Unreported Issues (Reporting New Issues) <a id="issues_new"></a></h2>
+<h2 id="unreported-issues-reporting-new-issues-wzxhzdk3wzxhzdk4">Unreported Issues (Reporting New Issues) <a id="issues_new"></a></h2>
 <p>User reports of bugs and requests for enhancements are extremely important parts of XML Graphics Commons development, and we appreciate the time you take to help us track these issues down.</p>

Modified: websites/staging/xmlgraphics/trunk/content/fop/0.95/anttask.html
--- websites/staging/xmlgraphics/trunk/content/fop/0.95/anttask.html (original)
+++ websites/staging/xmlgraphics/trunk/content/fop/0.95/anttask.html Sat Dec  1 06:54:40 2012
@@ -342,9 +342,8 @@ $(document).ready(function () {
       	<!-- <div id="breadcrumb"><a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/fop/">Fop</a>&nbsp;&raquo&nbsp;<a href="/fop/0.95/">0.95</a></div> -->
       	<div class="section-content"><h1 id="apachewzxhzdk1-fop-ant-task">Apache&trade; FOP: Ant task</h1>
-<p><version>$Revision: 1298724 $</version></p>
 <p>Apache&trade; FOP provides an Ant task for automating the document build process.</p>
-<h2 id="description-wzxhzdk5wzxhzdk6">Description <a id="basics"></a></h2>
+<h2 id="description-wzxhzdk3wzxhzdk4">Description <a id="basics"></a></h2>
 <p>The FOP Ant task will convert XSL-FO documents to PDF, PS, PCL etc. output (see <a href="output.html">Output formats</a> for available formats).</p>
 <p>To call FOP tasks within Ant, first add a FOP task definition to your Ant build file. One method of defining the task is as follows:</p>
 <property name="fop.home" value="....path to your FOP HOME directory..."/>

Modified: websites/staging/xmlgraphics/trunk/content/fop/0.95/compiling.html
--- websites/staging/xmlgraphics/trunk/content/fop/0.95/compiling.html (original)
+++ websites/staging/xmlgraphics/trunk/content/fop/0.95/compiling.html Sat Dec  1 06:54:40 2012
@@ -342,20 +342,19 @@ $(document).ready(function () {
       	<!-- <div id="breadcrumb"><a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/fop/">Fop</a>&nbsp;&raquo&nbsp;<a href="/fop/0.95/">0.95</a></div> -->
       	<div class="section-content"><h1 id="apachewzxhzdk0-fop-building-from-source-code">Apache&trade; FOP: Building from Source Code</h1>
-<p><version>$Revision: 1298724 $</version></p>
-<h2 id="do-you-need-to-build-wzxhzdk3wzxhzdk4">Do You Need To Build? <a id="build-needed"></a></h2>
+<h2 id="do-you-need-to-build-wzxhzdk1wzxhzdk2">Do You Need To Build? <a id="build-needed"></a></h2>
 <p>Apache&trade; FOP distributions are either pre-compiled binary or source. If you are using a binary distribution, it is already built and there is no need to build it again. See the <a href="../download.html">Download Instructions</a> for information about whether a binary or source distribution is best for your needs.</p>
 <p>If you got the source code from a repository snapshot or via Subversion you will need to build FOP in any case.</p>
-<h2 id="set-up-your-environment-wzxhzdk6wzxhzdk7">Set Up Your Environment <a id="env"></a></h2>
-<h3 id="jdk-wzxhzdk8wzxhzdk9">JDK <a id="env-jdk"></a></h3>
+<h2 id="set-up-your-environment-wzxhzdk4wzxhzdk5">Set Up Your Environment <a id="env"></a></h2>
+<h3 id="jdk-wzxhzdk6wzxhzdk7">JDK <a id="env-jdk"></a></h3>
 <p>Building FOP requires a minimum Java Development Kit (JDK/SDK) of 1.4 (A Java Runtime Environment is not sufficient).</p>
-<h3 id="classpath-wzxhzdk10wzxhzdk11">CLASSPATH <a id="env-classpath"></a></h3>
+<h3 id="classpath-wzxhzdk8wzxhzdk9">CLASSPATH <a id="env-classpath"></a></h3>
 <p>There is generally no need to setup a classpath. All libraries needed to compile FOP are included in the source distribution and are referenced by the build script. You will only need to adjust the classpath if you build FOP in some other way. See the build script build.xml for details.</p>
-<h3 id="java_home-wzxhzdk12wzxhzdk13">JAVA_HOME <a id="env-java-home"></a></h3>
+<h3 id="java_home-wzxhzdk10wzxhzdk11">JAVA_HOME <a id="env-java-home"></a></h3>
 <p>The build script uses <a href="http://ant.apache.org/">Apache Ant</a> , a popular Java-based build tool, which usually requires that the environment variable JAVA_HOME point to your local JDK root directory. This is true even if you use JDK 1.4 or above, which normally does not need this setting.</p>
-<h3 id="apache-ant-wzxhzdk14wzxhzdk15">Apache Ant <a id="env-ant"></a></h3>
+<h3 id="apache-ant-wzxhzdk12wzxhzdk13">Apache Ant <a id="env-ant"></a></h3>
 <p><a href="http://ant.apache.org/">Apache Ant</a> (Version 1.7 or later) must be installed in order to build FOP. Following best practices we don't include Ant with FOP anymore. You can find the <a href="http://ant.apache.org/manual/">instructions to install Ant in the Ant manual</a> on the web.</p>
-<h2 id="run-the-build-script-wzxhzdk16wzxhzdk17">Run the Build Script <a id="build-script"></a></h2>
+<h2 id="run-the-build-script-wzxhzdk14wzxhzdk15">Run the Build Script <a id="build-script"></a></h2>
 <p>Change to the FOP root directory and build FOP by executing the build script (build.xml) using the "ant" command.
 The "ant" command is only available on your system if you've properly <a href="http://ant.apache.org/manual/">installed Apache Ant</a> and added Ant's location to the PATH environment variable.
 The file build.xml in the FOP root directory is the blueprint that Ant uses for the build. It contains information for numerous build targets, many of which are building blocks to more useful target, and others which are primarily used by the FOP developers. You may benefit from looking through this file to learn more about the various build targets. To obtain a complete list of useful build targets:
@@ -380,7 +379,7 @@ OR
 ant all
 To clean the build directory first:
 ant clean allIf you want to shorten the build time you can just call the "package" target which doesn't perform any automated tests during the build.</p>
-<h1 id="troubleshooting-wzxhzdk18wzxhzdk19">Troubleshooting <a id="problems"></a></h1>
+<h1 id="troubleshooting-wzxhzdk16wzxhzdk17">Troubleshooting <a id="problems"></a></h1>
 <p>If you have problems building FOP, please try the following:</p>

Modified: websites/staging/xmlgraphics/trunk/content/fop/0.95/configuration.html
--- websites/staging/xmlgraphics/trunk/content/fop/0.95/configuration.html (original)
+++ websites/staging/xmlgraphics/trunk/content/fop/0.95/configuration.html Sat Dec  1 06:54:40 2012
@@ -342,11 +342,10 @@ $(document).ready(function () {
       	<!-- <div id="breadcrumb"><a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/fop/">Fop</a>&nbsp;&raquo&nbsp;<a href="/fop/0.95/">0.95</a></div> -->
       	<div class="section-content"><h1 id="apachewzxhzdk5-fop-configuration">Apache&trade; FOP: Configuration</h1>
-<p><version>$Revision: 1298724 $</version></p>
-<h2 id="configuration-file-basics-wzxhzdk8wzxhzdk9">Configuration File Basics <a id="general"></a></h2>
+<h2 id="configuration-file-basics-wzxhzdk6wzxhzdk7">Configuration File Basics <a id="general"></a></h2>
 <p>The FOP configuration file is an XML file containing a variety of settings that are useful for controlling FOP's behavior, and for helping it find resources that you wish it to use.</p>
 <p>The easiest way to get started using a FOP configuration file is to copy the sample found at <code>{fop-dir}/conf/fop.xconf</code> to a location of your choice, and then to edit it according to your needs. It contains templates for the various configuration options, most of which are commented out. Remove the comments and change the settings for entries that you wish to use. Be sure to follow any instructions, including comments which specify the value range. Also, since the configuration file is XML, be sure to keep it well-formed.</p>
-<h3 id="making-configuration-available-to-fop-wzxhzdk10wzxhzdk11">Making Configuration Available to FOP <a id="general-available"></a></h3>
+<h3 id="making-configuration-available-to-fop-wzxhzdk8wzxhzdk9">Making Configuration Available to FOP <a id="general-available"></a></h3>
 <p>After creating your configuration file, you must tell FOP how to find it:</p>
@@ -357,7 +356,7 @@ $(document).ready(function () {
 <p>See <a href="embedding.html#config-internal">Setting the Configuration Programmatically</a> for instructions on how to do so in an embedded environment.</p>
-<h2 id="summary-of-the-general-configuration-options-wzxhzdk12wzxhzdk13">Summary of the General Configuration Options <a id="general-elements"></a></h2>
+<h2 id="summary-of-the-general-configuration-options-wzxhzdk10wzxhzdk11">Summary of the General Configuration Options <a id="general-elements"></a></h2>
@@ -461,7 +460,7 @@ $(document).ready(function () {
   <default-page-settings height="11in" width="8.26in"/></p>
 <p><!-- etc. etc..... -->
-<h1 id="renderer-configuration-wzxhzdk37wzxhzdk38">Renderer configuration <a id="renderers"></a></h1>
+<h1 id="renderer-configuration-wzxhzdk35wzxhzdk36">Renderer configuration <a id="renderers"></a></h1>
 <p>Each Renderer has its own configuration section which is identified by the MIME type the Renderer is written for, ex. "application/pdf" for the PDF Renderer.</p>
 <p>The configuration for the PDF Renderer could look like this:</p>
@@ -487,7 +486,7 @@ $(document).ready(function () {
 <p>The details on the font configuration can be found on the separate <a href="fonts.html">Fonts</a> page. Note especially the section entitled <a href="fonts.html#register">Register Fonts with FOP</a> .</p>
-<h3 id="special-settings-for-the-pdf-renderer-wzxhzdk57wzxhzdk58">Special Settings for the PDF Renderer <a id="pdf-renderer"></a></h3>
+<h3 id="special-settings-for-the-pdf-renderer-wzxhzdk55wzxhzdk56">Special Settings for the PDF Renderer <a id="pdf-renderer"></a></h3>
 <p>The configuration element for the PDF renderer contains two elements. One is for the font configuration (please follow the link above) and one is for the "filter list". The filter list controls how the individual objects in a PDF file are encoded. By default, all objects get "flate" encoded (i.e. simply compressed with the same algorithm that is also used in ZIP files). Most users don't need to change that setting. For debugging purposes, it may be desired not to compress the internal objects at all so the generated PDF commands can be read. In that case, you can simply use the following filter list. The second filter list (type="image") ensures that all images still get compressed but also ASCII-85 encoded so the produced PDF file is still easily readable in a text editor.</p>
 <div class="codehilite"><pre><span class="nt">&lt;renderer</span> <span class="na">mime=</span><span class="s">&quot;application/pdf&quot;</span><span class="nt">&gt;</span>
   <span class="nt">&lt;filterList&gt;</span>
@@ -525,7 +524,7 @@ $(document).ready(function () {
-<h2 id="special-settings-for-the-postscript-renderer-wzxhzdk59wzxhzdk60">Special Settings for the PostScript Renderer <a id="ps-renderer"></a></h2>
+<h2 id="special-settings-for-the-postscript-renderer-wzxhzdk57wzxhzdk58">Special Settings for the PostScript Renderer <a id="ps-renderer"></a></h2>
 <p>Besides the normal font configuration (the same "fonts" element as for the PDF renderer) the PostScript renderer has an additional setting to force landscape pages to be rotated to fit on a page inserted into the printer in portrait mode. Set the value to "true" to activate this feature. The default is "false". Example:</p>
 <div class="codehilite"><pre><span class="nt">&lt;renderer</span> <span class="na">mime=</span><span class="s">&quot;application/postscript&quot;</span><span class="nt">&gt;</span>
   <span class="nt">&lt;auto-rotate-landscape&gt;</span>true<span class="nt">&lt;/auto-rotate-landscape&gt;</span>
@@ -544,7 +543,7 @@ $(document).ready(function () {
-<h2 id="special-settings-for-the-pcl-renderer-wzxhzdk61wzxhzdk62">Special Settings for the PCL Renderer <a id="pcl-renderer"></a></h2>
+<h2 id="special-settings-for-the-pcl-renderer-wzxhzdk59wzxhzdk60">Special Settings for the PCL Renderer <a id="pcl-renderer"></a></h2>
 <p>Non-standard fonts for the PCL renderer are made available through the Java2D subsystem which means that you don't have to do any custom font configuration in this case but you have to use the font names offered by Java.</p>
 <p>Additionally, there are certain settings that control how the renderer handles various elements.
 <renderer mime="application/vnd.hp-PCL">
@@ -553,7 +552,7 @@ $(document).ready(function () {
 The default value for the "rendering" setting is "speed" which causes borders to be painted as plain rectangles. In this mode, no special borders (dotted, dashed etc.) are available. If you want support for all border modes, set the value to "quality" as indicated above. This will cause the borders to be painted as bitmaps.</p>
 <p>The default value for the "text-rendering" setting is "auto" which paints the base fonts using PCL fonts. Non-base fonts are painted as bitmaps through Java2D. If the mix of painting methods results in unwelcome output, you can set this to "bitmap" which causes all text to be rendered as bitmaps.</p>
-<h2 id="when-it-does-not-work-wzxhzdk69wzxhzdk70">When it does not work <a id="When+it+does+not+work"></a></h2>
+<h2 id="when-it-does-not-work-wzxhzdk67wzxhzdk68">When it does not work <a id="When+it+does+not+work"></a></h2>
 <p>FOP searches the configuration file for the information it expects, at the position it expects. When that information is not present, FOP will not complain, it will just continue. When there is other information in the file, FOP will not complain, it will just ignore it. That means that when your configuration information is in the file but in a different XML element, or in a different XML path, than FOP expects, it will be silently ignored.</p>
 <p>Check the following possibilities:</p>

Modified: websites/staging/xmlgraphics/trunk/content/fop/0.95/embedding.html
--- websites/staging/xmlgraphics/trunk/content/fop/0.95/embedding.html (original)
+++ websites/staging/xmlgraphics/trunk/content/fop/0.95/embedding.html Sat Dec  1 06:54:40 2012
@@ -342,12 +342,12 @@ $(document).ready(function () {
       	<!-- <div id="breadcrumb"><a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/fop/">Fop</a>&nbsp;&raquo&nbsp;<a href="/fop/0.95/">0.95</a></div> -->
       	<div class="section-content"><h1 id="apachewzxhzdk0-fop-embedding">Apache&trade; FOP: Embedding</h1>
-<p><subtitle>How to Embed Apache&trade; FOP in a Java application</subtitle><version>$Revision: 1298724 $</version></p>
-<h2 id="overview-wzxhzdk6wzxhzdk7">Overview <a id="overview"></a></h2>
+<p><subtitle>How to Embed Apache&trade; FOP in a Java application</subtitle></p>
+<h2 id="overview-wzxhzdk4wzxhzdk5">Overview <a id="overview"></a></h2>
 <p>Review <a href="running.html">Running Apache&trade; FOP</a> for important information that applies to embedded applications as well as command-line use, such as options and performance.</p>
 <p>To embed Apache&trade; FOP in your application, first create a new org.apache.fop.apps.FopFactory instance. This object can be used to launch multiple rendering runs. For each run, create a new org.apache.fop.apps.Fop instance through one of the factory methods of FopFactory. In the method call you specify which output format (i.e. Renderer) to use and, if the selected renderer requires an OutputStream, which OutputStream to use for the results of the rendering. You can customize FOP's behaviour in a rendering run by supplying your own FOUserAgent instance. The FOUserAgent can, for example, be used to set your own Renderer instance (details below). Finally, you retrieve a SAX DefaultHandler instance from the Fop object and use that as the SAXResult of your transformation.
 We recently changed FOP's outer API to what we consider the final API. This might require some changes in your application. The main reasons for these changes were performance improvements due to better reuse of reusable objects and reduced use of static variables for added flexibility in complex environments.</p>
-<h1 id="basic-usage-pattern-wzxhzdk10wzxhzdk11">Basic Usage Pattern <a id="basics"></a></h1>
+<h1 id="basic-usage-pattern-wzxhzdk8wzxhzdk9">Basic Usage Pattern <a id="basics"></a></h1>
 <p>Apache FOP relies heavily on JAXP. It uses SAX events exclusively to receive the XSL-FO input document. It is therefore a good idea that you know a few things about JAXP (which is a good skill anyway). Let's look at the basic usage pattern for FOP...</p>
 <p>Here is the basic pattern to render an XSL-FO file to PDF:</p>
 <p>import org.apache.fop.apps.FopFactory;
@@ -400,20 +400,20 @@ Let's discuss these 5 steps in detail:</
 <p>If you're not totally familiar with JAXP Transformers, please have a look at the <a href="#examples">Embedding examples</a> below. The section contains examples for all sorts of use cases. If you look at all of them in turn you should be able to see the patterns in use and the flexibility this approach offers without adding too much complexity.</p>
 <p>This may look complicated at first, but it's really just the combination of an XSL transformation and a FOP run. It's also easy to comment out the FOP part for debugging purposes, for example when you're tracking down a bug in your stylesheet. You can easily write the XSL-FO output from the XSL transformation to a file to check if that part generates the expected output. An example for that can be found in the <a href="#examples">Embedding examples</a> (See "ExampleXML2FO").</p>
-<h3 id="logging-wzxhzdk12wzxhzdk13">Logging <a id="basic-logging"></a></h3>
+<h3 id="logging-wzxhzdk10wzxhzdk11">Logging <a id="basic-logging"></a></h3>
 <p>Logging is now a little different than it was in FOP 0.20.5. We've switched from Avalon Logging to <a href="http://commons.apache.org/logging/">Jakarta Commons Logging</a> . While with Avalon Logging the loggers were directly given to FOP, FOP now retrieves its logger(s) through a statically available LogFactory. This is similar to the general pattern that you use when you work with Apache Log4J directly, for example. We call this "static logging" (Commons Logging, Log4J) as opposed to "instance logging" (Avalon Logging). This has a consequence: You can't give FOP a logger for each processing run anymore. The log output of multiple, simultaneously running FOP instances is sent to the same logger.
 We know this may be an issue in multi-threaded server environments if you'd like to know what's going on in every single FOP processing run. We're planning to add an additional feedback facility to FOP which can be used to obtain all sorts of specific feedback (validation messages, layout problems etc.). "Static logging" is mainly interesting for a developer working on FOP and for advanced users who are debugging FOP. We don't consider the logging output to be useful to normal FOP users. Please have some patience until we can add this feature or jump in and help us build it. We've set up a <a href="http://wiki.apache.org/xmlgraphics-fop/ProcessingFeedback">Wiki page</a> which documents what we're going to build.
 By default, <a href="http://commons.apache.org/logging/">Jakarta Commons Logging</a> uses JDK logging (available in JDKs 1.4 or higher) as its backend. You can configure Commons Logging to use an alternative backend, for example Log4J. Please consult the <a href="http://commons.apache.org/logging/">documentation for Jakarta Commons Logging</a> on how to configure alternative backends.</p>
-<h3 id="processing-xsl-fo-wzxhzdk14wzxhzdk15">Processing XSL-FO <a id="render"></a></h3>
+<h3 id="processing-xsl-fo-wzxhzdk12wzxhzdk13">Processing XSL-FO <a id="render"></a></h3>
 <p>Once the Fop instance is set up, call <code>getDefaultHandler()</code> to obtain a SAX DefaultHandler instance to which you can send the SAX events making up the XSL-FO document you'd like to render. FOP processing starts as soon as the DefaultHandler's <code>startDocument()</code> method is called. Processing stops again when the DefaultHandler's <code>endDocument()</code> method is called. Please refer to the basic usage pattern shown above to render a simple XSL-FO document.</p>
-<h3 id="processing-xsl-fo-generated-from-xmlxslt-wzxhzdk16wzxhzdk17">Processing XSL-FO generated from XML+XSLT <a id="render-with-xslt"></a></h3>
+<h3 id="processing-xsl-fo-generated-from-xmlxslt-wzxhzdk14wzxhzdk15">Processing XSL-FO generated from XML+XSLT <a id="render-with-xslt"></a></h3>
 <p>If you want to process XSL-FO generated from XML using XSLT we recommend again using standard JAXP to do the XSLT part and piping the generated SAX events directly through to FOP. The only thing you'd change to do that on the basic usage pattern above is to set up the Transformer differently:</p>
 <p>//without XSLT:
   //Transformer transformer = factory.newTransformer(); // identity transformer</p>
 <p>//with XSLT:
   Source xslt = new StreamSource(new File("mystylesheet.xsl"));
   Transformer transformer = factory.newTransformer(xslt);</p>
-<h1 id="input-sources-wzxhzdk18wzxhzdk19">Input Sources <a id="input"></a></h1>
+<h1 id="input-sources-wzxhzdk16wzxhzdk17">Input Sources <a id="input"></a></h1>
 <p>The input XSL-FO document is always received by FOP as a SAX stream (see the <a href="../dev/design/parsing.html">Parsing Design Document</a> for the rationale).</p>
 <p>However, you may not always have your input document available as a SAX stream. But with JAXP it's easy to convert different input sources to a SAX stream so you can pipe it into FOP. That sounds more difficult than it is. You simply have to set up the right Source instance as input for the JAXP transformation. A few examples:</p>
@@ -440,9 +440,9 @@ By default, <a href="http://commons.apac
 <p>There are a variety of upstream data manipulations possible. For example, you may have a DOM and an XSL stylesheet; or you may want to set variables in the stylesheet. Interface documentation and some cookbook solutions to these situations are provided in <a href="http://xml.apache.org/xalan-j/usagepatterns.html">Xalan Basic Usage Patterns</a> .</p>
-<h2 id="configuring-apache-fop-programmatically-wzxhzdk20wzxhzdk21">Configuring Apache FOP Programmatically <a id="config-internal"></a></h2>
+<h2 id="configuring-apache-fop-programmatically-wzxhzdk18wzxhzdk19">Configuring Apache FOP Programmatically <a id="config-internal"></a></h2>
 <p>Apache FOP provides two levels on which you can customize FOP's behaviour: the FopFactory and the user agent.</p>
-<h3 id="customizing-the-fopfactory-wzxhzdk22wzxhzdk23">Customizing the FopFactory <a id="fop-factory"></a></h3>
+<h3 id="customizing-the-fopfactory-wzxhzdk20wzxhzdk21">Customizing the FopFactory <a id="fop-factory"></a></h3>
 <p>The FopFactory holds configuration data and references to objects which are reusable over multiple rendering runs. It's important to instantiate it only once (except in special environments) and reuse it every time to create new FOUserAgent and Fop instances.</p>
 <p>You can set all sorts of things on the FopFactory:</p>
@@ -475,7 +475,7 @@ fopFactory.addElementMapping(myElementMa
 fopFactory.setURIResolver(myResolver); // myResolver is a javax.xml.transform.URIResolverBoth the FopFactory and the FOUserAgent have a method to set a URIResolver. The URIResolver on the FopFactory is primarily used to resolve URIs on factory-level (hyphenation patterns, for example) and it is always used if no other URIResolver (for example on the FOUserAgent) resolved the URI first.</p>
-<h3 id="customizing-the-user-agent-wzxhzdk24wzxhzdk25">Customizing the User Agent <a id="user-agent"></a></h3>
+<h3 id="customizing-the-user-agent-wzxhzdk22wzxhzdk23">Customizing the User Agent <a id="user-agent"></a></h3>
 <p>The user agent is the entity that allows you to interact with a single rendering run, i.e. the processing of a single document. If you wish to customize the user agent's behaviour, the first step is to create your own instance of FOUserAgent using the appropriate factory method on FopFactory and pass that to the factory method that will create a new Fop instance:</p>
 <p>FopFactory fopFactory = FopFactory.newInstance(); // Reuse the FopFactory if possible!
   // do the following for each new rendering run
@@ -530,7 +530,7 @@ userAgent.setURIResolver(myResolver); //
 You should not reuse an FOUserAgent instance between FOP rendering runs although you can. Especially in multi-threaded environment, this is a bad idea.</p>
-<h1 id="using-a-configuration-file-wzxhzdk26wzxhzdk27">Using a Configuration File <a id="config-external"></a></h1>
+<h1 id="using-a-configuration-file-wzxhzdk24wzxhzdk25">Using a Configuration File <a id="config-external"></a></h1>
 <p>Instead of setting the parameters manually in code as shown above you can also set many values from an XML configuration file:</p>
 <p>import org.apache.avalon.framework.configuration.Configuration;
 import org.apache.avalon.framework.configuration.DefaultConfigurationBuilder;</p>
@@ -541,16 +541,16 @@ fopFactory.setUserConfig(cfg);</p>
 <p>/<em> ..or.. </em>/</p>
 <p>fopFactory.setUserConfig(new File("C:/Temp/mycfg.xml"));
 The layout of the configuration file is described on the <a href="configuration.html">Configuration page</a> .</p>
-<h2 id="hints-wzxhzdk28wzxhzdk29">Hints <a id="hints"></a></h2>
-<h3 id="object-reuse-wzxhzdk30wzxhzdk31">Object reuse <a id="object-reuse"></a></h3>
+<h2 id="hints-wzxhzdk26wzxhzdk27">Hints <a id="hints"></a></h2>
+<h3 id="object-reuse-wzxhzdk28wzxhzdk29">Object reuse <a id="object-reuse"></a></h3>
 <p>Fop instances shouldn't (and can't) be reused. Please recreate Fop and FOUserAgent instances for each rendering run using the FopFactory. This is a cheap operation as all reusable information is held in the FopFactory. That's why it's so important to reuse the FopFactory instance.</p>
-<h3 id="awt-issues-wzxhzdk32wzxhzdk33">AWT issues <a id="awt"></a></h3>
+<h3 id="awt-issues-wzxhzdk30wzxhzdk31">AWT issues <a id="awt"></a></h3>
 <p>If your XSL-FO files contain SVG then Apache Batik will be used. When Batik is initialised it uses certain classes in <code>java.awt</code> that intialise the Java AWT classes. This means that a daemon thread is created by the JVM and on Unix it will need to connect to a DISPLAY.</p>
 <p>The thread means that the Java application may not automatically quit when finished, you will need to call <code>System.exit()</code> . These issues should be fixed in the JDK 1.4.</p>
 <p>If you run into trouble running FOP on a head-less server, please see the <a href="graphics.html#batik">notes on Batik</a> .</p>
-<h3 id="getting-information-on-the-rendering-process-wzxhzdk34wzxhzdk35">Getting information on the rendering process <a id="render-info"></a></h3>
+<h3 id="getting-information-on-the-rendering-process-wzxhzdk32wzxhzdk33">Getting information on the rendering process <a id="render-info"></a></h3>
 <p>To get the number of pages that were rendered by FOP you can call <code>Fop.getResults()</code> . This returns a <code>FormattingResults</code> object where you can look up the number of pages produced. It also gives you the page-sequences that were produced along with their id attribute and their numbers of pages. This is particularly useful if you render multiple documents (each enclosed by a page-sequence) and have to know the number of pages of each document.</p>
-<h2 id="improving-performance-wzxhzdk36wzxhzdk37">Improving performance <a id="performance"></a></h2>
+<h2 id="improving-performance-wzxhzdk34wzxhzdk35">Improving performance <a id="performance"></a></h2>
 <p>There are several options to consider:</p>
@@ -569,35 +569,35 @@ The layout of the configuration file is 
 <p>Fine-tune your stylesheet to make the XSLT process more efficient and to create XSL-FO that can be processed by FOP more efficiently. Less is more: Try to make use of property inheritance where possible.</p>
-<h2 id="multithreading-fop-wzxhzdk38wzxhzdk39">Multithreading FOP <a id="multithreading"></a></h2>
+<h2 id="multithreading-fop-wzxhzdk36wzxhzdk37">Multithreading FOP <a id="multithreading"></a></h2>
 <p>Apache FOP may currently not be completely thread safe. The code has not been fully tested for multi-threading issues, yet. If you encounter any suspicious behaviour, please notify us.</p>
 <p>There is also a known issue with fonts being jumbled between threads when using the Java2D/AWT renderer (which is used by the -awt and -print output options). In general, you cannot safely run multiple threads through the AWT renderer.</p>
-<h2 id="examples-wzxhzdk40wzxhzdk41">Examples <a id="examples"></a></h2>
+<h2 id="examples-wzxhzdk38wzxhzdk39">Examples <a id="examples"></a></h2>
 <p>The directory "{fop-dir}/examples/embedding" contains several working examples.</p>
-<h3 id="examplefo2pdfjava-wzxhzdk42wzxhzdk43">ExampleFO2PDF.java <a id="ExampleFO2PDF"></a></h3>
+<h3 id="examplefo2pdfjava-wzxhzdk40wzxhzdk41">ExampleFO2PDF.java <a id="ExampleFO2PDF"></a></h3>
 <p>This <a href="http://svn.apache.org/viewcvs.cgi/xmlgraphics/fop/trunk/examples/embedding/java/embedding/ExampleFO2PDF.java?view=markup">example</a> demonstrates the basic usage pattern to transform an XSL-FO file to PDF using FOP.</p>
 <p><img alt="Example XSL-FO to PDF" src="images/EmbeddingExampleFO2PDF.png" /></p>
-<h2 id="examplexml2fojava-wzxhzdk44wzxhzdk45">ExampleXML2FO.java <a id="ExampleXML2FO"></a></h2>
+<h2 id="examplexml2fojava-wzxhzdk42wzxhzdk43">ExampleXML2FO.java <a id="ExampleXML2FO"></a></h2>
 <p>This <a href="http://svn.apache.org/viewcvs.cgi/xmlgraphics/fop/trunk/examples/embedding/java/embedding/ExampleXML2FO.java?view=markup">example</a> has nothing to do with FOP. It is there to show you how an XML file can be converted to XSL-FO using XSLT. The JAXP API is used to do the transformation. Make sure you've got a JAXP-compliant XSLT processor in your classpath (ex. <a href="http://xml.apache.org/xalan-j">Xalan</a> ).</p>
 <p><img alt="Example XML to XSL-FO" src="images/EmbeddingExampleXML2FO.png" /></p>
-<h2 id="examplexml2pdfjava-wzxhzdk46wzxhzdk47">ExampleXML2PDF.java <a id="ExampleXML2PDF"></a></h2>
+<h2 id="examplexml2pdfjava-wzxhzdk44wzxhzdk45">ExampleXML2PDF.java <a id="ExampleXML2PDF"></a></h2>
 <p>This <a href="http://svn.apache.org/viewcvs.cgi/xmlgraphics/fop/trunk/examples/embedding/java/embedding/ExampleXML2PDF.java?view=markup">example</a> demonstrates how you can convert an arbitrary XML file to PDF using XSLT and XSL-FO/FOP. It is a combination of the first two examples above. The example uses JAXP to transform the XML file to XSL-FO and FOP to transform the XSL-FO to PDF.</p>
 <p><img alt="Example XML to PDF (via XSL-FO)" src="images/EmbeddingExampleXML2PDF.png" /></p>
 <p>The output (XSL-FO) from the XSL transformation is piped through to FOP using SAX events. This is the most efficient way to do this because the intermediate result doesn't have to be saved somewhere. Often, novice users save the intermediate result in a file, a byte array or a DOM tree. We strongly discourage you to do this if it isn't absolutely necessary. The performance is significantly higher with SAX.</p>
-<h3 id="exampleobj2xmljava-wzxhzdk48wzxhzdk49">ExampleObj2XML.java <a id="ExampleObj2XML"></a></h3>
+<h3 id="exampleobj2xmljava-wzxhzdk46wzxhzdk47">ExampleObj2XML.java <a id="ExampleObj2XML"></a></h3>
 <p>This <a href="http://svn.apache.org/viewcvs.cgi/xmlgraphics/fop/trunk/examples/embedding/java/embedding/ExampleObj2XML.java?view=markup">example</a> is a preparatory example for the next one. It's an example that shows how an arbitrary Java object can be converted to XML. It's an often needed task to do this. Often people create a DOM tree from a Java object and use that. This is pretty straightforward. The example here, however, shows how to do this using SAX, which will probably be faster and not even more complicated once you know how this works.</p>
 <p><img alt="Example Java object to XML" src="images/EmbeddingExampleObj2XML.png" /></p>
 <p>For this example we've created two classes: ProjectTeam and ProjectMember (found in xml-fop/examples/embedding/java/embedding/model). They represent the same data structure found in xml-fop/examples/embedding/xml/xml/projectteam.xml. We want to serialize to XML a project team with several members which exist as Java objects. Therefore we created the two classes: ProjectTeamInputSource and ProjectTeamXMLReader (in the same place as ProjectTeam above).</p>
 <p>The XMLReader implementation (regard it as a special kind of XML parser) is responsible for creating SAX events from the Java object. The InputSource class is only used to hold the ProjectTeam object to be used.</p>
 <p>Have a look at the source of ExampleObj2XML.java to find out how this is used. For more detailed information see other resources on JAXP (ex. <a href="http://java.sun.com/xml/jaxp/dist/1.1/docs/tutorial/xslt/3_generate.html">An older JAXP tutorial</a> ).</p>
-<h3 id="exampleobj2pdfjava-wzxhzdk50wzxhzdk51">ExampleObj2PDF.java <a id="ExampleObj2PDF"></a></h3>
+<h3 id="exampleobj2pdfjava-wzxhzdk48wzxhzdk49">ExampleObj2PDF.java <a id="ExampleObj2PDF"></a></h3>
 <p>This <a href="http://svn.apache.org/viewcvs.cgi/xmlgraphics/fop/trunk/examples/embedding/java/embedding/ExampleObj2PDF.java?view=markup">example</a> combines the previous and the third to demonstrate how you can transform a Java object to a PDF directly in one smooth run by generating SAX events from the Java object that get fed to an XSL transformation. The result of the transformation is then converted to PDF using FOP as before.</p>
 <p><img alt="Example Java object to PDF (via XML and XSL-FO)" src="images/EmbeddingExampleObj2PDF.png" /></p>
-<h2 id="exampledom2pdfjava-wzxhzdk52wzxhzdk53">ExampleDOM2PDF.java <a id="ExampleDOM2PDF"></a></h2>
+<h2 id="exampledom2pdfjava-wzxhzdk50wzxhzdk51">ExampleDOM2PDF.java <a id="ExampleDOM2PDF"></a></h2>
 <p>This <a href="http://svn.apache.org/viewcvs.cgi/xmlgraphics/fop/trunk/examples/embedding/java/embedding/ExampleDOM2PDF.java?view=markup">example</a> has FOP use a DOMSource instead of a StreamSource in order to use a DOM tree as input for an XSL transformation.</p>
-<h3 id="examplesvg2pdfjava-pdf-transcoder-example-wzxhzdk54wzxhzdk55">ExampleSVG2PDF.java (PDF Transcoder example) <a id="ExampleSVG2PDF"></a></h3>
+<h3 id="examplesvg2pdfjava-pdf-transcoder-example-wzxhzdk52wzxhzdk53">ExampleSVG2PDF.java (PDF Transcoder example) <a id="ExampleSVG2PDF"></a></h3>
 <p>This <a href="http://svn.apache.org/viewcvs.cgi/xmlgraphics/fop/trunk/examples/embedding/java/embedding/ExampleSVG2PDF.java?view=markup">example</a> shows the usage of the PDF Transcoder, a sub-application within FOP. It is used to generate a PDF document from an SVG file.</p>
-<h3 id="final-notes-wzxhzdk56wzxhzdk57">Final notes <a id="example-notes"></a></h3>
+<h3 id="final-notes-wzxhzdk54wzxhzdk55">Final notes <a id="example-notes"></a></h3>
 <p>These examples should give you an idea of what's possible. It should be easy to adjust these examples to your needs. Also, if you have other examples that you think should be added here, please let us know via either the fop-users or fop-dev mailing lists. Finally, for more help please send your questions to the fop-users mailing list.</p></div>

Modified: websites/staging/xmlgraphics/trunk/content/fop/0.95/extensions.html
--- websites/staging/xmlgraphics/trunk/content/fop/0.95/extensions.html (original)
+++ websites/staging/xmlgraphics/trunk/content/fop/0.95/extensions.html Sat Dec  1 06:54:40 2012
@@ -342,34 +342,33 @@ $(document).ready(function () {
       	<!-- <div id="breadcrumb"><a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/fop/">Fop</a>&nbsp;&raquo&nbsp;<a href="/fop/0.95/">0.95</a></div> -->
       	<div class="section-content"><h1 id="standard-apachewzxhzdk0-fop-extensions">Standard Apache&trade; FOP Extensions</h1>
-<p><version>$Revision: 1298724 $</version></p>
 <p>By "extension", we mean any data that can be placed in the input XML document that is not addressed by the XSL-FO standard. By having a mechanism for supporting extensions, FOP is able to add features that are not covered in the specification.</p>
 <p>The extensions documented here are included with FOP, and are automatically available to you. If you wish to add an extension of your own to FOP, please see the <a href="../dev/extensions.html">Developers' Extension Page</a> .
 All extensions require the correct use of an appropriate namespace in your input document.</p>
-<h1 id="svg-wzxhzdk3wzxhzdk4">SVG <a id="svg"></a></h1>
+<h1 id="svg-wzxhzdk1wzxhzdk2">SVG <a id="svg"></a></h1>
 <p>Please see the <a href="graphics.html#svg">SVG documentation</a> for more details.</p>
-<h2 id="fo-extensions-wzxhzdk5wzxhzdk6">FO Extensions <a id="fo-extensions"></a></h2>
-<h3 id="namespace-wzxhzdk7wzxhzdk8">Namespace <a id="fox-namespace"></a></h3>
+<h2 id="fo-extensions-wzxhzdk3wzxhzdk4">FO Extensions <a id="fo-extensions"></a></h2>
+<h3 id="namespace-wzxhzdk5wzxhzdk6">Namespace <a id="fox-namespace"></a></h3>
 <p>By convention, FO extensions in FOP use the "fox" namespace prefix. To use any of the FO extensions, add a namespace entry for <code>http://xmlgraphics.apache.org/fop/extensions</code> to the root element:
 <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
-<h2 id="pdf-bookmarks-wzxhzdk10wzxhzdk11">PDF Bookmarks <a id="bookmarks"></a></h2>
+<h2 id="pdf-bookmarks-wzxhzdk8wzxhzdk9">PDF Bookmarks <a id="bookmarks"></a></h2>
 <p>In previous versions of Apache FOP there was a <code>fox:outline</code> element which was used to create outlines in PDF files. The redesigned code makes use of the new <a href="http://www.w3.org/TR/xsl11/#fo_bookmark-tree">bookmark feature defined in the latest XSL 1.1 working draft</a> .</p>
-<h3 id="anchors-or-named-destinations-wzxhzdk12wzxhzdk13">Anchors or Named Destinations <a id="named-destinations"></a></h3>
+<h3 id="anchors-or-named-destinations-wzxhzdk10wzxhzdk11">Anchors or Named Destinations <a id="named-destinations"></a></h3>
 <p>Use the fox:destination element to define "named destinations" inside a PDF document. These are useful as fragment identifiers, e.g. "http://server/document.pdf#anchor-name". fox:destination elements can be placed almost anywhere in the fo document, including a child of root, a block-level element, or an inline-level element. For the destination to actually work, it must correspond to an "id" attribute on some fo element within the document. In other words, the "id" attribute actually creates the "view" within the PDF document. The fox:destination simply gives that view an independent name.
 <fox:destination internal-destination="table-of-contents"/>
 <fo:block id="table-of-contents">Table of Contents</fo:block><warning>It is possible that in some future release of FOP, <em>all</em> elements with "id" attributes will generate named-destinations, which will eliminate the need for fox:destination.</warning></p>
-<h2 id="table-continuation-label-wzxhzdk19wzxhzdk20">Table Continuation Label <a id="table-continue-label"></a></h2>
+<h2 id="table-continuation-label-wzxhzdk17wzxhzdk18">Table Continuation Label <a id="table-continue-label"></a></h2>
 <p>This extension element hasn't been reimplemented for the redesigned code, yet.</p>
-<h3 id="foxorphan-content-limit-and-foxwidow-content-limit-wzxhzdk21wzxhzdk22">fox:orphan-content-limit and fox:widow-content-limit <a id="widow-orphan-content-limit"></a></h3>
+<h3 id="foxorphan-content-limit-and-foxwidow-content-limit-wzxhzdk19wzxhzdk20">fox:orphan-content-limit and fox:widow-content-limit <a id="widow-orphan-content-limit"></a></h3>
 <p>The two proprietary extension properties, fox:orphan-content-limit and fox:widow-content-limit, are used to improve the layout of list-blocks and tables. If you have a table with many entries, you don't want a single row to be left over on a page. You will want to make sure that at least two or three lines are kept together. The properties take an absolute length which specifies the area at the beginning (fox:widow-content-limit) or at the end (fox:orphan-content-limit) of a table or list-block. The properties are inherited and only have an effect on fo:table and fo:list-block. An example: fox:widow-content-limit="3 * 1.2em" would make sure the you'll have at least three lines (assuming line-height="1.2") together on a table or list-block.</p>
-<h3 id="foxexternal-document-wzxhzdk23wzxhzdk24">fox:external-document <a id="external-document"></a></h3>
+<h3 id="foxexternal-document-wzxhzdk21wzxhzdk22">fox:external-document <a id="external-document"></a></h3>
 <p>This feature is incomplete. Support for multi-page documents will be added shortly. At the moment, only single-page images will work. And this will not work with RTF output.
 This is a proprietary extension element which allows to add whole images as pages to an FO document. For example, if you have a scanned document or a fax as multi-page TIFF file, you can append or insert this document using the <code>fox:external-document</code> element. Each page of the external document will create one full page in the target format.</p>
 <p>The <code>fox:external-document</code> element is structurally a peer to <code>fo:page-sequence</code> , so wherever you can put an <code>fo:page-sequence</code> you could also place a <code>fox:external-document</code> . Therefore, the specified contents for <code>fo:root</code> change to:</p>
 <p><code>(layout-master-set, declarations?, bookmark-tree?, (page-sequence|page-sequence-wrapper|fox:external-document|fox:destination)+)</code> </p>
-<h4 id="specification-wzxhzdk25wzxhzdk26">Specification ## <a id="Specification"></a></h4>
+<h4 id="specification-wzxhzdk23wzxhzdk24">Specification ## <a id="Specification"></a></h4>
 <p>The <code>fox:external-document</code> extension formatting object is used to specify how to create a (sub-)sequence of pages within a document. The content of these pages comes from the individual subimages/pages of an image or paged document (for example: multi-page TIFF in the form of faxes or scanned documents, or PDF files). The formatting object creates the necessary areas to display one image per page.</p>
 <p>In terms of page numbers, the behaviour is the same as for <code>fo:page-sequence</code> . The placement of the image inside the page is similar to that of <code>fo:external-graphic</code> or <code>fo:instream-foreign-object</code> , i.e. the viewport (and therefore the page size) is defined by either the intrinsic size of the image or by the size properties that apply to this formatting object.</p>
 <p>Content: EMPTY</p>
@@ -432,13 +431,13 @@ This is a proprietary extension element 
 <p>Datatype "page-set": Value: auto | <integer-range>, Default: "auto" which means all pages/subimages of the document. <integer-range> allows values such as "7" or "1-3"
  <code>fox:external-document</code> is not suitable for concatenating FO documents. For this, XInclude is recommended.</p>
-<h2 id="free-form-transformation-for-foblock-container-wzxhzdk29wzxhzdk30">Free-form Transformation for fo:block-container <a id="transform"></a></h2>
+<h2 id="free-form-transformation-for-foblock-container-wzxhzdk27wzxhzdk28">Free-form Transformation for fo:block-container <a id="transform"></a></h2>
 <p>For <code>fo:block-container</code> elements whose <code>absolute-position</code> set to "absolute" or "fixed" you can use the extension attribute <code>fox:transform</code> to apply a free-form transformation to the whole block-container. The content of the <code>fox:transform</code> attribute is the same as for <a href="http://www.w3.org/TR/SVG/coords.html#TransformAttribute">SVG's transform attribute</a> . The transformation specified here is performed in addition to other implicit transformations of the block-container (resulting from top, left and other properties) and after them.</p>
 <p>Examples: <code>fox:transform="rotate(45)"</code> would rotate the block-container by 45 degrees clock-wise around its upper-left corner. <code>fox:transform="translate(10000,0)"</code> would move the block-container to the right by 10 points (=10000 millipoints, FOP uses millipoints internally!).
 This extension attribute doesn't work for all output formats! It's currently only supported for PDF, PS and Java2D-based renderers.</p>
-<h2 id="color-functions-wzxhzdk31wzxhzdk32">Color functions <a id="color-functions"></a></h2>
+<h2 id="color-functions-wzxhzdk29wzxhzdk30">Color functions <a id="color-functions"></a></h2>
 <p>XSL-FO supports specifying color using the rgb(), rgb-icc() and system-color() functions. Apache FOP provides additional color functions for special use cases. Please note that using these functions compromises the interoperability of an FO document.</p>
-<h4 id="cmyk-wzxhzdk33wzxhzdk34">cmyk() ## <a id="color-function-cmyk"></a></h4>
+<h4 id="cmyk-wzxhzdk31wzxhzdk32">cmyk() ## <a id="color-function-cmyk"></a></h4>
 <p><code>color cmyk(numeric, numeric, numeric, numeric)</code> </p>
 <p>This function will construct a color in device-specific CMYK color space. The numbers must be between 0.0 and 1.0. For output formats that don't support device-specific color space the CMYK value is converted to an sRGB value.</p></div>

Modified: websites/staging/xmlgraphics/trunk/content/fop/0.95/fonts.html
--- websites/staging/xmlgraphics/trunk/content/fop/0.95/fonts.html (original)
+++ websites/staging/xmlgraphics/trunk/content/fop/0.95/fonts.html Sat Dec  1 06:54:40 2012
@@ -342,8 +342,8 @@ $(document).ready(function () {
       	<!-- <div id="breadcrumb"><a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/fop/">Fop</a>&nbsp;&raquo&nbsp;<a href="/fop/0.95/">0.95</a></div> -->
       	<div class="section-content"><h1 id="apachewzxhzdk1-fop-fonts">Apache&trade; FOP: Fonts</h1>
-<p><version>$Revision: 1298724 $</version><authors><person email="" name="Jeremias Märki"></person><person email="" name="Tore Engvig"></person><person email="" name="Adrian Cumiskey"></person><person email="" name="Max Berger"></person></authors></p>
-<h2 id="summary-wzxhzdk14wzxhzdk15">Summary <a id="intro"></a></h2>
+<p><authors><person email="" name="Jeremias Märki"></person><person email="" name="Tore Engvig"></person><person email="" name="Adrian Cumiskey"></person><person email="" name="Max Berger"></person></authors></p>
+<h2 id="summary-wzxhzdk12wzxhzdk13">Summary <a id="intro"></a></h2>
 <p>The following table summarizes the font capabilities of the various FOP renderers:</p>
@@ -421,15 +421,15 @@ $(document).ready(function () {
-<h2 id="base-14-fonts-wzxhzdk16wzxhzdk17">Base-14 Fonts <a id="Base-14+Fonts"></a></h2>
+<h2 id="base-14-fonts-wzxhzdk14wzxhzdk15">Base-14 Fonts <a id="Base-14+Fonts"></a></h2>
 <p>The Adobe PostScript and PDF Specification specify a set of 14 fonts that must be available to every PostScript interpreter and PDF reader: Helvetica (normal, bold, italic, bold italic), Times (normal, bold, italic, bold italic), Courier (normal, bold, italic, bold italic), Symbol and ZapfDingbats.</p>
 <p>Please note that recent versions of Adobe Acrobat Reader replace "Helvetica" with "Arial" and "Times" with "Times New Roman" internally. GhostScript replaces "Helvetica" with "Nimbus Sans L" and "Times" with "Nimbus Roman No9 L". Other document viewers may do similar font substitutions. If you need to make sure that there are no such substitutions, you need to specify an explicit font and embed it in the target document.</p>
-<h2 id="missing-fonts-wzxhzdk18wzxhzdk19">Missing Fonts <a id="Missing+Fonts"></a></h2>
+<h2 id="missing-fonts-wzxhzdk16wzxhzdk17">Missing Fonts <a id="Missing+Fonts"></a></h2>
 <p>When FOP does not have a specific font at its disposal (because it's not installed in the operating system or set up in FOP's configuration), the font is replaced with "any". "any" is internally mapped to the Base-14 font "Times" (see above).</p>
-<h2 id="java2dawtoperating-system-fonts-wzxhzdk20wzxhzdk21">Java2D/AWT/Operating System Fonts <a id="awt"></a></h2>
+<h2 id="java2dawtoperating-system-fonts-wzxhzdk18wzxhzdk19">Java2D/AWT/Operating System Fonts <a id="awt"></a></h2>
 <p>The Java2D family of renderers (Java2D, AWT, Print, TIFF, PNG), use the Java AWT subsystem for font metric information. Through operating system registration, the AWT subsystem knows what fonts are available on the system, and the font metrics for each one.</p>
 <p>When working with one of these output formats and you're missing a font, just install it in your operating system and they should be available for these renderers. Please note that this is not true for other output formats such as PDF or PostScript.</p>
-<h2 id="custom-fonts-wzxhzdk22wzxhzdk23">Custom Fonts <a id="custom"></a></h2>
+<h2 id="custom-fonts-wzxhzdk20wzxhzdk21">Custom Fonts <a id="custom"></a></h2>
 <p>Support for custom fonts is highly output format dependent (see above table). This section shows how to add Type 1 and TrueType fonts to the PDF, PostScript and Java2D-based renderers. Other renderers (like AFP) support other font formats. Details in this case can be found on the page about <a href="output.html">output formats</a> .</p>
 <p>Prior to FOP version 0.94, it was always necessary to create an XML font metrics file if you wanted to add a custom font. This unconvenient step has been removed and in addition to that, FOP supports auto-registration of fonts, i.e. FOP can find fonts installed in your operating system or can scan user-specified directories for fonts. Font registration via XML font metrics file is still supported and is still necessary if you want to use a TrueType Collection (*.ttc). Direct support for TrueType collections may be added later. Furthermore, the XML font metrics files are still required if you don't want to embed, but only reference a font.</p>
 <p>Basic information about fonts can be found at:</p>
@@ -441,7 +441,7 @@ $(document).ready(function () {
 <p><a href="http://partners.adobe.com/asn/developer/technotes/fonts.html">Adobe Font Technote</a> </p>
-<h2 id="basic-font-configuration-wzxhzdk24wzxhzdk25">Basic font configuration <a id="basics"></a></h2>
+<h2 id="basic-font-configuration-wzxhzdk22wzxhzdk23">Basic font configuration <a id="basics"></a></h2>
 <p>If you want FOP to use custom fonts, you need to tell it where to find them. This is done in the configuration file and once per renderer (because each output format is a little different). In the basic form, you can either tell FOP to find your operating system fonts or you can specify directories that it will search for support fonts. These fonts will then automatically be registered.</p>
   <!-- register all the fonts found in a directory -->
@@ -452,9 +452,9 @@ $(document).ready(function () {
 <p><!-- automatically detect operating system installed fonts -->
   <auto-detect/><br />
 </fonts>Review the documentation for <a href="configuration.html">FOP Configuration</a> for instructions on making the FOP configuration available to FOP when it runs. Otherwise, FOP has no way of finding your custom font information. It is currently not possible to easily configure fonts from Java code.</p>
-<h1 id="advanced-font-configuration-wzxhzdk36wzxhzdk37">Advanced font configuration <a id="advanced"></a></h1>
+<h1 id="advanced-font-configuration-wzxhzdk34wzxhzdk35">Advanced font configuration <a id="advanced"></a></h1>
 <p>The instructions found above should be sufficient for most users. Below are some additional instructions in case the basic font configuration doesn't lead to the desired results.</p>
-<h3 id="type-1-font-metrics-wzxhzdk38wzxhzdk39">Type 1 Font Metrics <a id="type1-metrics"></a></h3>
+<h3 id="type-1-font-metrics-wzxhzdk36wzxhzdk37">Type 1 Font Metrics <a id="type1-metrics"></a></h3>
 <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>
 java -cp build\fop.jar;lib\avalon-framework.jar;lib\commons-logging.jar;lib\commons-io.jar
@@ -467,7 +467,7 @@ PFMReader [options]:</p>
 <li><strong>-fn <fontname></strong> By default, FOP uses the fontname from the .pfm file when embedding the font. Use the "-fn" option to override this name with one you have chosen. This may be useful in some cases to ensure that applications using the output document (Acrobat Reader for example) use the embedded font instead of a local font with the same name.
 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. xml-apis.jar, xercesImpl.jar, xalan.jar and serializer.jar are not necessary for JDK version 1.4 or later.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. The constructed values however appear to have no visible influence.</li>
-<h2 id="truetype-font-metrics-wzxhzdk40wzxhzdk41">TrueType Font Metrics <a id="truetype-metrics"></a></h2>
+<h2 id="truetype-font-metrics-wzxhzdk38wzxhzdk39">TrueType Font Metrics <a id="truetype-metrics"></a></h2>
 <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:
 java -cp build\fop.jar;lib\avalon-framework.jar;lib\commons-logging.jar;lib\commons-io.jar
           org.apache.fop.fonts.apps.TTFReader [options]
@@ -524,7 +524,7 @@ TTFReader [options]:</p>
 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</p>
-<h2 id="register-fonts-with-fop-wzxhzdk42wzxhzdk43">Register Fonts with FOP <a id="register"></a></h2>
+<h2 id="register-fonts-with-fop-wzxhzdk40wzxhzdk41">Register Fonts with FOP <a id="register"></a></h2>
 <p>You must tell FOP how to find and use the font metrics files by registering them in the <a href="configuration.html">FOP Configuration</a> . Add entries for your custom fonts, regardless of font type, to the configuration file in a manner similar to the following:</p>
   <!-- register a particular font -->
@@ -575,7 +575,7 @@ java -cp build\fop.jar;lib\avalon-framew
 <p>If relative URLs are specified, they are evaluated relative to the value of the "font-base" setting. If there is no "font-base" setting, the fonts are evaluated relative to the base directory.</p>
-<h3 id="auto-detect-and-auto-embedd-feature-wzxhzdk58wzxhzdk59">Auto-Detect and auto-embedd feature <a id="autodetect"></a></h3>
+<h3 id="auto-detect-and-auto-embedd-feature-wzxhzdk56wzxhzdk57">Auto-Detect and auto-embedd feature <a id="autodetect"></a></h3>
 <p>When the "auto-detect" flag is set in the configuration, FOP will automatically search for fonts in the default paths for your operating system.</p>
 <p>FOP will also auto-detect fonts which are available in the classpath, if they are described as "application/x-font" in the MANIFEST.MF file. For example, if your .jar file contains font/myfont.ttf:
 Manifest-Version: 1.0</p>
@@ -585,7 +585,7 @@ Manifest-Version: 1.0</p>
 <p>This feature allows you to create JAR files containing fonts. The JAR files can be added to fop by providem them in the classpath, e.g. copying them into the lib/ directory.</p>
-<h3 id="embedding-wzxhzdk60wzxhzdk61">Embedding <a id="embedding"></a></h3>
+<h3 id="embedding-wzxhzdk58wzxhzdk59">Embedding <a id="embedding"></a></h3>
 <p>The PostScript renderer does not yet support TrueType fonts, but can embed Type 1 fonts.The font is simply embedded into the PDF file, it is not converted.
 Font embedding is enabled in the userconfig.xml file and controlled by the embed-url attribute. If you don't specify the embed-url attribute the font will not be embedded, but will only be referenced.
 <warning>Omitting the embed-url attribute for CID-encoded TrueType fonts will currently produce invalid PDF files! If you create the XML font metric file using the "-enc ansi" option, you can omit the embed-url attribute for TrueType fonts but you're restricted to the WinAnsi character set.</warning>

Modified: websites/staging/xmlgraphics/trunk/content/fop/0.95/graphics.html
--- websites/staging/xmlgraphics/trunk/content/fop/0.95/graphics.html (original)
+++ websites/staging/xmlgraphics/trunk/content/fop/0.95/graphics.html Sat Dec  1 06:54:40 2012
@@ -342,8 +342,7 @@ $(document).ready(function () {
       	<!-- <div id="breadcrumb"><a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/fop/">Fop</a>&nbsp;&raquo&nbsp;<a href="/fop/0.95/">0.95</a></div> -->
       	<div class="section-content"><h1 id="apachewzxhzdk0-fop-graphics-formats">Apache&trade; FOP: Graphics Formats</h1>
-<p><version>$Revision: 1298724 $</version></p>
-<h2 id="introduction-wzxhzdk3wzxhzdk4">Introduction <a id="introduction"></a></h2>
+<h2 id="introduction-wzxhzdk1wzxhzdk2">Introduction <a id="introduction"></a></h2>
 <p>After the Apache&trade; FOP 0.94 release, the image handling subsystem has been rewritten in order to improve the range of supported images and image subtypes, to lower the overall memory consumption when handling images, to produce smaller output files and to increase the performance in certain areas. Of course, this causes a few changes most of which the user will probably not notice. The most important changes are:</p>
@@ -357,7 +356,7 @@ $(document).ready(function () {
 <p>The actual <a href="http://xmlgraphics.apache.org/commons/image-loader.html">image loading framework</a> no longer resides in Apache FOP, but was instead placed in <a href="http://xmlgraphics.apache.org/commons/">XML Graphics Commons</a> .</p>
-<h2 id="overview-of-graphics-support-wzxhzdk6wzxhzdk7">Overview of Graphics Support <a id="support-overview"></a></h2>
+<h2 id="overview-of-graphics-support-wzxhzdk4wzxhzdk5">Overview of Graphics Support <a id="support-overview"></a></h2>
 <p>The table below summarizes the <em>theoretical</em> support for graphical formats within FOP. In other words, within the constraints of the limitations listed here, these formats <em>should</em> work. However, many of them have not been tested, and there may be limitations that have not yet been discovered or documented. The packages needed to support some formats are not included in the FOP distribution and must be installed separately. Follow the links in the "Support Through" columns for more details.</p>
@@ -435,7 +434,7 @@ $(document).ready(function () {
  <a href="http://jai-imageio.dev.java.net/">JAI Image I/O Tools</a> is not the same as the <a href="http://java.sun.com/javase/technologies/desktop/media/jai/">JAI library</a> ! The former simply exposes JAI's codecs using the Image&nbsp;I/O API but does not include all the image manipulation functionality.</p>
-<h2 id="map-of-supported-image-formats-by-output-format-wzxhzdk8wzxhzdk9">Map of supported image formats by output format <a id="format-map"></a></h2>
+<h2 id="map-of-supported-image-formats-by-output-format-wzxhzdk6wzxhzdk7">Map of supported image formats by output format <a id="format-map"></a></h2>
 <p>Not all image formats are supported for all output formats! For example, while you can use EPS (Encapsulated PostScript) files when you generate PostScript output, this format will not be supported by any other output format. Here's an overview of which image formats are supported by which output format:</p>
@@ -542,12 +541,12 @@ $(document).ready(function () {
 <p>[2]: Supported without the need to decode the image, but only for certain subtypes.</p>
-<h2 id="graphics-packages-wzxhzdk10wzxhzdk11">Graphics Packages <a id="packages"></a></h2>
-<h3 id="xml-graphics-commons-native-wzxhzdk12wzxhzdk13">XML Graphics Commons Native <a id="native"></a></h3>
+<h2 id="graphics-packages-wzxhzdk8wzxhzdk9">Graphics Packages <a id="packages"></a></h2>
+<h3 id="xml-graphics-commons-native-wzxhzdk10wzxhzdk11">XML Graphics Commons Native <a id="native"></a></h3>
 <p><a href="http://xmlgraphics.apache.org/commons/">XML Graphics Commons</a> supports a number of graphic file formats natively as basic functionality: all bitmap formats for which there are Image I/O codecs available (JPEG, PNG, GIF, TIFF, etc.), EPS and EMF.</p>
-<h3 id="fop-native-wzxhzdk14wzxhzdk15">FOP Native <a id="fop-native"></a></h3>
+<h3 id="fop-native-wzxhzdk12wzxhzdk13">FOP Native <a id="fop-native"></a></h3>
 <p>FOP has no native image plug-ins for the image loading framework of its own but currently hosts the Batik-dependent SVG and WMF plug-ins until they can be moved to <a href="http://xmlgraphics.apache.org/batik/">Apache Batik</a> .</p>
-<h3 id="apache-batik-wzxhzdk16wzxhzdk17">Apache Batik <a id="batik"></a></h3>
+<h3 id="apache-batik-wzxhzdk14wzxhzdk15">Apache Batik <a id="batik"></a></h3>
 <p><a href="http://xmlgraphics.apache.org/batik/">Apache Batik</a> will later receive the SVG and WMF plug-ins for the image loading framework that are currently hosted inside FOP.</p>
 <p>Current FOP distributions include a distribution of the <a href="http://xmlgraphics.apache.org/batik/">Apache Batik</a> . Because Batik's API changes frequently, it is highly recommended that you use the version that ships with FOP, at least when running FOP.
 <warning>Batik must be run in a graphical environment.</warning>
@@ -564,38 +563,38 @@ Batik must be run in a graphical environ
 <p>Install a toolkit which emulates AWT without the need for an underlying X server. One example is the <a href="http://www.eteks.com/pja/en">PJA toolkit</a> , which is free and comes with detailed installation instructions.</p>
-<h3 id="image-io-wzxhzdk20wzxhzdk21">Image I/O <a id="imageio"></a></h3>
+<h3 id="image-io-wzxhzdk18wzxhzdk19">Image I/O <a id="imageio"></a></h3>
 <p>The image loading framework in <a href="http://xmlgraphics.apache.org/commons/">XML Graphics Commons</a> provides a wrapper to load images through the <a href="http://java.sun.com/j2se/1.4.2/docs/guide/imageio/index.html">JDK's Image I/O API</a> (JSR 015). Image I/O allows to dynamically add additional image codecs. An example of such an add-on library are the <a href="http://java.sun.com/products/java-media/jai/">JAI Image I/O Tools</a> available from Sun.</p>
-<h2 id="details-on-image-formats-wzxhzdk22wzxhzdk23">Details on image formats <a id="image-formats"></a></h2>
-<h3 id="bmp-wzxhzdk24wzxhzdk25">BMP <a id="bmp"></a></h3>
+<h2 id="details-on-image-formats-wzxhzdk20wzxhzdk21">Details on image formats <a id="image-formats"></a></h2>
+<h3 id="bmp-wzxhzdk22wzxhzdk23">BMP <a id="bmp"></a></h3>
 <p>BMP images are supported through an Image I/O codec. There may be limitations of the codec which are outside the control of Apache FOP.</p>
-<h3 id="emf-wzxhzdk26wzxhzdk27">EMF <a id="emf"></a></h3>
+<h3 id="emf-wzxhzdk24wzxhzdk25">EMF <a id="emf"></a></h3>
 <p>Windows Enhanced Metafiles (EMF) are only supported in RTF output where they are embedded without decoding.</p>
-<h3 id="eps-wzxhzdk28wzxhzdk29">EPS <a id="eps"></a></h3>
+<h3 id="eps-wzxhzdk26wzxhzdk27">EPS <a id="eps"></a></h3>
 <p>Apache FOP allows to use EPS files when generating PostScript output only.</p>
 <p>Other output targets can't be supported at the moment because FOP lacks a PostScript interpreter. Furthermore, FOP is currently not able to parse the preview bitmaps sometimes contained in EPS files.</p>
-<h3 id="gif-wzxhzdk30wzxhzdk31">GIF <a id="gif"></a></h3>
+<h3 id="gif-wzxhzdk28wzxhzdk29">GIF <a id="gif"></a></h3>
 <p>GIF images are supported through an Image&nbsp;I/O codec. Transparency is supported but not guaranteed to work with every output format.</p>
-<h3 id="jpeg-wzxhzdk33wzxhzdk34">JPEG <a id="jpeg"></a></h3>
+<h3 id="jpeg-wzxhzdk31wzxhzdk32">JPEG <a id="jpeg"></a></h3>
 <p>FOP native support (i.e. the handling of undecoded images) of JPEG does not include all variants, especially those containing unusual color lookup tables and color profiles. If you have trouble with a JPEG image in FOP, try opening it with an image processing program (such as Photoshop or Gimp) and then saving it. Specifying 24-bit color output may also help. For the PDF and PostScript renderers most JPEG images can be passed through without decompression. User reports indicate that grayscale, RGB, and CMYK color spaces are all rendered properly. However, for other output formats, the JPEG images have to be decompressed. Tests have shown that there are some limitation in some Image&nbsp;I/O codecs concerning images in the CMYK color space. Work-arounds are in place but may not always work as expected.</p>
-<h3 id="png-wzxhzdk36wzxhzdk37">PNG <a id="png"></a></h3>
+<h3 id="png-wzxhzdk34wzxhzdk35">PNG <a id="png"></a></h3>
 <p>PNG images are supported through an Image&nbsp;I/O codec. Transparency is supported but not guaranteed to work with every output format.</p>
-<h3 id="svg-wzxhzdk39wzxhzdk40">SVG <a id="svg"></a></h3>
-<h4 id="introduction-wzxhzdk41wzxhzdk42">Introduction ## <a id="svg-intro"></a></h4>
+<h3 id="svg-wzxhzdk37wzxhzdk38">SVG <a id="svg"></a></h3>
+<h4 id="introduction-wzxhzdk39wzxhzdk40">Introduction ## <a id="svg-intro"></a></h4>
 <p>FOP uses <a href="#batik">Apache Batik</a> for SVG support. This format can be handled as an <code>fo:instream-foreign-object</code> or in a separate file referenced with <code>fo:external-graphic</code> .
 Batik's SVG Rasterizer utility may also be used to convert standalone SVG documents into PDF. For more information please see the <a href="http://xmlgraphics.apache.org/batik/svgrasterizer.html">SVG Rasterizer documentation</a> on the Batik site.</p>
-<h3 id="placing-svg-graphics-into-pdf-wzxhzdk43wzxhzdk44">Placing SVG Graphics into PDF ## <a id="svg-pdf-graphics"></a></h3>
+<h3 id="placing-svg-graphics-into-pdf-wzxhzdk41wzxhzdk42">Placing SVG Graphics into PDF ## <a id="svg-pdf-graphics"></a></h3>
 <p>The SVG is rendered into PDF by using PDF commands to draw and fill lines and curves. This means that the graphical objects created with this remain as vector graphics. The same applies to PostScript output. For other output formats the SVG graphic may be converted to a bitmap image.</p>
 <p>There are a number of SVG things that cannot be converted directly into PDF. Parts of the graphic such as effects, patterns and images are inserted into the PDF as a raster graphic. The resolution of these raster images can be controlled through the "target resolution" setting in the <a href="configuration.html">configuration</a> .</p>
 <p>Currently transparency is limited in PDF so many SVG images that contain effects or graphics with transparent areas may not be displayed correctly.</p>
-<h4 id="placing-svg-text-into-pdf-and-postscript-wzxhzdk45wzxhzdk46">Placing SVG Text into PDF and PostScript ## <a id="svg-pdf-text"></a></h4>
+<h4 id="placing-svg-text-into-pdf-and-postscript-wzxhzdk43wzxhzdk44">Placing SVG Text into PDF and PostScript ## <a id="svg-pdf-text"></a></h4>
 <p>If possible, Batik will use normal PDF or PostScript text when inserting text. It does this by checking if the text can be drawn normally and the font is supported. This example svg <a href="../dev/svg/text.svg">text.svg</a> /text.pdfshows how various types and effects with text are handled. Note that tspan and outlined text are not yet implemented.</p>
 <p>Otherwise, text is converted and drawn as a set of shapes by Batik, using the stroking text painter. This means that a typical character will have about 10 curves (each curve consists of at least 20 characters). This can make the output files large and when it is viewed the viewer may not normally draw those fine curves very well (In Adobe Acrobat, turning on "Smooth Line Art" in the preferences will fix this). Copy/paste functionality will not be supported in this case. If the text is inserted into the output file using the inbuilt text commands it will use a single character.</p>
 <p>Note that because SVG text can be rendered as either text or a vector graphic, you may need to consider settings in your viewer for both. The Acrobat viewer has both "smooth line art" and "smooth text" settings that may need to be set for SVG images to be displayed nicely on your screen (see Edit / Preferences / Display). This setting will not affect the printing of your document, which should be OK in any case, but will only affect the quality of the screen display.</p>
-<h4 id="scaling-wzxhzdk47wzxhzdk48">Scaling ## <a id="svg-scaling"></a></h4>
+<h4 id="scaling-wzxhzdk45wzxhzdk46">Scaling ## <a id="svg-scaling"></a></h4>
 <p>Currently, SVG images are rendered with the dimensions specified <em>in the SVG file</em> , within the viewport specified in the fo:external-graphic element. For everything to work properly, the two should be equal. The SVG standard leaves this issue as an implementation detail. Additional scaling options are available through XSL-FO means.</p>
 <p>If you use pixels to specify the size of an SVG graphic the "source resolution" setting in the <a href="configuration.html">configuration</a> will be used to determine the size of a pixel. The use of pixels to specify sizes is discouraged as they may be interpreted differently in different environments.</p>
-<h4 id="known-problems-wzxhzdk49wzxhzdk50">Known Problems ## <a id="svg-problems"></a></h4>
+<h4 id="known-problems-wzxhzdk47wzxhzdk48">Known Problems ## <a id="svg-problems"></a></h4>
 <p>Soft mask transparency is combined with white so that it looks better on PDF 1.3 viewers but this causes the soft mask to be slightly lighter or darker on PDF 1.4 viewers.</p>
@@ -610,18 +609,18 @@ Batik's SVG Rasterizer utility may also 
 <p>Uniform transparency for images and other SVG elements that are converted into a raster graphic are not drawn properly in PDF. The image is opaque.</p>
-<h3 id="tiff-wzxhzdk51wzxhzdk52">TIFF <a id="tiff"></a></h3>
+<h3 id="tiff-wzxhzdk49wzxhzdk50">TIFF <a id="tiff"></a></h3>
 <p>FOP can embed TIFF images without decompression into PDF, PostScript and AFP if they have either CCITT T.4, CCITT T.6, or JPEG compression. Otherwise, a TIFF-capable Image&nbsp;I/O codec is necessary for decoding the image.</p>
 <p>There may be some limitation concerning images in the CMYK color space.</p>
-<h3 id="wmf-wzxhzdk54wzxhzdk55">WMF <a id="wmf"></a></h3>
+<h3 id="wmf-wzxhzdk52wzxhzdk53">WMF <a id="wmf"></a></h3>
 <p>Windows Metafiles (WMF) are supported through classes in <a href="http://xmlgraphics.apache.org/batik/">Apache Batik</a> . At the moment, support for this format is experimental and may not always work as expected.</p>
-<h2 id="graphics-resolution-wzxhzdk56wzxhzdk57">Graphics Resolution <a id="resolution"></a></h2>
+<h2 id="graphics-resolution-wzxhzdk54wzxhzdk55">Graphics Resolution <a id="resolution"></a></h2>
 <p>Some bitmapped image file formats store a dots-per-inch (dpi) or other resolution values. FOP tries to use this resolution information whenever possible to determine the image's intrinsic size. This size is used during the layout process when it is not superseded by an explicit size on fo:external-graphic (content-width and content-height properties).</p>
 <p>Please note that not all images contain resolution information. If it's not available the source resolution set on the FopFactory (or through the user configuration XML) is used. The default here is 72 dpi.</p>
 <p>Bitmap images are generally embedded into the output format at their original resolution (as is). No resampling of the image is performed. Explicit resampling is on our wishlist, but hasn't been implemented, yet. Bitmaps included in SVG graphics may be resampled to the resolution specified in the "target resolution" setting in the <a href="configuration.html">configuration</a> if SVG filters are applied. This can be used as a work-around to resample images in FO documents.</p>
-<h2 id="page-selection-for-multi-page-formats-wzxhzdk58wzxhzdk59">Page selection for multi-page formats <a id="page-selection"></a></h2>
+<h2 id="page-selection-for-multi-page-formats-wzxhzdk56wzxhzdk57">Page selection for multi-page formats <a id="page-selection"></a></h2>
 <p>Some image formats such as TIFF support multiple pages/sub-images per file. You can select a particular page using a special URI fragment in the form: <uri>#page=<nr> (for example: <code>http://localhost/images/myimage.tiff#page=3</code> )</p>
-<h2 id="image-caching-wzxhzdk62wzxhzdk63">Image caching <a id="caching"></a></h2>
+<h2 id="image-caching-wzxhzdk60wzxhzdk61">Image caching <a id="caching"></a></h2>
 <p>FOP caches images between runs. There is one cache per FopFactory instance. The URI is used as a key to identify images which means that when a particular URI appears again, the image is taken from the cache. If you have a servlet that generates a different image each time it is called with the same URI you need to use a constantly changing dummy parameter on the URI to avoid caching.</p>
 <p>The image cache has been improved considerably in the redesigned code. Therefore, resetting the image cache should be a thing of the past. If you still experience OutOfMemoryErrors, please notify us.</p>
 <p>If all else fails, the image cache can be cleared like this: <code>fopFactory.getImageManager().getCache().clearCache();</code> </p></div>

To unsubscribe, e-mail: commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: commits-help@xmlgraphics.apache.org

View raw message