Browse Source

Update of the URL of the OFFO hyphenation page, and of some build details.


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@292138 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-0_90-alpha1
Simon Pepping 18 years ago
parent
commit
33a32401e9
1 changed files with 8 additions and 7 deletions
  1. 8
    7
      src/documentation/content/xdocs/hyphenation.xml

+ 8
- 7
src/documentation/content/xdocs/hyphenation.xml View File

language specific pattern and other data for operation.</p> language specific pattern and other data for operation.</p>
<p>Because of <link href="#license-issues">licensing issues</link> (and for <p>Because of <link href="#license-issues">licensing issues</link> (and for
convenience), all hyphenation patterns for FOP are made available through convenience), all hyphenation patterns for FOP are made available through
the <fork href="http://offo.sourceforge.net/hyphenation.html">Objects For
the <fork href="http://offo.sourceforge.net/hyphenation/index.html">Objects For
Formatting Objects</fork> project.</p> Formatting Objects</fork> project.</p>
<note>If you have made improvements to an existing FOP hyphenation pattern, <note>If you have made improvements to an existing FOP hyphenation pattern,
or if you have created one from scratch, please consider contributing these or if you have created one from scratch, please consider contributing these
<li>There are basically three ways to make the FOP-compatible hyphenation pattern <li>There are basically three ways to make the FOP-compatible hyphenation pattern
file(s) accessible to FOP: file(s) accessible to FOP:
<ul> <ul>
<li>Download the precompiled JAR from <fork href="http://offo.sourceforge.net/hyphenation.html">OFFO
<li>Download the precompiled JAR from <fork href="http://offo.sourceforge.net/hyphenation/index.html">OFFO
</fork> and place it either in the <code>{fop-dir}/lib</code> directory, or </fork> and place it either in the <code>{fop-dir}/lib</code> directory, or
in a directory of your choice (and append the full path to the JAR to in a directory of your choice (and append the full path to the JAR to
the environment variable <code>FOP_HYPHENATION_PATH</code>).</li> the environment variable <code>FOP_HYPHENATION_PATH</code>).</li>
<li>Download the desired FOP-compatible hyphenation pattern file(s) from <li>Download the desired FOP-compatible hyphenation pattern file(s) from
<fork href="http://offo.sourceforge.net/hyphenation.html">OFFO</fork>,
<fork href="http://offo.sourceforge.net/hyphenation/index.html">OFFO</fork>,
<ul> <ul>
<li>place them in the directory <code>{fop-dir}/hyph</code>, </li> <li>place them in the directory <code>{fop-dir}/hyph</code>, </li>
<li>or place them in a directory of your choice and set the Ant variable <li>or place them in a directory of your choice and set the Ant variable
<code>hyph.dir</code> to point to that directory (in
<code>user.hyph.dir</code> to point to that directory (in
<code>build-local.properties</code>),</li> <code>build-local.properties</code>),</li>
</ul> </ul>
and run Ant with build target and run Ant with build target
<code>hyphenation-jar</code>. This will create a JAR containing the
<code>jar-hyphenation</code>. This will create a JAR containing the
compiled patterns in <code>{fop-dir}/build</code> that will be added to the compiled patterns in <code>{fop-dir}/build</code> that will be added to the
classpath on the next run. classpath on the next run.
(When FOP is built from scratch, and there are pattern source file(s) (When FOP is built from scratch, and there are pattern source file(s)
present in <code>{fop-dir}/hyph</code>, this JAR will automatically
present in the directory pointed to by the
<code>user.hyph.dir</code> variable, this JAR will automatically
be created from the supplied pattern(s)).</li> be created from the supplied pattern(s)).</li>
<li>Put the pattern source file(s) into a directory of your choice and <li>Put the pattern source file(s) into a directory of your choice and
configure FOP to look for custom patterns in this directory, by setting the configure FOP to look for custom patterns in this directory, by setting the
<p>If you would like to build your own hyphenation pattern files, or modify <p>If you would like to build your own hyphenation pattern files, or modify
existing ones, this section will help you understand how to do so. Even existing ones, this section will help you understand how to do so. Even
when creating a pattern file from scratch, it may be beneficial to start when creating a pattern file from scratch, it may be beneficial to start
with an existing file and modify it. See <fork href="http://offo.sourceforge.net/hyphenation.html">
with an existing file and modify it. See <fork href="http://offo.sourceforge.net/hyphenation/index.html">
OFFO's Hyphenation page</fork> for examples. OFFO's Hyphenation page</fork> for examples.
Here is a brief explanation of the contents of FOP's hyphenation patterns:</p> Here is a brief explanation of the contents of FOP's hyphenation patterns:</p>
<warning>The remaining content of this section should be considered "draft" <warning>The remaining content of this section should be considered "draft"

Loading…
Cancel
Save