xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Douglas" <edoug...@blockhouse.com>
Subject RE: SEVERE: Couldn't find hyphenation pattern en_US
Date Tue, 22 Jun 2010 20:50:39 GMT
You can view the files in a jar including classes with a jar viewer
program.  A jar is just a form of compressed file like zip or rar.  I
use 7-zip to view it.

You can get the manifest.mf file from the jar to check for a classpath
being referenced by the jar.  If the classpath just has the jar names,
it's assumed they're in the same path as the fop.jar.  Make sure you
have all the jars referenced in the classpath.  Some of them you have to
download elsewhere and you may need to rename.

The classpath within the jar may interfere with programs which embed the
jar and assign their own classpath.  I had that problem, so I downloaded
the source, removed the classpath from the manifest, and recompiled it

-----Original Message-----
From: Tom Browder [mailto:tom.browder@gmail.com] 
Sent: Tuesday, June 22, 2010 4:43 PM
To: fop-dev@xmlgraphics.apache.org
Subject: Re: SEVERE: Couldn't find hyphenation pattern en_US

On Tue, Jun 22, 2010 at 15:29, J.Pietschmann <j3322ptm@yahoo.de> wrote:
> On 22.06.2010 19:02, Tom Browder wrote:
>> I have tried to explicitly point to the "fop-hyph.jar" file with the 
>> FOP_HYPHENATION_PATH environment variable but that doesn't seem to 
>> work.

So should I file a bug for that?

> The fop-hyph.jar must be in the classpath, putting it into the fop/lib

> directory should be sufficient if FOP is run using one of the scripts 
> as they pick up any jar there.
> I'm not sure whether the fop-hyph.jar from the OFFO project contains 
> an en_US hyphenation class, maybe there is only an en_UK class there. 
> Check using jar -tvf lib/fop-hyph.jar

Note that I tried the CLASSPATH trick before with fop 0.95 and it didn't
work, but I'll try again.  Is there any way (tool or utility) to read a
jar file to see if a particular hyphenation class is there?



View raw message