You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by as...@apache.org on 2007/09/08 22:17:47 UTC

svn commit: r573901 [31/44] - in /cocoon/site: site/ site/2.0/ site/2.0/developing/ site/2.0/faq/ site/2.0/howto/chaperon/ site/2.0/installing/ site/2.0/plan/ site/2.0/snippet/ site/2.0/tutorial/ site/2.0/userdocs/ site/2.0/userdocs/actions/ site/2.0/u...

Modified: cocoon/site/site/2.0/userdocs/serializers/pcl-serializer.html
URL: http://svn.apache.org/viewvc/cocoon/site/site/2.0/userdocs/serializers/pcl-serializer.html?rev=573901&r1=573900&r2=573901&view=diff
==============================================================================
--- cocoon/site/site/2.0/userdocs/serializers/pcl-serializer.html (original)
+++ cocoon/site/site/2.0/userdocs/serializers/pcl-serializer.html Sat Sep  8 13:17:41 2007
@@ -1,201 +1,201 @@
-<html>
-<head>
-<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
-<title>PCL Serializer</title>
-<STYLE type="text/css">
-a.menu {
-	color: #FFFFFF;
-    text-align:left;               
-    font-size:12px;
-    font-family: Verdana, Arial, Helvetica, sans-serif;
-    font-weight:plain;
-    text-decoration:none;
-    padding-left: 14px
-}
-
-A.menu:hover {
-	color: #FFCC00
-}
-
-
-.menutitle {
-	color: #000000;
-    text-align:left;               
-    font-size:10px;
-    font-family: Verdana, Arial, Helvetica, sans-serif;
-    font-weight:bold;
-    padding-left: 8px
-}
-.menuselected {
-	color: #FFCC00;
-    text-align:left;               
-    font-size:12px;
-    font-family: Verdana, Arial, Helvetica, sans-serif;
-    font-weight:bold;
-    padding-left: 14px
-}
-</STYLE>
-</head>
-<body bgcolor="#ffffff" marginheight="4" marginwidth="4" leftmargin="4" topmargin="4" alink="#cc0000" vlink="#0086b2" link="#039acc" text="#000000">
-<table border="0" cellpadding="0" cellspacing="0" width="100%">
-<tr>
-<td align="left" valign="top" rowspan="3" height="60" width="135"><img border="0" vspace="0" hspace="0" src="images/logo.gif" height="60" width="135"></td><td background="images/line.gif" rowspan="1" colSpan="2" align="left" valign="top" height="0" width="100%"></td><td align="left" valign="top" rowspan="3" height="60" width="29"><img border="0" vspace="0" hspace="0" src="images/right.gif" height="60" width="29"></td>
-</tr>
-<tr>
-<td bgcolor="#0086b2" colspan="2" align="right" valign="top" height="35" width="100%"><font color="#ffffff" face="Verdana, Arial, Helvetica, sans-serif" size="5">PCL Serializer</font></td>
-</tr>
-<tr>
-<td background="images/bottom.gif" colspan="2" width="100%" valign="top" height="20" bgcolor="#0086b2" align="right">
-<table width="288" cellspacing="0" cellpadding="0" border="0">
-<tr>
-<td align="left" valign="top" height="20" width="96"><a target="new" href="http://xml.apache.org/"><img border="0" vspace="0" hspace="0" name="xml" src="images/button-xml-lo.gif" height="20" width="96" alt="http://xml.apache.org/"></a></td><td align="left" valign="top" height="20" width="96"><a target="new" href="http://www.apache.org/"><img border="0" vspace="0" hspace="0" name="asf" src="images/button-asf-lo.gif" height="20" width="96" alt="http://www.apache.org/"></a></td><td align="left" valign="top" height="20" width="96"><a target="new" href="http://www.w3.org/"><img border="0" vspace="0" hspace="0" name="w3c" src="images/button-w3c-lo.gif" height="20" width="96" alt="http://www.w3.org/"></a></td>
-</tr>
-</table>
-</td>
-</tr>
-</table>
-<table width="100%" cellspacing="0" cellpadding="0" border="0">
-<tr width="100%">
-<td align="left" valign="top" width="120">
-<table width="120" cellspacing="0" cellpadding="0" border="0" bgcolor="#a0a0a0">
-<tr>
-<td valign="top" align="left"><img width="120" vspace="0" src="images/join.gif" hspace="0" height="14" border="0"><br>
-</td>
-</tr>
-<tr>
-<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="../../index.html">Main</a></td>
-</tr>
-<tr>
-<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="../index.html">User Documentation</a></td>
-</tr>
-<tr>
-<td background="images/label-background_b.gif" bgcolor="#959595" valign="top"><img width="120" height="6" src="images/separator.gif"><br>
-<span class="menutitle">Serializers</span></td>
-</tr>
-<tr>
-<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="serializers.html">Overview</a></td>
-</tr>
-<tr>
-<td background="images/label-background_b.gif" bgcolor="#959595" valign="top"><img width="120" height="6" src="images/separator.gif"><br>
-<span class="menutitle">Default</span></td>
-</tr>
-<tr>
-<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="html-serializer.html">HTML Serializer</a></td>
-</tr>
-<tr>
-<td background="images/label-background_b.gif" bgcolor="#959595" valign="top"><img width="120" height="6" src="images/separator.gif"><br>
-<span class="menutitle">Core</span></td>
-</tr>
-<tr>
-<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="xhtml-serializer.html">XHTML Serializer</a></td>
-</tr>
-<tr>
-<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="xml-serializer.html">XML Serializer</a></td>
-</tr>
-<tr>
-<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="text-serializer.html">Text Serializer</a></td>
-</tr>
-<tr>
-<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="wap-serializer.html">WAP/WML Serializer</a></td>
-</tr>
-<tr>
-<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="svg-serializer.html">SVG Serializer</a></td>
-</tr>
-<tr>
-<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="svgxml-serializer.html">SVG/XML Serializer</a></td>
-</tr>
-<tr>
-<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="svgjpeg-serializer.html">SVG/JPEG Serializer</a></td>
-</tr>
-<tr>
-<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="svgpng-serializer.html">SVG/PNG Serializer</a></td>
-</tr>
-<tr>
-<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="svgtiff-serializer.html">SVG/TIFF Serializer</a></td>
-</tr>
-<tr>
-<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="vrml-serializer.html">VRML Serializer</a></td>
-</tr>
-<tr>
-<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="link-serializer.html">Link Serializer</a></td>
-</tr>
-<tr>
-<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="ziparchive-serializer.html">Zip archive Serializer</a></td>
-</tr>
-<tr>
-<td background="images/label-background_b.gif" bgcolor="#959595" valign="top"><img width="120" height="6" src="images/separator.gif"><br>
-<span class="menutitle">Optional</span></td>
-</tr>
-<tr>
-<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="pdf-serializer.html">PDF Serializer</a></td>
-</tr>
-<tr>
-<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="ps-serializer.html">PS Serializer</a></td>
-</tr>
-<tr>
-<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><span class="menuselected">PCL Serializer</span></td>
-</tr>
-<tr>
-<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="xls-serializer.html">HSSF (XLS) Serializer</a></td>
-</tr>
-<tr>
-<td align="left" valign="top"><img width="120" vspace="0" src="images/close.gif" hspace="0" height="14" border="0"><br>
-</td>
-</tr>
-</table>
-</td><td>
-<table cellspacing="15" cellpadding="0" border="0">
-<tr>
-<td>
-    
-    
-        <font face="verdana, helvetica, sans serif" size="+2" color="#0086b2">PCL Serializer</font>
-<hr style="color: #0086b2" size="1">
-            
-<p>
-<font color="black" face="verdana,helvetica,sanserif">The pcl serializer takes fo xml events as input. By using the
-                     FOP project it creates pcl out of the sax events.</font>
-</p>
-                  
-<p>
-<font color="black" face="verdana,helvetica,sanserif">This serializer is optional and requires the fop package
-                     in the lib directory when building cocoon 2. However,
-                     the distribution includes this package already.</font>
-</p>
-            
-<blockquote>
-<ul>
-                
-<li>
-<font face="verdana, helvetica, sans serif">Name : fo2pcl</font>
-</li>
-                
-<li>
-<font face="verdana, helvetica, sans serif">Class: org.apache.cocoon.serialization.PCLSerializer</font>
-</li>
-                
-<li>
-<font face="verdana, helvetica, sans serif">Cacheable: yes.</font>
-</li>
-            
-</ul>
-</blockquote>
-        
-    
-
-</td>
-</tr>
-</table>
-</td>
-</tr>
-</table>
-<table width="100%" cellspacing="0" cellpadding="0" border="0">
-<tr>
-<td bgcolor="#0086b2"><img width="1" src="images/dot.gif" height="1"></td>
-</tr>
-<tr>
-<td align="center"><font size="-1" face="arial,helvetica,sanserif" color="#0086b2"><i>Copyright &copy; 1999-2002 The Apache Software Foundation. All Rights Reserved.</i></font></td>
-</tr>
-</table>
-</body>
-</html>
+<html>
+<head>
+<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>PCL Serializer</title>
+<STYLE type="text/css">
+a.menu {
+	color: #FFFFFF;
+    text-align:left;               
+    font-size:12px;
+    font-family: Verdana, Arial, Helvetica, sans-serif;
+    font-weight:plain;
+    text-decoration:none;
+    padding-left: 14px
+}
+
+A.menu:hover {
+	color: #FFCC00
+}
+
+
+.menutitle {
+	color: #000000;
+    text-align:left;               
+    font-size:10px;
+    font-family: Verdana, Arial, Helvetica, sans-serif;
+    font-weight:bold;
+    padding-left: 8px
+}
+.menuselected {
+	color: #FFCC00;
+    text-align:left;               
+    font-size:12px;
+    font-family: Verdana, Arial, Helvetica, sans-serif;
+    font-weight:bold;
+    padding-left: 14px
+}
+</STYLE>
+</head>
+<body bgcolor="#ffffff" marginheight="4" marginwidth="4" leftmargin="4" topmargin="4" alink="#cc0000" vlink="#0086b2" link="#039acc" text="#000000">
+<table border="0" cellpadding="0" cellspacing="0" width="100%">
+<tr>
+<td align="left" valign="top" rowspan="3" height="60" width="135"><img border="0" vspace="0" hspace="0" src="images/logo.gif" height="60" width="135"></td><td background="images/line.gif" rowspan="1" colSpan="2" align="left" valign="top" height="0" width="100%"></td><td align="left" valign="top" rowspan="3" height="60" width="29"><img border="0" vspace="0" hspace="0" src="images/right.gif" height="60" width="29"></td>
+</tr>
+<tr>
+<td bgcolor="#0086b2" colspan="2" align="right" valign="top" height="35" width="100%"><font color="#ffffff" face="Verdana, Arial, Helvetica, sans-serif" size="5">PCL Serializer</font></td>
+</tr>
+<tr>
+<td background="images/bottom.gif" colspan="2" width="100%" valign="top" height="20" bgcolor="#0086b2" align="right">
+<table width="288" cellspacing="0" cellpadding="0" border="0">
+<tr>
+<td align="left" valign="top" height="20" width="96"><a target="new" href="http://xml.apache.org/"><img border="0" vspace="0" hspace="0" name="xml" src="images/button-xml-lo.gif" height="20" width="96" alt="http://xml.apache.org/"></a></td><td align="left" valign="top" height="20" width="96"><a target="new" href="http://www.apache.org/"><img border="0" vspace="0" hspace="0" name="asf" src="images/button-asf-lo.gif" height="20" width="96" alt="http://www.apache.org/"></a></td><td align="left" valign="top" height="20" width="96"><a target="new" href="http://www.w3.org/"><img border="0" vspace="0" hspace="0" name="w3c" src="images/button-w3c-lo.gif" height="20" width="96" alt="http://www.w3.org/"></a></td>
+</tr>
+</table>
+</td>
+</tr>
+</table>
+<table width="100%" cellspacing="0" cellpadding="0" border="0">
+<tr width="100%">
+<td align="left" valign="top" width="120">
+<table width="120" cellspacing="0" cellpadding="0" border="0" bgcolor="#a0a0a0">
+<tr>
+<td valign="top" align="left"><img width="120" vspace="0" src="images/join.gif" hspace="0" height="14" border="0"><br>
+</td>
+</tr>
+<tr>
+<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="../../index.html">Main</a></td>
+</tr>
+<tr>
+<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="../index.html">User Documentation</a></td>
+</tr>
+<tr>
+<td background="images/label-background_b.gif" bgcolor="#959595" valign="top"><img width="120" height="6" src="images/separator.gif"><br>
+<span class="menutitle">Serializers</span></td>
+</tr>
+<tr>
+<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="serializers.html">Overview</a></td>
+</tr>
+<tr>
+<td background="images/label-background_b.gif" bgcolor="#959595" valign="top"><img width="120" height="6" src="images/separator.gif"><br>
+<span class="menutitle">Default</span></td>
+</tr>
+<tr>
+<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="html-serializer.html">HTML Serializer</a></td>
+</tr>
+<tr>
+<td background="images/label-background_b.gif" bgcolor="#959595" valign="top"><img width="120" height="6" src="images/separator.gif"><br>
+<span class="menutitle">Core</span></td>
+</tr>
+<tr>
+<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="xhtml-serializer.html">XHTML Serializer</a></td>
+</tr>
+<tr>
+<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="xml-serializer.html">XML Serializer</a></td>
+</tr>
+<tr>
+<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="text-serializer.html">Text Serializer</a></td>
+</tr>
+<tr>
+<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="wap-serializer.html">WAP/WML Serializer</a></td>
+</tr>
+<tr>
+<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="svg-serializer.html">SVG Serializer</a></td>
+</tr>
+<tr>
+<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="svgxml-serializer.html">SVG/XML Serializer</a></td>
+</tr>
+<tr>
+<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="svgjpeg-serializer.html">SVG/JPEG Serializer</a></td>
+</tr>
+<tr>
+<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="svgpng-serializer.html">SVG/PNG Serializer</a></td>
+</tr>
+<tr>
+<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="svgtiff-serializer.html">SVG/TIFF Serializer</a></td>
+</tr>
+<tr>
+<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="vrml-serializer.html">VRML Serializer</a></td>
+</tr>
+<tr>
+<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="link-serializer.html">Link Serializer</a></td>
+</tr>
+<tr>
+<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="ziparchive-serializer.html">Zip archive Serializer</a></td>
+</tr>
+<tr>
+<td background="images/label-background_b.gif" bgcolor="#959595" valign="top"><img width="120" height="6" src="images/separator.gif"><br>
+<span class="menutitle">Optional</span></td>
+</tr>
+<tr>
+<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="pdf-serializer.html">PDF Serializer</a></td>
+</tr>
+<tr>
+<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="ps-serializer.html">PS Serializer</a></td>
+</tr>
+<tr>
+<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><span class="menuselected">PCL Serializer</span></td>
+</tr>
+<tr>
+<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="xls-serializer.html">HSSF (XLS) Serializer</a></td>
+</tr>
+<tr>
+<td align="left" valign="top"><img width="120" vspace="0" src="images/close.gif" hspace="0" height="14" border="0"><br>
+</td>
+</tr>
+</table>
+</td><td>
+<table cellspacing="15" cellpadding="0" border="0">
+<tr>
+<td>
+    
+    
+        <font face="verdana, helvetica, sans serif" size="+2" color="#0086b2">PCL Serializer</font>
+<hr style="color: #0086b2" size="1">
+            
+<p>
+<font color="black" face="verdana,helvetica,sanserif">The pcl serializer takes fo xml events as input. By using the
+                     FOP project it creates pcl out of the sax events.</font>
+</p>
+                  
+<p>
+<font color="black" face="verdana,helvetica,sanserif">This serializer is optional and requires the fop package
+                     in the lib directory when building cocoon 2. However,
+                     the distribution includes this package already.</font>
+</p>
+            
+<blockquote>
+<ul>
+                
+<li>
+<font face="verdana, helvetica, sans serif">Name : fo2pcl</font>
+</li>
+                
+<li>
+<font face="verdana, helvetica, sans serif">Class: org.apache.cocoon.serialization.PCLSerializer</font>
+</li>
+                
+<li>
+<font face="verdana, helvetica, sans serif">Cacheable: yes.</font>
+</li>
+            
+</ul>
+</blockquote>
+        
+    
+
+</td>
+</tr>
+</table>
+</td>
+</tr>
+</table>
+<table width="100%" cellspacing="0" cellpadding="0" border="0">
+<tr>
+<td bgcolor="#0086b2"><img width="1" src="images/dot.gif" height="1"></td>
+</tr>
+<tr>
+<td align="center"><font size="-1" face="arial,helvetica,sanserif" color="#0086b2"><i>Copyright &copy; 1999-2002 The Apache Software Foundation. All Rights Reserved.</i></font></td>
+</tr>
+</table>
+</body>
+</html>

