"Odd numbers represent an acceptable location for a hyphen, with
higher values overriding lower inhibiting values. . .Due to a bug
currently patterns with values of 8 and greater don't have an effect,
so don't wonder." (from http://xml.apache.org/fop/hyphenation.html)

This leads me to believe that I should be using 7.  With 7 or with 1
(and no other 1's), it still breaks:
Frap-
ples,Robert(Age-
ncy)

I also tried setting this in my {src-dir}/src/hyph/en.xml and
recompiling fop.jar.  Still no luck.  Later on (probably tomorrow)
I'll attach an example xml,xsl,en.xml snippet.

On Tue, 14 Dec 2004 18:54:46 +0100, Andreas L. Delmelle
<[EMAIL PROTECTED]> wrote:
> > Just to make sure, if i added to <classes>:
> > )
> > (
> > ,
> >
> > and to <patterns>:
> > 7(
> > )7
> > ,7
> >
> > And the text: "Frapples,Robert(Agency)" is split at 15
> > characters, I should get:
> > "Frapples,-
> > Robert(Agency)"
> >
> > Right?
> 
> Not necessarily... '7' indicates an acceptable possibility for hyphenating,
> but as long as there's a possibility of breaking it at a '3', the latter
> will be chosen.
> 
> Besides that:
> F-R-A-P-P-L-E-S-,-R-O-B-E-R-T
> 
> is 15 characters, so I'd expect it to break between 'Robert' and '('.
> 
> What result do you get?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to