This should work. If you are using fop downloaded from Apache, use:

fop --execdebug xxx.fo xxx.pdf

to see the classpath, and check whether /home/lrs/fop/fop-hyph.jar is
part of it. Also check if /home/lrs/fop/fop-hyph.jar exists and is
readable.

If you are using fop from debian or ubuntu, use:

DEBUG_WRAPPER=1 fop xxx.fo xxx.pdf

and check.

On Sun, Sep 11, 2011 at 08:39:28PM +0200, Lars Bjørndal wrote:
> 
> I then used 'unzip -v fop-hyph.jar' to list the content, and found the
> file 'hyph/no.hyp'. In ~/.foprc, I put:
> 'FOP_HYPHENATION_PATH="/home/lrs/fop/fop-hyph.jar"'.
> 
> In the .fo file, I've tried both, language="no" and language="nb". In
> both cases, I get the following output while running fop:
> 
> 11.sep.2011 20:14:51 org.apache.fop.hyphenation.Hyphenator
> getHyphenationTree
> SEVERE: Couldn't find hyphenation pattern no
> 
> Any ideas?
> 
> Lars
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Reply via email to