diff options
author | Manuel Mall <manuel@apache.org> | 2005-10-26 15:28:51 +0000 |
---|---|---|
committer | Manuel Mall <manuel@apache.org> | 2005-10-26 15:28:51 +0000 |
commit | 1db5f26a3bd4060dfb4e2889e662be96e2510606 (patch) | |
tree | 9588bffd867f500a4dd5a625a10c918db55390e5 | |
parent | e1747c51b3eb53898fa9d1b455d9608619588155 (diff) | |
download | xmlgraphics-fop-1db5f26a3bd4060dfb4e2889e662be96e2510606.tar.gz xmlgraphics-fop-1db5f26a3bd4060dfb4e2889e662be96e2510606.zip |
Minor corrections / additions to trunk part of web site
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@328659 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/documentation/content/xdocs/trunk/embedding.xml | 2 | ||||
-rw-r--r-- | src/documentation/content/xdocs/trunk/fonts.xml | 9 | ||||
-rw-r--r-- | src/documentation/content/xdocs/trunk/hyphenation.xml | 2 |
3 files changed, 9 insertions, 4 deletions
diff --git a/src/documentation/content/xdocs/trunk/embedding.xml b/src/documentation/content/xdocs/trunk/embedding.xml index 384bd1cc2..da16e44ca 100644 --- a/src/documentation/content/xdocs/trunk/embedding.xml +++ b/src/documentation/content/xdocs/trunk/embedding.xml @@ -270,7 +270,7 @@ Fop fop = new Fop(Constants.RENDER_PS, userAgent);]]></source> <p> The <strong>base URL</strong> to use when resolving relative URLs. Example: </p> - <source>userAgent.setBaseURL("file://C:/Temp/");</source> + <source>userAgent.setBaseURL("file:///C:/Temp/");</source> </li> <li> <p> diff --git a/src/documentation/content/xdocs/trunk/fonts.xml b/src/documentation/content/xdocs/trunk/fonts.xml index 66dc8bf9e..ba5be8ed3 100644 --- a/src/documentation/content/xdocs/trunk/fonts.xml +++ b/src/documentation/content/xdocs/trunk/fonts.xml @@ -28,6 +28,11 @@ <body> <section id="intro"> <title>Summary</title> + <note>The FOP Font subsystem is currently undergoing a significant change. + The details provided here especially related to the generation of FOP Font + Metrics files and the FOP Font configuration are likely to change substantially + in the future. + </note> <p>The following table summarizes the font capabilities of the various FOP renderers:</p> <table> <tr> @@ -225,8 +230,8 @@ It will display all of the font names and exit with an Exception.</p> <section id="register"> <title>Register Fonts with FOP</title> <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> - <source><![CDATA[<font metrics-url="file:C:/myfonts/FTL_____.xml" kerning="yes" - embed-url="file:C:/myfonts/FTL_____.pfb"> + <source><![CDATA[<font metrics-url="file:///C:/myfonts/FTL_____.xml" kerning="yes" + embed-url="file:///C:/myfonts/FTL_____.pfb"> <font-triplet name="FrutigerLight" style="normal" weight="normal"/> </font>]]></source> <note>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.</note> diff --git a/src/documentation/content/xdocs/trunk/hyphenation.xml b/src/documentation/content/xdocs/trunk/hyphenation.xml index fd9225cec..3340f9c4f 100644 --- a/src/documentation/content/xdocs/trunk/hyphenation.xml +++ b/src/documentation/content/xdocs/trunk/hyphenation.xml @@ -229,7 +229,7 @@ <a class="fork" href="http://www.ctan.org/tex-archive/systems/knuth/tex/texbook.tex">The TeX Book</a>, appendix H (either read the TeX source, or run it through TeX to typeset it). Secondary articles, for example the works by Petr Sojka, - may alos give some much needed insigth into problems arising in automated + may also give some much needed insight into problems arising in automated hyphenation.</p> </section> </body> |