Re: Knuth linebreaking questions

2004-12-06 Thread Luca Furini
Finn Bock wrote: I tend to read that to mean that word spacing may be pushed beyond the specified range by justification. And I would think that unjustified alignment still has the option of using the word-spacing range but ofcourse has to stay within the range. I'm not convinced ... The

Re: Knuth linebreaking questions

2004-12-02 Thread Luca Furini
Finn Bock wrote: (starting from the second question) And why not adjust the spacing within the user specified min/max for START and END alignment? Should the user desire adjusted spaces, wouldn't it be better for him to specify justified alignment? :-) Seriously, the recommendation (at 7.16.2

Re: Knuth linebreaking questions

2004-12-02 Thread Finn Bock
And why not adjust the spacing within the user specified min/max for START and END alignment? [Luca] Should the user desire adjusted spaces, wouldn't it be better for him to specify justified alignment? :-) Seriously, the recommendation (at 7.16.2 letter-spacing and 7.16.8 word-spacing) states

Re: Knuth linebreaking questions

2004-12-02 Thread Simon Pepping
On Thu, Dec 02, 2004 at 12:16:55PM +0100, Finn Bock wrote: and point #4 uses the user-definable threshold; where should this constant be stored? Inside the code of LineLM or in a configuration file? An extension attribute? fo:block fox:knuth-threshold=5 ... /fo:block I suspect that

Re: Knuth linebreaking questions

2004-12-01 Thread Simon Pepping
On Tue, Nov 30, 2004 at 07:27:29PM +0100, Luca Furini wrote: Finn Bock wrote: 3) What is the reasoning for doing hyphenation only after threshold=1 fails. Naive common sense tells me that if the user specify hyphenation we should do hyphenation before finding line breaks. Finding

Re: Knuth linebreaking questions

2004-12-01 Thread J.Pietschmann
Finn Bock wrote: 3) What is the reasoning for doing hyphenation only after threshold=1 fails. Naive common sense tells me that if the user specify hyphenation we should do hyphenation before finding line breaks. The purpose of professional typography and layout is to assist the reader: provide

Re: Knuth linebreaking questions

2004-12-01 Thread Finn Bock
1) What is the purpose of 2 glues for a normal space in END and START alignment: new KnuthGlue(0, 3 * wordSpaceIPD.opt, 0, , false)); new KnuthPenalty(0, 0, false, , true)); new KnuthGlue(wordSpaceIPD.opt, - 3 * wordSpaceIPD.opt, 0, , true)); [Luca Furini] The purpose is to give each line (but

Re: Knuth linebreaking questions

2004-11-30 Thread Luca Furini
Finn Bock wrote: 1) What is the purpose of 2 glues for a normal space in END and START alignment: new KnuthGlue(0, 3 * wordSpaceIPD.opt, 0, , false)); new KnuthPenalty(0, 0, false, , true)); new KnuthGlue(wordSpaceIPD.opt, - 3 * wordSpaceIPD.opt, 0, , true)); The purpose is to give each

Re: Knuth linebreaking questions

2004-11-30 Thread Glen Mazza
[Finn] 3) What is the reasoning for doing hyphenation only after threshold=1 fails. Naive common sense tells me that if the user specify hyphenation we should do hyphenation before finding line breaks. [Luca] Finding hyphenation points is time-expansive (all words must be hyphenated, not