Re: svn commit: r669448 [1/2] - in /xmlgraphics/fop/branches/Temp_Interleaved_Page_Line_Breaking/prototype/java: ./ src/ src/org/ src/org/apache/ src/org/apache/fop/ src/org/apache/fop/prototype/ src/

2008-06-19 Thread Vincent Hennebert
Hi, > Author: vhennebert > Date: Thu Jun 19 03:56:51 2008 > New Revision: 669448 > > URL: http://svn.apache.org/viewvc?rev=669448&view=rev > Log: > A Java version of the prototype for interleaved page and line breaking Since I’ll be away for the next 10 days, I thought I’d commit what I have now

Re: Temp_Interleaved_Page_Line_Breaking

2007-10-04 Thread Simon Pepping
That is a rather ideal situation. It requires not only interleaving of page and line breaking, but also of page breaking and collection of Knuth elements. That requires some communication. The collection of Knuth elements is deeply recursive, LM.getNextKnuthElements. Each LM now needs to pass its K

Re: Temp_Interleaved_Page_Line_Breaking

2007-10-02 Thread Andreas L Delmelle
On Oct 2, 2007, at 18:47, Andreas L Delmelle wrote: On Oct 2, 2007, at 12:27, Chris Bowditch wrote: Hmm. I tend to agree with Simon's perspective here. The terms "total-fit" and "best-fit" refer to the implementation of the algorithms. Surely the end result of the total-fit algorithm is

Re: Temp_Interleaved_Page_Line_Breaking

2007-10-02 Thread Andreas L Delmelle
On Oct 2, 2007, at 12:27, Chris Bowditch wrote: Andreas L Delmelle wrote: Hi Andreas, That is not DISagreeing with me, I think (almost on the contrary). I did not mean total-fit in the sense of the implementation of the algorithm, but total-fit as to the end-result: as such, a total-

Re: Temp_Interleaved_Page_Line_Breaking

2007-10-02 Thread Chris Bowditch
Andreas L Delmelle wrote: Hi Andreas, That is not DISagreeing with me, I think (almost on the contrary). I did not mean total-fit in the sense of the implementation of the algorithm, but total-fit as to the end-result: as such, a total-fit result may precisely require a breaking-up into

Re: Temp_Interleaved_Page_Line_Breaking

2007-10-01 Thread Andreas L Delmelle
On Oct 1, 2007, at 21:50, Simon Pepping wrote: [Me:] I wouldn't think so. Total-fit for me precisely implies taking into account the fact that the available IPD may alter from one page to another. What FOP Trunk currently does in that scenario is definitely not a total-fit, or at least,

Re: Temp_Interleaved_Page_Line_Breaking

2007-10-01 Thread Simon Pepping
On Mon, Oct 01, 2007 at 06:40:41PM +0200, Andreas L Delmelle wrote: > One thing I was wondering about: doLineBreaking() is parameterless for the > moment. Do you see this changing in the future? i.e. If this method can be > called multiple times on the same paragraph, give it a position to start

Re: Temp_Interleaved_Page_Line_Breaking, failed unit tests

2007-10-01 Thread Andreas L Delmelle
On Sep 30, 2007, at 22:03, Simon Pepping wrote: On Sat, Sep 29, 2007 at 08:59:36AM +0200, Andreas L Delmelle wrote: Either the code in ListItemLM and others needs to be adapted to deal with ListElements instead of KnuthElements, or the ParagraphListElement needs to subclass KnuthElement in

Re: Temp_Interleaved_Page_Line_Breaking, failed unit tests

2007-09-30 Thread Simon Pepping
On Sat, Sep 29, 2007 at 08:59:36AM +0200, Andreas L Delmelle wrote: > As far as I can tell for the moment, the error is virtually always the same > ClassCastException, since the related LMs expect a list of KnuthElements, > where they currently get a list of ListElements. > A KnuthElement is alwa

Re: svn commit: r579092 - /xmlgraphics/fop/branches/Temp_Interleaved_Page_Line_Breaking/

2007-09-29 Thread Andreas L Delmelle
On Sep 25, 2007, at 09:01, Simon Pepping wrote: Hi Simon I've been browsing through the branch a bit, and The code I submitted passes 222 out of 341 layout-standard unit tests. Normal paragraphs are formatted properly. The errors are in mainly in footnotes, list items, tables, and markers. A

Re: svn commit: r579092 - /xmlgraphics/fop/branches/Temp_Interleaved_Page_Line_Breaking/

2007-09-25 Thread Andreas L Delmelle
On Sep 25, 2007, at 17:18, Simon Pepping wrote: Hi Simon On Tue, Sep 25, 2007 at 09:01:59AM +0200, Simon Pepping wrote: The branch was copied from revision 519671, when I started this work. Next I will work on merging the changes of trunk since then into the branch. That was not as difficu

Re: svn commit: r579092 - /xmlgraphics/fop/branches/Temp_Interleaved_Page_Line_Breaking/

2007-09-25 Thread Simon Pepping
On Tue, Sep 25, 2007 at 09:01:59AM +0200, Simon Pepping wrote: > The branch was copied from revision 519671, when I started this > work. Next I will work on merging the changes of trunk since then into > the branch. That was not as difficult as I feared, and it is done. The only real problem was p

Re: svn commit: r579092 - /xmlgraphics/fop/branches/Temp_Interleaved_Page_Line_Breaking/

2007-09-25 Thread Simon Pepping
On Tue, Sep 25, 2007 at 10:32:25AM +0200, Vincent Hennebert wrote: > > I second that. I???ll try to follow your work but right now I have > absolutely no time. I???ll be back on FOP from mid-October on, so > hopefully I???ll be able to give some help (if needed). Until now I have done this as a

Re: svn commit: r579092 - /xmlgraphics/fop/branches/Temp_Interleaved_Page_Line_Breaking/

2007-09-25 Thread Simon Pepping
On Tue, Sep 25, 2007 at 09:19:47AM +0100, Chris Bowditch wrote: > Simon Pepping wrote: > > In a word: WOW! > > And I thought you had stopped following the FOP project! How wrong was I! In a sense that is true. During summer I followed FOP only superficially and did not do any work on this branch.

Re: svn commit: r579092 - /xmlgraphics/fop/branches/Temp_Interleaved_Page_Line_Breaking/

2007-09-25 Thread Vincent Hennebert
Hi, Chris Bowditch a écrit : > Simon Pepping wrote: > >> Hi, >> >> I just created the branch Temp_Interleaved_Page_Line_Breaking and >> committed code to it. The branch contains a file BRANCH, which states >> the purpose of the bra

Re: svn commit: r579092 - /xmlgraphics/fop/branches/Temp_Interleaved_Page_Line_Breaking/

2007-09-25 Thread Chris Bowditch
Simon Pepping wrote: Hi, I just created the branch Temp_Interleaved_Page_Line_Breaking and committed code to it. The branch contains a file BRANCH, which states the purpose of the branch as follows: This is branch Temp_Interleaved_Page_Line_Breaking. It holds the development of interleaved

Re: svn commit: r579092 - /xmlgraphics/fop/branches/Temp_Interleaved_Page_Line_Breaking/

2007-09-25 Thread Simon Pepping
Hi, I just created the branch Temp_Interleaved_Page_Line_Breaking and committed code to it. The branch contains a file BRANCH, which states the purpose of the branch as follows: This is branch Temp_Interleaved_Page_Line_Breaking. It holds the development of interleaved page and line breaking