gmazza      2003/10/16 16:54:21

  Modified:    src/java/org/apache/fop/layoutmgr LineLayoutManager.java
  Log:
  Patch by Finn Bock applied
  (bug http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23765:
  Words not fitting the current line were not appearing on the
  subsequent line when trailing spaces were included in
  the fo:block.)
  
  Revision  Changes    Path
  1.5       +1 -1      xml-fop/src/java/org/apache/fop/layoutmgr/LineLayoutManager.java
  
  Index: LineLayoutManager.java
  ===================================================================
  RCS file: 
/home/cvs/xml-fop/src/java/org/apache/fop/layoutmgr/LineLayoutManager.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- LineLayoutManager.java    8 Sep 2003 17:00:54 -0000       1.4
  +++ LineLayoutManager.java    16 Oct 2003 23:54:21 -0000      1.5
  @@ -321,7 +321,7 @@
               prevBP = getBestBP(vecPossEnd);
           }
           // Backup child LM if necessary
  -        if (bp != prevBP && !bp.couldEndLine()) {
  +        if (bp != prevBP && !prevBP.couldEndLine()) {
               reset();
           }
   
  
  
  

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

Reply via email to