Hyphenation
 

Installation of Compiled Hyphenation Patterns for FOP-stable

Installation of Compiled Hyphenation Patterns for FOP-stable

The jar file fop-hyph.jar contains the XML hyphenation patterns compiled for FOP's development code. To use these hyphenation patterns with FOP, do one of the following:

  • If you invoke FOP using the shell script fop.sh or the batch file fop.bat distributed with FOP, do one of the following:
    1. Copy the jar file fop-hyph.jar into the lib directory of the your FOP installation, or
    2. copy the jar file fop-hyph.jar into the build directory of the your FOP installation, or
    3. copy the jar file fop-hyph.jar into a directory of your choice and set the environment variable FOP_HYPHENATION_PATH equal to the path of the chosen directory. In Unix shells, export the variable. On Unix you can also set this variable in your fop rc file $HOME/.foprc.
  • If you invoke FOP in your own way, include fop-hyph.jar into your classpath.

Note that these patterns were compiled for FOP's stable distribution fop-0.9x. When the HyphenationTree class in FOP's development version is modified considerably, the compiled patterns may no longer be usable with that version, and you must obtain recompiled patterns.

See also the hyphenation page of FOP's web site.