Modified: cocoon/site/site/2.0/userdocs/serializers/pdf-serializer.html
URL: http://svn.apache.org/viewvc/cocoon/site/site/2.0/userdocs/serializers/pdf-serializer.html?rev=573901&r1=573900&r2=573901&view=diff
==============================================================================
--- cocoon/site/site/2.0/userdocs/serializers/pdf-serializer.html (original)
+++ cocoon/site/site/2.0/userdocs/serializers/pdf-serializer.html Sat Sep  8 13:17:41 2007
@@ -1,579 +1,579 @@
-<html>
-<head>
-<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
-<title>PDF Serializer</title>
-<STYLE type="text/css">
-a.menu {
-	color: #FFFFFF;
-    text-align:left;               
-    font-size:12px;
-    font-family: Verdana, Arial, Helvetica, sans-serif;
-    font-weight:plain;
-    text-decoration:none;
-    padding-left: 14px
-}
-
-A.menu:hover {
-	color: #FFCC00
-}
-
-
-.menutitle {
-	color: #000000;
-    text-align:left;               
-    font-size:10px;
-    font-family: Verdana, Arial, Helvetica, sans-serif;
-    font-weight:bold;
-    padding-left: 8px
-}
-.menuselected {
-	color: #FFCC00;
-    text-align:left;               
-    font-size:12px;
-    font-family: Verdana, Arial, Helvetica, sans-serif;
-    font-weight:bold;
-    padding-left: 14px
-}
-</STYLE>
-</head>
-<body bgcolor="#ffffff" marginheight="4" marginwidth="4" leftmargin="4" topmargin="4" alink="#cc0000" vlink="#0086b2" link="#039acc" text="#000000">
-<table border="0" cellpadding="0" cellspacing="0" width="100%">
-<tr>
-<td align="left" valign="top" rowspan="3" height="60" width="135"><img border="0" vspace="0" hspace="0" src="images/logo.gif" height="60" width="135"></td><td background="images/line.gif" rowspan="1" colSpan="2" align="left" valign="top" height="0" width="100%"></td><td align="left" valign="top" rowspan="3" height="60" width="29"><img border="0" vspace="0" hspace="0" src="images/right.gif" height="60" width="29"></td>
-</tr>
-<tr>
-<td bgcolor="#0086b2" colspan="2" align="right" valign="top" height="35" width="100%"><font color="#ffffff" face="Verdana, Arial, Helvetica, sans-serif" size="5">PDF Serializer</font></td>
-</tr>
-<tr>
-<td background="images/bottom.gif" colspan="2" width="100%" valign="top" height="20" bgcolor="#0086b2" align="right">
-<table width="288" cellspacing="0" cellpadding="0" border="0">
-<tr>
-<td align="left" valign="top" height="20" width="96"><a target="new" href="http://xml.apache.org/"><img border="0" vspace="0" hspace="0" name="xml" src="images/button-xml-lo.gif" height="20" width="96" alt="http://xml.apache.org/"></a></td><td align="left" valign="top" height="20" width="96"><a target="new" href="http://www.apache.org/"><img border="0" vspace="0" hspace="0" name="asf" src="images/button-asf-lo.gif" height="20" width="96" alt="http://www.apache.org/"></a></td><td align="left" valign="top" height="20" width="96"><a target="new" href="http://www.w3.org/"><img border="0" vspace="0" hspace="0" name="w3c" src="images/button-w3c-lo.gif" height="20" width="96" alt="http://www.w3.org/"></a></td>
-</tr>
-</table>
-</td>
-</tr>
-</table>
-<table width="100%" cellspacing="0" cellpadding="0" border="0">
-<tr width="100%">
-<td align="left" valign="top" width="120">
-<table width="120" cellspacing="0" cellpadding="0" border="0" bgcolor="#a0a0a0">
-<tr>
-<td valign="top" align="left"><img width="120" vspace="0" src="images/join.gif" hspace="0" height="14" border="0"><br>
-</td>
-</tr>
-<tr>
-<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="../../index.html">Main</a></td>
-</tr>
-<tr>
-<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="../index.html">User Documentation</a></td>
-</tr>
-<tr>
-<td background="images/label-background_b.gif" bgcolor="#959595" valign="top"><img width="120" height="6" src="images/separator.gif"><br>
-<span class="menutitle">Serializers</span></td>
-</tr>
-<tr>
-<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="serializers.html">Overview</a></td>
-</tr>
-<tr>
-<td background="images/label-background_b.gif" bgcolor="#959595" valign="top"><img width="120" height="6" src="images/separator.gif"><br>
-<span class="menutitle">Default</span></td>
-</tr>
-<tr>
-<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="html-serializer.html">HTML Serializer</a></td>
-</tr>
-<tr>
-<td background="images/label-background_b.gif" bgcolor="#959595" valign="top"><img width="120" height="6" src="images/separator.gif"><br>
-<span class="menutitle">Core</span></td>
-</tr>
-<tr>
-<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="xhtml-serializer.html">XHTML Serializer</a></td>
-</tr>
-<tr>
-<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="xml-serializer.html">XML Serializer</a></td>
-</tr>
-<tr>
-<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="text-serializer.html">Text Serializer</a></td>
-</tr>
-<tr>
-<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="wap-serializer.html">WAP/WML Serializer</a></td>
-</tr>
-<tr>
-<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="svg-serializer.html">SVG Serializer</a></td>
-</tr>
-<tr>
-<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="svgxml-serializer.html">SVG/XML Serializer</a></td>
-</tr>
-<tr>
-<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="svgjpeg-serializer.html">SVG/JPEG Serializer</a></td>
-</tr>
-<tr>
-<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="svgpng-serializer.html">SVG/PNG Serializer</a></td>
-</tr>
-<tr>
-<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="svgtiff-serializer.html">SVG/TIFF Serializer</a></td>
-</tr>
-<tr>
-<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="vrml-serializer.html">VRML Serializer</a></td>
-</tr>
-<tr>
-<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="link-serializer.html">Link Serializer</a></td>
-</tr>
-<tr>
-<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="ziparchive-serializer.html">Zip archive Serializer</a></td>
-</tr>
-<tr>
-<td background="images/label-background_b.gif" bgcolor="#959595" valign="top"><img width="120" height="6" src="images/separator.gif"><br>
-<span class="menutitle">Optional</span></td>
-</tr>
-<tr>
-<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><span class="menuselected">PDF Serializer</span></td>
-</tr>
-<tr>
-<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="ps-serializer.html">PS Serializer</a></td>
-</tr>
-<tr>
-<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="pcl-serializer.html">PCL Serializer</a></td>
-</tr>
-<tr>
-<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="xls-serializer.html">HSSF (XLS) Serializer</a></td>
-</tr>
-<tr>
-<td align="left" valign="top"><img width="120" vspace="0" src="images/close.gif" hspace="0" height="14" border="0"><br>
-</td>
-</tr>
-</table>
-</td><td>
-<table cellspacing="15" cellpadding="0" border="0">
-<tr>
-<td>
-    
-    
-        <font face="verdana, helvetica, sans serif" size="+2" color="#0086b2">PDF Serializer</font>
-<hr style="color: #0086b2" size="1">
-            
-<p>
-<font color="black" face="verdana,helvetica,sanserif">The PDF serializer takes
-                <a href="http://www.w3.org/TR/xsl">XSL FO</a> SAX events as input.
-                By using the <a href="http://xml.apache.org/fop/">FOP</a> project
-                it creates PDF out of the SAX events.</font>
-</p>
-            
-<p>
-<font color="black" face="verdana,helvetica,sanserif">This serializer is optional and requires the FOP package in the lib
-                directory when building Cocoon 2. However, the distribution includes
-                this package already.</font>
-</p>
-            
-<blockquote>
-<ul>
-                
-<li>
-<font face="verdana, helvetica, sans serif">Name : fo2pdf</font>
-</li>
-                
-<li>
-<font face="verdana, helvetica, sans serif">Class: org.apache.cocoon.serialization.FOPSerializer</font>
-</li>
-                
-<li>
-<font face="verdana, helvetica, sans serif">Cacheable: yes</font>
-</li>
-            
-</ul>
-</blockquote>
-        
-        
-<font face="verdana, helvetica, sans serif" size="+2" color="#0086b2">FOP and Embedding Fonts</font>
-<hr style="color: #0086b2" size="1">
-          
-<p>
-<font color="black" face="verdana,helvetica,sanserif">Dynamically generating a PDF file (with embedded fonts) in Cocoon
-            is basically 8 steps:</font>
-</p>
-          
-<blockquote>
-<ol>
-            
-<li>
-<font face="verdana, helvetica, sans serif">Create the font(s) metric file(s).</font>
-</li>
-            
-<li>
-<font face="verdana, helvetica, sans serif">Create a custom configuration file for FOP (Cocoons PDF renderer),
-              which tells it what fonts are available and where to find them.</font>
-</li>
-            
-<li>
-<font face="verdana, helvetica, sans serif">Create your xml (left as an exercise for the reader ;)</font>
-</li>
-            
-<li>
-<font face="verdana, helvetica, sans serif">Create your xslt (again, up to you)</font>
-</li>
-            
-<li>
-<font face="verdana, helvetica, sans serif">In the sitemap, tell the fo2pdf serializer where your custom
-              configuration file is located.</font>
-</li>
-            
-<li>
-<font face="verdana, helvetica, sans serif">Add a match for your PDF (I'm sure you can do the rest...).</font>
-</li>
-            
-<li>
-<font face="verdana, helvetica, sans serif">Start Cocoon.</font>
-</li>
-            
-<li>
-<font face="verdana, helvetica, sans serif">Request your PDF.</font>
-</li>
-          
-</ol>
-</blockquote>
-          
-<p>
-<font color="black" face="verdana,helvetica,sanserif">Easy yeah? OK. Step-by-step...</font>
-</p>
-
-          
-<font face="verdana, helvetica, sans serif" size="+1" color="#0086b2"><b>Create the font(s) metric file(s).</b></font>
-            
-<p>
-<table border="0" cellpadding="0" cellspacing="3" width="100%">
-<tr>
-<td valign="top" width="28"><img alt="Note" border="0" hspace="0" vspace="0" height="29" width="28" src="images/note.gif"></td><td valign="top"><font color="black" face="verdana,helvetica,sanserif" size="-1"><i>All java calls have nothing else in the classpath or ext directory.
-                Also, instructions which have wrapped should be entered as one single
-                instruction.</i></font></td>
-</tr>
-</table>
-</p>
-            
-<p>
-<font color="black" face="verdana,helvetica,sanserif">The instruction to generate a font metric file is:</font>
-</p>
-            
-<p>
-<font color="black" face="verdana,helvetica,sanserif">Windows:</font>
-</p>
-            
-<div align="center">
-<table border="0" cellpadding="0" cellspacing="4">
-<tr>
-<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
-</tr>
-<tr>
-<td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td bgcolor="#ffffff">
-<pre>
-$ cd %PATH_TO_COCOON%\lib
-$ java -cp optional\fop-0.20.4.jar;core\xercesImpl-2.0.0.jar;core\xml-apis.jar \
-  org.apache.fop.fonts.apps.TTFReader \
-  %PATH_TO_FONT% %PATH_TO_METRICS_DIR%\%FONT_NAME%.xml
-            </pre>
-</td><td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
-</tr>
-<tr>
-<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
-</tr>
-</table>
-</div>
-            
-<p>
-<font color="black" face="verdana,helvetica,sanserif">Unix:</font>
-</p>
-            
-<div align="center">
-<table border="0" cellpadding="0" cellspacing="4">
-<tr>
-<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
-</tr>
-<tr>
-<td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td bgcolor="#ffffff">
-<pre>
-$ cd $PATH_TO_COCOON/lib
-$ java -cp optional/fop-0.20.4.jar;core/xercesImpl-2.0.0.jar;core/xml-apis.jar \
-  org.apache.fop.fonts.apps.TTFReader \
-  $PATH_TO_FONT  $PATH_TO_METRICS_DIR/$FONT_NAME.xml
-            </pre>
-</td><td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
-</tr>
-<tr>
-<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
-</tr>
-</table>
-</div>
-
-            
-<font face="verdana, helvetica, sans serif" size="+1" color="#0086b2">Example: Create the Arial metric files.</font>
-              
-<p>
-<font color="black" face="verdana,helvetica,sanserif">For the sake of the rest of this tutorial, I'm going to be using
-                Windows NT, converting the Arial family of fonts and storing the metrics
-                files in the location <code><font face="courier, monospaced">D:\fop-fonts</font></code>.</font>
-</p>
-              
-<p>
-<font color="black" face="verdana,helvetica,sanserif">My TTF files are located in <code><font face="courier, monospaced">C:\WINNT\Fonts</font></code>. If you are
-                running on Linux/Windows 9x/ME/2000/XP please alter as appropriate.</font>
-</p>
-              
-<p>
-<table border="0" cellpadding="0" cellspacing="3" width="100%">
-<tr>
-<td valign="top" width="28"><img alt="Note" border="0" hspace="0" vspace="0" height="29" width="28" src="images/note.gif"></td><td valign="top"><font color="black" face="verdana,helvetica,sanserif" size="-1"><i>I normally use Cygwin; a Unix shell environment which runs on Windows.
-                If I slip some Unix into here, please excuse me (although I'd welcome
-                the feedback...).</i></font></td>
-</tr>
-</table>
-</p>
-
-              
-<p>
-<font color="black" face="verdana,helvetica,sanserif">Start a command session (as appropriate to your env), then change
-                to Cocoon libs directory.</font>
-</p>
-              
-<div align="center">
-<table border="0" cellpadding="0" cellspacing="4">
-<tr>
-<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
-</tr>
-<tr>
-<td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td bgcolor="#ffffff">
-<pre>$ cd %PATH_TO_COCOON%\lib</pre>
-</td><td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
-</tr>
-<tr>
-<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
-</tr>
-</table>
-</div>
-              
-<p>
-<font color="black" face="verdana,helvetica,sanserif">Create the metrics directory (D:\fop-fonts)</font>
-</p>
-              
-<div align="center">
-<table border="0" cellpadding="0" cellspacing="4">
-<tr>
-<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
-</tr>
-<tr>
-<td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td bgcolor="#ffffff">
-<pre>$ mkdir d:\fop-fonts</pre>
-</td><td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
-</tr>
-<tr>
-<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
-</tr>
-</table>
-</div>
-              
-<p>
-<font color="black" face="verdana,helvetica,sanserif">Create the metrics for arial.ttf, arialb.ttf, arialbi.ttf, ariali.ttf</font>
-</p>
-
-<div align="center">
-<table border="0" cellpadding="0" cellspacing="4">
-<tr>
-<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
-</tr>
-<tr>
-<td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td bgcolor="#ffffff">
-<pre>
-$ java -cp optional\fop-0.20.4.jar;core\xercesImpl-2.0.0.jar;core\xml-apis.jar \
-  org.apache.fop.fonts.apps.TTFReader \
-  C:\WINNT\Fonts\arial.ttf D:\fop-fonts\arial.ttf.xml
-$ java -cp optional\fop-0.20.4.jar;core\xercesImpl-2.0.0.jar;core\xml-apis.jar \
-  org.apache.fop.fonts.apps.TTFReader \
-  C:\WINNT\Fonts\arialb.ttf  D:\fop-fonts\arialb.ttf.xml
-$ java -cp optional\fop-0.20.4.jar;core\xercesImpl-2.0.0.jar;core\xml-apis.jar \
-  org.apache.fop.fonts.apps.TTFReader \
-  C:\WINNT\Fonts\arialbi.ttf D:\fop-fonts\arialbi.ttf.xml
-$ java -cp optional\fop-0.20.4.jar;core\xercesImpl-2.0.0.jar;core\xml-apis.jar \
-  org.apache.fop.fonts.apps.TTFReader \
-  C:\WINNT\Fonts\ariali.ttf  D:\fop-fonts\ariali.ttf.xml
-</pre>
-</td><td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
-</tr>
-<tr>
-<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
-</tr>
-</table>
-</div>
-              
-<p>
-<font color="black" face="verdana,helvetica,sanserif">If everything went to plan, you should now have the metrics for
-                the Arial fonts in your fop-fonts directory.</font>
-</p>
-            
-          
-          
-<font face="verdana, helvetica, sans serif" size="+1" color="#0086b2"><b>Create a custom configuration file</b></font>
-            
-<p>
-<font color="black" face="verdana,helvetica,sanserif">I normally store this with the metrics file in the fop-fonts
-              directory (called config.xml (ensure there's not a font called
-              config ;)) although I fully qualify all the filenames just incase I
-              move it ;)</font>
-</p>
-            
-<p>
-<font color="black" face="verdana,helvetica,sanserif">I also find it useful to retain the <code><font face="courier, monospaced">.ttf</font></code> as it is also
-              possible to add other types of fonts (if you want to read the FOP
-              docs) and the <code><font face="courier, monospaced">.ttf</font></code> tells me where to locate the font.</font>
-</p>
-
-<div align="center">
-<table border="0" cellpadding="0" cellspacing="4">
-<tr>
-<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
-</tr>
-<tr>
-<td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td bgcolor="#ffffff">
-<pre>
-&lt;configuration&gt;
-  &lt;fonts&gt;
-    &lt;font metrics-file="D:/fop-fonts/arial.ttf.xml" 
-          kerning="yes" embed-file="C:/WINNT/Fonts/arial.ttf"&gt;
-      &lt;font-triplet name="Arial" style="normal" weight="normal"/&gt;
-      &lt;font-triplet name="ArialMT" style="normal" weight="normal"/&gt;
-    &lt;/font&gt;
-    &lt;font metrics-file="D:/fop-fonts/arialb.ttf.xml" 
-          kerning="yes" embed-file="C:/WINNT/Fonts/arialb.ttf"&gt;
-      &lt;font-triplet name="Arial" style="normal" weight="bold"/&gt;
-      &lt;font-triplet name="ArialMT" style="normal" weight="bold"/&gt;
-    &lt;/font&gt;
-    &lt;font metrics-file="D:/fop-fonts/arialbi.ttf.xml"
-          kerning="yes" embed-file="C:/WINNT/Fonts/arialbi.ttf"&gt;
-      &lt;font-triplet name="Arial" style="italic" weight="bold"/&gt;
-      &lt;font-triplet name="ArialMT" style="italic" weight="bold"/&gt;
-    &lt;/font&gt;
-    &lt;font metrics-file="D:/fop-fonts/ariali.ttf.xml"
-          kerning="yes" embed-file="C:/WINNT/Fonts/ariali.ttf"&gt;
-      &lt;font-triplet name="Arial" style="italic" weight="normal"/&gt;
-      &lt;font-triplet name="ArialMT" style="italic" weight="normal"/&gt;
-    &lt;/font&gt;
-  &lt;/fonts&gt;
-&lt;/configuration&gt;
-</pre>
-</td><td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
-</tr>
-<tr>
-<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
-</tr>
-</table>
-</div>
-            
-<p>
-<font color="black" face="verdana,helvetica,sanserif">There are other things you can add to this file, look at the FOP
-              documentation for further information.</font>
-</p>
-            
-<p>
-<font color="black" face="verdana,helvetica,sanserif">If you are wondering why each font has been added twice, it has to do
-              with the font lookup. If the font is specified as 'Arial' and the
-              weight is 'bold' then FOP searches for a matching
-              <code><font face="courier, monospaced">&lt;font-triplet/&gt;</font></code>, then uses the parent
-              <code><font face="courier, monospaced">&lt;font/&gt;</font></code> tag to get the actual font information.
-              If the font is specified as 'ArialMT' (it's proper name) it will still
-              work. Think of it as an alias capability.</font>
-</p>
-          
-          
-<font face="verdana, helvetica, sans serif" size="+1" color="#0086b2"><b>Sitemap and fo2pdf serializer.</b></font>
-            
-<p>
-<font color="black" face="verdana,helvetica,sanserif">All that remains is to tell the serializer, where your config file is
-              located. Find the line in your sitemap which looks like:</font>
-</p>
-
-<div align="center">
-<table border="0" cellpadding="0" cellspacing="4">
-<tr>
-<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
-</tr>
-<tr>
-<td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td bgcolor="#ffffff">
-<pre>
-&lt;map:serializer name="fo2pdf"
-                src="org.apache.cocoon.serialization.FOPSerializer"
-                mime-type="application/pdf"/&gt;
-</pre>
-</td><td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
-</tr>
-<tr>
-<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
-</tr>
-</table>
-</div>
-            
-<p>
-<font color="black" face="verdana,helvetica,sanserif">and replace it with:</font>
-</p>
-
-<div align="center">
-<table border="0" cellpadding="0" cellspacing="4">
-<tr>
-<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
-</tr>
-<tr>
-<td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td bgcolor="#ffffff">
-<pre>
-&lt;map:serializer name="fo2pdf"
-                src="org.apache.cocoon.serialization.FOPSerializer"
-                mime-type="application/pdf"&gt;
-  &lt;user-config&gt;D:/fop-fonts/config.xml&lt;/user-config&gt;
-&lt;/map:serializer&gt;
-</pre>
-</td><td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
-</tr>
-<tr>
-<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
-</tr>
-</table>
-</div>
-            
-<p>
-<font color="black" face="verdana,helvetica,sanserif">You can use absolute paths like above or relative ones. The relative
-              paths will be resolved to the servlet's context directory. Furthermore it's possible
-              to use Cocoon protocols like <code><font face="courier, monospaced">cocoon://</font></code> or
-              <code><font face="courier, monospaced">context://</font></code>.</font>
-</p>
-            
-<p>
-<table border="0" cellpadding="0" cellspacing="3" width="100%">
-<tr>
-<td valign="top" width="28"><img alt="Note" border="0" hspace="0" vspace="0" height="29" width="28" src="images/note.gif"></td><td valign="top"><font color="black" face="verdana,helvetica,sanserif" size="-1"><i>In an older version of Cocoon (2.0.3 and earlier) the config file
-              location was specified by using an attribute 'src' on
-              &lt;user-config/&gt;. If you still have this in your sitemap, it's
-              recommended to change it to the above provided configuration.</i></font></td>
-</tr>
-</table>
-</p>
-          
-          
-<p>
-<font color="black" face="verdana,helvetica,sanserif">And that's it. Oh, one final thing to remember: the cache isn't aware
-            of your config file; <b>always</b> delete your cache-dir
-            after modifying your config file.</font>
-</p>
-        
-    
-
-</td>
-</tr>
-</table>
-</td>
-</tr>
-</table>
-<table width="100%" cellspacing="0" cellpadding="0" border="0">
-<tr>
-<td bgcolor="#0086b2"><img width="1" src="images/dot.gif" height="1"></td>
-</tr>
-<tr>
-<td align="center"><font size="-1" face="arial,helvetica,sanserif" color="#0086b2"><i>Copyright &copy; 1999-2002 The Apache Software Foundation. All Rights Reserved.</i></font></td>
-</tr>
-</table>
-</body>
-</html>
+<html>
+<head>
+<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>PDF Serializer</title>
+<STYLE type="text/css">
+a.menu {
+	color: #FFFFFF;
+    text-align:left;               
+    font-size:12px;
+    font-family: Verdana, Arial, Helvetica, sans-serif;
+    font-weight:plain;
+    text-decoration:none;
+    padding-left: 14px
+}
+
+A.menu:hover {
+	color: #FFCC00
+}
+
+
+.menutitle {
+	color: #000000;
+    text-align:left;               
+    font-size:10px;
+    font-family: Verdana, Arial, Helvetica, sans-serif;
+    font-weight:bold;
+    padding-left: 8px
+}
+.menuselected {
+	color: #FFCC00;
+    text-align:left;               
+    font-size:12px;
+    font-family: Verdana, Arial, Helvetica, sans-serif;
+    font-weight:bold;
+    padding-left: 14px
+}
+</STYLE>
+</head>
+<body bgcolor="#ffffff" marginheight="4" marginwidth="4" leftmargin="4" topmargin="4" alink="#cc0000" vlink="#0086b2" link="#039acc" text="#000000">
+<table border="0" cellpadding="0" cellspacing="0" width="100%">
+<tr>
+<td align="left" valign="top" rowspan="3" height="60" width="135"><img border="0" vspace="0" hspace="0" src="images/logo.gif" height="60" width="135"></td><td background="images/line.gif" rowspan="1" colSpan="2" align="left" valign="top" height="0" width="100%"></td><td align="left" valign="top" rowspan="3" height="60" width="29"><img border="0" vspace="0" hspace="0" src="images/right.gif" height="60" width="29"></td>
+</tr>
+<tr>
+<td bgcolor="#0086b2" colspan="2" align="right" valign="top" height="35" width="100%"><font color="#ffffff" face="Verdana, Arial, Helvetica, sans-serif" size="5">PDF Serializer</font></td>
+</tr>
+<tr>
+<td background="images/bottom.gif" colspan="2" width="100%" valign="top" height="20" bgcolor="#0086b2" align="right">
+<table width="288" cellspacing="0" cellpadding="0" border="0">
+<tr>
+<td align="left" valign="top" height="20" width="96"><a target="new" href="http://xml.apache.org/"><img border="0" vspace="0" hspace="0" name="xml" src="images/button-xml-lo.gif" height="20" width="96" alt="http://xml.apache.org/"></a></td><td align="left" valign="top" height="20" width="96"><a target="new" href="http://www.apache.org/"><img border="0" vspace="0" hspace="0" name="asf" src="images/button-asf-lo.gif" height="20" width="96" alt="http://www.apache.org/"></a></td><td align="left" valign="top" height="20" width="96"><a target="new" href="http://www.w3.org/"><img border="0" vspace="0" hspace="0" name="w3c" src="images/button-w3c-lo.gif" height="20" width="96" alt="http://www.w3.org/"></a></td>
+</tr>
+</table>
+</td>
+</tr>
+</table>
+<table width="100%" cellspacing="0" cellpadding="0" border="0">
+<tr width="100%">
+<td align="left" valign="top" width="120">
+<table width="120" cellspacing="0" cellpadding="0" border="0" bgcolor="#a0a0a0">
+<tr>
+<td valign="top" align="left"><img width="120" vspace="0" src="images/join.gif" hspace="0" height="14" border="0"><br>
+</td>
+</tr>
+<tr>
+<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="../../index.html">Main</a></td>
+</tr>
+<tr>
+<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="../index.html">User Documentation</a></td>
+</tr>
+<tr>
+<td background="images/label-background_b.gif" bgcolor="#959595" valign="top"><img width="120" height="6" src="images/separator.gif"><br>
+<span class="menutitle">Serializers</span></td>
+</tr>
+<tr>
+<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="serializers.html">Overview</a></td>
+</tr>
+<tr>
+<td background="images/label-background_b.gif" bgcolor="#959595" valign="top"><img width="120" height="6" src="images/separator.gif"><br>
+<span class="menutitle">Default</span></td>
+</tr>
+<tr>
+<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="html-serializer.html">HTML Serializer</a></td>
+</tr>
+<tr>
+<td background="images/label-background_b.gif" bgcolor="#959595" valign="top"><img width="120" height="6" src="images/separator.gif"><br>
+<span class="menutitle">Core</span></td>
+</tr>
+<tr>
+<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="xhtml-serializer.html">XHTML Serializer</a></td>
+</tr>
+<tr>
+<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="xml-serializer.html">XML Serializer</a></td>
+</tr>
+<tr>
+<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="text-serializer.html">Text Serializer</a></td>
+</tr>
+<tr>
+<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="wap-serializer.html">WAP/WML Serializer</a></td>
+</tr>
+<tr>
+<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="svg-serializer.html">SVG Serializer</a></td>
+</tr>
+<tr>
+<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="svgxml-serializer.html">SVG/XML Serializer</a></td>
+</tr>
+<tr>
+<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="svgjpeg-serializer.html">SVG/JPEG Serializer</a></td>
+</tr>
+<tr>
+<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="svgpng-serializer.html">SVG/PNG Serializer</a></td>
+</tr>
+<tr>
+<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="svgtiff-serializer.html">SVG/TIFF Serializer</a></td>
+</tr>
+<tr>
+<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="vrml-serializer.html">VRML Serializer</a></td>
+</tr>
+<tr>
+<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="link-serializer.html">Link Serializer</a></td>
+</tr>
+<tr>
+<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="ziparchive-serializer.html">Zip archive Serializer</a></td>
+</tr>
+<tr>
+<td background="images/label-background_b.gif" bgcolor="#959595" valign="top"><img width="120" height="6" src="images/separator.gif"><br>
+<span class="menutitle">Optional</span></td>
+</tr>
+<tr>
+<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><span class="menuselected">PDF Serializer</span></td>
+</tr>
+<tr>
+<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="ps-serializer.html">PS Serializer</a></td>
+</tr>
+<tr>
+<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="pcl-serializer.html">PCL Serializer</a></td>
+</tr>
+<tr>
+<td valign="top" bgcolor="#959595" background="images/label-background_a.gif"><a class="menu" href="xls-serializer.html">HSSF (XLS) Serializer</a></td>
+</tr>
+<tr>
+<td align="left" valign="top"><img width="120" vspace="0" src="images/close.gif" hspace="0" height="14" border="0"><br>
+</td>
+</tr>
+</table>
+</td><td>
+<table cellspacing="15" cellpadding="0" border="0">
+<tr>
+<td>
+    
+    
+        <font face="verdana, helvetica, sans serif" size="+2" color="#0086b2">PDF Serializer</font>
+<hr style="color: #0086b2" size="1">
+            
+<p>
+<font color="black" face="verdana,helvetica,sanserif">The PDF serializer takes
+                <a href="http://www.w3.org/TR/xsl">XSL FO</a> SAX events as input.
+                By using the <a href="http://xml.apache.org/fop/">FOP</a> project
+                it creates PDF out of the SAX events.</font>
+</p>
+            
+<p>
+<font color="black" face="verdana,helvetica,sanserif">This serializer is optional and requires the FOP package in the lib
+                directory when building Cocoon 2. However, the distribution includes
+                this package already.</font>
+</p>
+            
+<blockquote>
+<ul>
+                
+<li>
+<font face="verdana, helvetica, sans serif">Name : fo2pdf</font>
+</li>
+                
+<li>
+<font face="verdana, helvetica, sans serif">Class: org.apache.cocoon.serialization.FOPSerializer</font>
+</li>
+                
+<li>
+<font face="verdana, helvetica, sans serif">Cacheable: yes</font>
+</li>
+            
+</ul>
+</blockquote>
+        
+        
+<font face="verdana, helvetica, sans serif" size="+2" color="#0086b2">FOP and Embedding Fonts</font>
+<hr style="color: #0086b2" size="1">
+          
+<p>
+<font color="black" face="verdana,helvetica,sanserif">Dynamically generating a PDF file (with embedded fonts) in Cocoon
+            is basically 8 steps:</font>
+</p>
+          
+<blockquote>
+<ol>
+            
+<li>
+<font face="verdana, helvetica, sans serif">Create the font(s) metric file(s).</font>
+</li>
+            
+<li>
+<font face="verdana, helvetica, sans serif">Create a custom configuration file for FOP (Cocoons PDF renderer),
+              which tells it what fonts are available and where to find them.</font>
+</li>
+            
+<li>
+<font face="verdana, helvetica, sans serif">Create your xml (left as an exercise for the reader ;)</font>
+</li>
+            
+<li>
+<font face="verdana, helvetica, sans serif">Create your xslt (again, up to you)</font>
+</li>
+            
+<li>
+<font face="verdana, helvetica, sans serif">In the sitemap, tell the fo2pdf serializer where your custom
+              configuration file is located.</font>
+</li>
+            
+<li>
+<font face="verdana, helvetica, sans serif">Add a match for your PDF (I'm sure you can do the rest...).</font>
+</li>
+            
+<li>
+<font face="verdana, helvetica, sans serif">Start Cocoon.</font>
+</li>
+            
+<li>
+<font face="verdana, helvetica, sans serif">Request your PDF.</font>
+</li>
+          
+</ol>
+</blockquote>
+          
+<p>
+<font color="black" face="verdana,helvetica,sanserif">Easy yeah? OK. Step-by-step...</font>
+</p>
+
+          
+<font face="verdana, helvetica, sans serif" size="+1" color="#0086b2"><b>Create the font(s) metric file(s).</b></font>
+            
+<p>
+<table border="0" cellpadding="0" cellspacing="3" width="100%">
+<tr>
+<td valign="top" width="28"><img alt="Note" border="0" hspace="0" vspace="0" height="29" width="28" src="images/note.gif"></td><td valign="top"><font color="black" face="verdana,helvetica,sanserif" size="-1"><i>All java calls have nothing else in the classpath or ext directory.
+                Also, instructions which have wrapped should be entered as one single
+                instruction.</i></font></td>
+</tr>
+</table>
+</p>
+            
+<p>
+<font color="black" face="verdana,helvetica,sanserif">The instruction to generate a font metric file is:</font>
+</p>
+            
+<p>
+<font color="black" face="verdana,helvetica,sanserif">Windows:</font>
+</p>
+            
+<div align="center">
+<table border="0" cellpadding="0" cellspacing="4">
+<tr>
+<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
+</tr>
+<tr>
+<td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td bgcolor="#ffffff">
+<pre>
+$ cd %PATH_TO_COCOON%\lib
+$ java -cp optional\fop-0.20.4.jar;core\xercesImpl-2.0.0.jar;core\xml-apis.jar \
+  org.apache.fop.fonts.apps.TTFReader \
+  %PATH_TO_FONT% %PATH_TO_METRICS_DIR%\%FONT_NAME%.xml
+            </pre>
+</td><td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
+</tr>
+<tr>
+<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
+</tr>
+</table>
+</div>
+            
+<p>
+<font color="black" face="verdana,helvetica,sanserif">Unix:</font>
+</p>
+            
+<div align="center">
+<table border="0" cellpadding="0" cellspacing="4">
+<tr>
+<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
+</tr>
+<tr>
+<td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td bgcolor="#ffffff">
+<pre>
+$ cd $PATH_TO_COCOON/lib
+$ java -cp optional/fop-0.20.4.jar;core/xercesImpl-2.0.0.jar;core/xml-apis.jar \
+  org.apache.fop.fonts.apps.TTFReader \
+  $PATH_TO_FONT  $PATH_TO_METRICS_DIR/$FONT_NAME.xml
+            </pre>
+</td><td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
+</tr>
+<tr>
+<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
+</tr>
+</table>
+</div>
+
+            
+<font face="verdana, helvetica, sans serif" size="+1" color="#0086b2">Example: Create the Arial metric files.</font>
+              
+<p>
+<font color="black" face="verdana,helvetica,sanserif">For the sake of the rest of this tutorial, I'm going to be using
+                Windows NT, converting the Arial family of fonts and storing the metrics
+                files in the location <code><font face="courier, monospaced">D:\fop-fonts</font></code>.</font>
+</p>
+              
+<p>
+<font color="black" face="verdana,helvetica,sanserif">My TTF files are located in <code><font face="courier, monospaced">C:\WINNT\Fonts</font></code>. If you are
+                running on Linux/Windows 9x/ME/2000/XP please alter as appropriate.</font>
+</p>
+              
+<p>
+<table border="0" cellpadding="0" cellspacing="3" width="100%">
+<tr>
+<td valign="top" width="28"><img alt="Note" border="0" hspace="0" vspace="0" height="29" width="28" src="images/note.gif"></td><td valign="top"><font color="black" face="verdana,helvetica,sanserif" size="-1"><i>I normally use Cygwin; a Unix shell environment which runs on Windows.
+                If I slip some Unix into here, please excuse me (although I'd welcome
+                the feedback...).</i></font></td>
+</tr>
+</table>
+</p>
+
+              
+<p>
+<font color="black" face="verdana,helvetica,sanserif">Start a command session (as appropriate to your env), then change
+                to Cocoon libs directory.</font>
+</p>
+              
+<div align="center">
+<table border="0" cellpadding="0" cellspacing="4">
+<tr>
+<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
+</tr>
+<tr>
+<td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td bgcolor="#ffffff">
+<pre>$ cd %PATH_TO_COCOON%\lib</pre>
+</td><td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
+</tr>
+<tr>
+<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
+</tr>
+</table>
+</div>
+              
+<p>
+<font color="black" face="verdana,helvetica,sanserif">Create the metrics directory (D:\fop-fonts)</font>
+</p>
+              
+<div align="center">
+<table border="0" cellpadding="0" cellspacing="4">
+<tr>
+<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
+</tr>
+<tr>
+<td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td bgcolor="#ffffff">
+<pre>$ mkdir d:\fop-fonts</pre>
+</td><td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
+</tr>
+<tr>
+<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
+</tr>
+</table>
+</div>
+              
+<p>
+<font color="black" face="verdana,helvetica,sanserif">Create the metrics for arial.ttf, arialb.ttf, arialbi.ttf, ariali.ttf</font>
+</p>
+
+<div align="center">
+<table border="0" cellpadding="0" cellspacing="4">
+<tr>
+<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
+</tr>
+<tr>
+<td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td bgcolor="#ffffff">
+<pre>
+$ java -cp optional\fop-0.20.4.jar;core\xercesImpl-2.0.0.jar;core\xml-apis.jar \
+  org.apache.fop.fonts.apps.TTFReader \
+  C:\WINNT\Fonts\arial.ttf D:\fop-fonts\arial.ttf.xml
+$ java -cp optional\fop-0.20.4.jar;core\xercesImpl-2.0.0.jar;core\xml-apis.jar \
+  org.apache.fop.fonts.apps.TTFReader \
+  C:\WINNT\Fonts\arialb.ttf  D:\fop-fonts\arialb.ttf.xml
+$ java -cp optional\fop-0.20.4.jar;core\xercesImpl-2.0.0.jar;core\xml-apis.jar \
+  org.apache.fop.fonts.apps.TTFReader \
+  C:\WINNT\Fonts\arialbi.ttf D:\fop-fonts\arialbi.ttf.xml
+$ java -cp optional\fop-0.20.4.jar;core\xercesImpl-2.0.0.jar;core\xml-apis.jar \
+  org.apache.fop.fonts.apps.TTFReader \
+  C:\WINNT\Fonts\ariali.ttf  D:\fop-fonts\ariali.ttf.xml
+</pre>
+</td><td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
+</tr>
+<tr>
+<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
+</tr>
+</table>
+</div>
+              
+<p>
+<font color="black" face="verdana,helvetica,sanserif">If everything went to plan, you should now have the metrics for
+                the Arial fonts in your fop-fonts directory.</font>
+</p>
+            
+          
+          
+<font face="verdana, helvetica, sans serif" size="+1" color="#0086b2"><b>Create a custom configuration file</b></font>
+            
+<p>
+<font color="black" face="verdana,helvetica,sanserif">I normally store this with the metrics file in the fop-fonts
+              directory (called config.xml (ensure there's not a font called
+              config ;)) although I fully qualify all the filenames just incase I
+              move it ;)</font>
+</p>
+            
+<p>
+<font color="black" face="verdana,helvetica,sanserif">I also find it useful to retain the <code><font face="courier, monospaced">.ttf</font></code> as it is also
+              possible to add other types of fonts (if you want to read the FOP
+              docs) and the <code><font face="courier, monospaced">.ttf</font></code> tells me where to locate the font.</font>
+</p>
+
+<div align="center">
+<table border="0" cellpadding="0" cellspacing="4">
+<tr>
+<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
+</tr>
+<tr>
+<td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td bgcolor="#ffffff">
+<pre>
+&lt;configuration&gt;
+  &lt;fonts&gt;
+    &lt;font metrics-file="D:/fop-fonts/arial.ttf.xml" 
+          kerning="yes" embed-file="C:/WINNT/Fonts/arial.ttf"&gt;
+      &lt;font-triplet name="Arial" style="normal" weight="normal"/&gt;
+      &lt;font-triplet name="ArialMT" style="normal" weight="normal"/&gt;
+    &lt;/font&gt;
+    &lt;font metrics-file="D:/fop-fonts/arialb.ttf.xml" 
+          kerning="yes" embed-file="C:/WINNT/Fonts/arialb.ttf"&gt;
+      &lt;font-triplet name="Arial" style="normal" weight="bold"/&gt;
+      &lt;font-triplet name="ArialMT" style="normal" weight="bold"/&gt;
+    &lt;/font&gt;
+    &lt;font metrics-file="D:/fop-fonts/arialbi.ttf.xml"
+          kerning="yes" embed-file="C:/WINNT/Fonts/arialbi.ttf"&gt;
+      &lt;font-triplet name="Arial" style="italic" weight="bold"/&gt;
+      &lt;font-triplet name="ArialMT" style="italic" weight="bold"/&gt;
+    &lt;/font&gt;
+    &lt;font metrics-file="D:/fop-fonts/ariali.ttf.xml"
+          kerning="yes" embed-file="C:/WINNT/Fonts/ariali.ttf"&gt;
+      &lt;font-triplet name="Arial" style="italic" weight="normal"/&gt;
+      &lt;font-triplet name="ArialMT" style="italic" weight="normal"/&gt;
+    &lt;/font&gt;
+  &lt;/fonts&gt;
+&lt;/configuration&gt;
+</pre>
+</td><td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
+</tr>
+<tr>
+<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
+</tr>
+</table>
+</div>
+            
+<p>
+<font color="black" face="verdana,helvetica,sanserif">There are other things you can add to this file, look at the FOP
+              documentation for further information.</font>
+</p>
+            
+<p>
+<font color="black" face="verdana,helvetica,sanserif">If you are wondering why each font has been added twice, it has to do
+              with the font lookup. If the font is specified as 'Arial' and the
+              weight is 'bold' then FOP searches for a matching
+              <code><font face="courier, monospaced">&lt;font-triplet/&gt;</font></code>, then uses the parent
+              <code><font face="courier, monospaced">&lt;font/&gt;</font></code> tag to get the actual font information.
+              If the font is specified as 'ArialMT' (it's proper name) it will still
+              work. Think of it as an alias capability.</font>
+</p>
+          
+          
+<font face="verdana, helvetica, sans serif" size="+1" color="#0086b2"><b>Sitemap and fo2pdf serializer.</b></font>
+            
+<p>
+<font color="black" face="verdana,helvetica,sanserif">All that remains is to tell the serializer, where your config file is
+              located. Find the line in your sitemap which looks like:</font>
+</p>
+
+<div align="center">
+<table border="0" cellpadding="0" cellspacing="4">
+<tr>
+<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
+</tr>
+<tr>
+<td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td bgcolor="#ffffff">
+<pre>
+&lt;map:serializer name="fo2pdf"
+                src="org.apache.cocoon.serialization.FOPSerializer"
+                mime-type="application/pdf"/&gt;
+</pre>
+</td><td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
+</tr>
+<tr>
+<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
+</tr>
+</table>
+</div>
+            
+<p>
+<font color="black" face="verdana,helvetica,sanserif">and replace it with:</font>
+</p>
+
+<div align="center">
+<table border="0" cellpadding="0" cellspacing="4">
+<tr>
+<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
+</tr>
+<tr>
+<td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td bgcolor="#ffffff">
+<pre>
+&lt;map:serializer name="fo2pdf"
+                src="org.apache.cocoon.serialization.FOPSerializer"
+                mime-type="application/pdf"&gt;
+  &lt;user-config&gt;D:/fop-fonts/config.xml&lt;/user-config&gt;
+&lt;/map:serializer&gt;
+</pre>
+</td><td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
+</tr>
+<tr>
+<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1" src="images/void.gif"></td>
+</tr>
+</table>
+</div>
+            
+<p>
+<font color="black" face="verdana,helvetica,sanserif">You can use absolute paths like above or relative ones. The relative
+              paths will be resolved to the servlet's context directory. Furthermore it's possible
+              to use Cocoon protocols like <code><font face="courier, monospaced">cocoon://</font></code> or
+              <code><font face="courier, monospaced">context://</font></code>.</font>
+</p>
+            
+<p>
+<table border="0" cellpadding="0" cellspacing="3" width="100%">
+<tr>
+<td valign="top" width="28"><img alt="Note" border="0" hspace="0" vspace="0" height="29" width="28" src="images/note.gif"></td><td valign="top"><font color="black" face="verdana,helvetica,sanserif" size="-1"><i>In an older version of Cocoon (2.0.3 and earlier) the config file
+              location was specified by using an attribute 'src' on
+              &lt;user-config/&gt;. If you still have this in your sitemap, it's
+              recommended to change it to the above provided configuration.</i></font></td>
+</tr>
+</table>
+</p>
+          
+          
+<p>
+<font color="black" face="verdana,helvetica,sanserif">And that's it. Oh, one final thing to remember: the cache isn't aware
+            of your config file; <b>always</b> delete your cache-dir
+            after modifying your config file.</font>
+</p>
+        
+    
+
+</td>
+</tr>
+</table>
+</td>
+</tr>
+</table>
+<table width="100%" cellspacing="0" cellpadding="0" border="0">
+<tr>
+<td bgcolor="#0086b2"><img width="1" src="images/dot.gif" height="1"></td>
+</tr>
+<tr>
+<td align="center"><font size="-1" face="arial,helvetica,sanserif" color="#0086b2"><i>Copyright &copy; 1999-2002 The Apache Software Foundation. All Rights Reserved.</i></font></td>
+</tr>
+</table>
+</body>
+</html>