xmlgraphics-fop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerem...@apache.org
Subject svn commit: r358397 - /xmlgraphics/fop/branches/fop-0_91/src/documentation/content/xdocs/trunk/fonts.xml
Date Wed, 21 Dec 2005 22:13:13 GMT
Author: jeremias
Date: Wed Dec 21 14:13:06 2005
New Revision: 358397

URL: http://svn.apache.org/viewcvs?rev=358397&view=rev
Log:
Updated the classpath for PFMReader and TTFReader.

Modified:
    xmlgraphics/fop/branches/fop-0_91/src/documentation/content/xdocs/trunk/fonts.xml

Modified: xmlgraphics/fop/branches/fop-0_91/src/documentation/content/xdocs/trunk/fonts.xml
URL: http://svn.apache.org/viewcvs/xmlgraphics/fop/branches/fop-0_91/src/documentation/content/xdocs/trunk/fonts.xml?rev=358397&r1=358396&r2=358397&view=diff
==============================================================================
--- xmlgraphics/fop/branches/fop-0_91/src/documentation/content/xdocs/trunk/fonts.xml (original)
+++ xmlgraphics/fop/branches/fop-0_91/src/documentation/content/xdocs/trunk/fonts.xml Wed
Dec 21 14:13:06 2005
@@ -135,13 +135,19 @@
         <title>Type 1 Font Metrics</title>
         <p>FOP includes PFMReader, which reads the PFM file that normally comes with
a Type 1 font, and generates an appropriate font metrics file for it.
 To use it, run the class org.apache.fop.fonts.apps.PFMReader:</p>
-        <p>Windows:</p>
-        <source>java -cp build\fop.jar;lib\avalon-framework.jar;lib\xml-apis.jar;
-         lib\xercesImpl.jar;lib\xalan.jar
+        <p>Windows (on JDK 1.4 and later):</p>
+        <source>java -cp build\fop.jar;lib\avalon-framework.jar;lib\commons-logging.jar;lib\commons-io.jar
            org.apache.fop.fonts.apps.PFMReader [options] pfm-file xml-file</source>
-        <p>Unix:</p>
-        <source>java -cp build/fop.jar:lib/avalon-framework.jar:lib/xml-apis.jar:
-         lib/xercesImpl.jar:lib/xalan.jar
+        <p>Windows (on JDK 1.3.x):</p>
+        <source>java -cp build\fop.jar;lib\avalon-framework.jar;lib\commons-logging.jar;lib\commons-io.jar;lib\xml-apis.jar;
+         lib\xercesImpl.jar;lib\xalan.jar;lib\serializer.jar
+           org.apache.fop.fonts.apps.PFMReader [options] pfm-file xml-file</source>
+        <p>Unix (on JDK 1.4 and later):</p>
+        <source>java -cp build/fop.jar:lib/avalon-framework.jar:lib/commons-logging.jar:lib/commons-io.jar
+           org.apache.fop.fonts.apps.PFMReader [options] pfm-file xml-file</source>
+        <p>Unix (on JDK 1.3.1):</p>
+        <source>java -cp build/fop.jar:lib/avalon-framework.jar:lib/commons-logging.jar:lib/commons-io.jar:lib/xml-apis.jar:
+         lib/xercesImpl.jar:lib/xalan.jar:lib/serializer.jar
            org.apache.fop.fonts.apps.PFMReader [options] pfm-file xml-file</source>
         <p>PFMReader [options]:</p>
         <ul>
@@ -153,8 +159,7 @@
         </ul>
         <note>The classpath in the above example has been simplified for readability.
 You will have to adjust the classpath to the names of the actual JAR files in the lib directory.
-avalon-framework.jar is necessary only for versions 0.20.5 or later.
-xml-apis.jar, xercesImpl.jar and xalan.jar are not necessary for JDK version 1.4 or later.</note>
+xml-apis.jar, xercesImpl.jar, xalan.jar and serializer.jar are not necessary for JDK version
1.4 or later.</note>
         <note>The tool will construct some values (FontBBox, StemV and ItalicAngle)
based on assumptions and calculations which are only an approximation to the real values.
 FontBBox and Italic Angle can be found in the human-readable part of the PFB file or in the
AFM file.
 The PFMReader tool does not yet interpret PFB or AFM files, so if you want to be correct,
you may have to adjust the values in the XML file manually.
@@ -165,8 +170,7 @@
         <p>FOP includes TTFReader, which reads the TTF file and generates an appropriate
font metrics file for it.
 Use it in a similar manner to PFMReader.
 For example, to create such a metrics file in Windows from the TrueType font at c:\myfonts\cmr10.ttf:</p>
-        <source>java -cp build\fop.jar;lib\avalon-framework.jar;lib\xml-apis.jar;
-         lib\xercesImpl.jar;lib\xalan.jar
+        <source>java -cp build\fop.jar;lib\avalon-framework.jar;lib\commons-logging.jar;lib\commons-io.jar
            org.apache.fop.fonts.apps.TTFReader [options]
              C:\myfonts\cmr10.ttf ttfcm.xml</source>
         <p>TTFReader [options]:</p>
@@ -222,8 +226,7 @@
         <p>To get a list of the fonts in a collection, just start the TTFReader as
if it were a normal TrueType file (without the -ttcname option).
 It will display all of the font names and exit with an Exception.</p>
         <p>Here is an example of generating a metrics file for a .ttc file:</p>
-        <source>java -cp build\fop.jar;lib\avalon-framework.jar;lib\xml-apis.jar;
-         lib\xercesImpl.jar;lib\xalan.jar
+        <source>java -cp build\fop.jar;lib\avalon-framework.jar;lib\commons-logging.jar;lib\commons-io.jar
            org.apache.fop.fonts.apps.TTFReader -ttcname "MS Mincho"
              msmincho.ttc msminch.xml</source>
       </section>



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


Mime
View raw message