Re: Initial soft hyphen support

2007-01-16 Thread Andreas L Delmelle
On Jan 15, 2007, at 22:20, Andreas L Delmelle wrote: snip / Not really sure what would be most efficient: - a void method appending to a parameter StringBuffer - a method returning a copy of the char[] from index to index... Seen that every String ultimately has a backing char[](*) anyway,

Re: Initial soft hyphen support

2007-01-16 Thread Vincent Hennebert
Andreas L Delmelle a écrit : On Jan 15, 2007, at 22:20, Andreas L Delmelle wrote: snip / Not really sure what would be most efficient: - a void method appending to a parameter StringBuffer - a method returning a copy of the char[] from index to index... Seen that every String ultimately

Re: Initial soft hyphen support

2007-01-16 Thread Clay Leeds
On Jan 16, 2007, at 12:25 PM, Vincent Hennebert wrote: Hadn't we agreed upon raising the minimum Java version to 1.4? Or at least make a poll on fop-user to see if that would create any problem. If that'd depend only on me, we would already be using all the Java 1.5 nice features ;-) Vincent

Re: Initial soft hyphen support

2007-01-15 Thread Andreas L Delmelle
On Jan 14, 2007, at 23:11, J.Pietschmann wrote: Andreas L Delmelle wrote: The SHY character will be presented to the hyphenator simply as a character of the word it appears in. The hyphenator should then be smart enough to recognize this as a special character, and do something like:

Re: Initial soft hyphen support

2007-01-15 Thread J.Pietschmann
Andreas L Delmelle wrote: BTW: I took a very quick look, and does anyone know if there is a good reason why Hyphenation.word is a String? The hyphenator interface goes through several wrapping layers, probably due to the usual take working code and wrap it to fit the caller method. This which

Re: Initial soft hyphen support

2007-01-15 Thread Andreas L Delmelle
On Jan 15, 2007, at 21:25, J.Pietschmann wrote: Andreas L Delmelle wrote: BTW: I took a very quick look, and does anyone know if there is a good reason why Hyphenation.word is a String? The hyphenator interface goes through several wrapping layers, probably due to the usual take working

Re: Initial soft hyphen support

2007-01-14 Thread J.Pietschmann
Andreas L Delmelle wrote: The SHY character will be presented to the hyphenator simply as a character of the word it appears in. The hyphenator should then be smart enough to recognize this as a special character, and do something like: create a hyphenation point for the SHY, ...

Initial soft hyphen support

2007-01-13 Thread Manuel Mall
Just committed the initial support for the soft hyphen. As we had two in favour of having the SHY always produce a break opportunity and only one against that's the route I took. I had no luck with giving the SHY a reduced penalty and have the Knuth algorithm favour them before normal

Re: Initial soft hyphen support

2007-01-13 Thread Andreas L Delmelle
On Jan 13, 2007, at 10:31, Manuel Mall wrote: Hi Manuel, Just committed the initial support for the soft hyphen. Nice job, thanks! As we had two in favour of having the SHY always produce a break opportunity and only one against that's the route I took. I had no luck with giving the SHY a