klease      01/07/04 14:10:47

  Modified:    src/org/apache/fop/layout BlockArea.java
  Log:
  Fix a bug which caused FOP to overestimate the space available for the first line of 
a Block
  
  Revision  Changes    Path
  1.29      +2 -2      xml-fop/src/org/apache/fop/layout/BlockArea.java
  
  Index: BlockArea.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/layout/BlockArea.java,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- BlockArea.java    2001/06/12 11:37:37     1.28
  +++ BlockArea.java    2001/07/04 21:10:47     1.29
  @@ -1,4 +1,4 @@
  -/* $Id: BlockArea.java,v 1.28 2001/06/12 11:37:37 keiron Exp $
  +/* $Id: BlockArea.java,v 1.29 2001/07/04 21:10:47 klease Exp $
    * Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
    * For details on use and redistribution please refer to the
    * LICENSE file included with these sources.
  @@ -122,7 +122,7 @@
        * @return the line area to be used to add inlie objects
        */
       public LineArea getCurrentLineArea() {
  -        if (currentHeight + this.currentLineArea.getHeight() > maxHeight) {
  +     if (currentHeight + lineHeight > maxHeight) {
               return null;
           }
           this.currentLineArea.changeHyphenation(hyphProps);
  
  
  

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

Reply via email to