pietsch     2003/02/13 13:21:13

  Modified:    src/org/apache/fop/layout/hyphenation Tag:
                        fop-0_20_2-maintain HyphenationTree.java
  Log:
  Fixed incorrect comparision with hyphenation push character
  count.
  Submitted by: [EMAIL PROTECTED]
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.5.2.3   +2 -2      
xml-fop/src/org/apache/fop/layout/hyphenation/HyphenationTree.java
  
  Index: HyphenationTree.java
  ===================================================================
  RCS file: 
/home/cvs/xml-fop/src/org/apache/fop/layout/hyphenation/HyphenationTree.java,v
  retrieving revision 1.5.2.2
  retrieving revision 1.5.2.3
  diff -u -r1.5.2.2 -r1.5.2.3
  --- HyphenationTree.java      19 Nov 2002 01:04:09 -0000      1.5.2.2
  +++ HyphenationTree.java      13 Feb 2003 21:21:12 -0000      1.5.2.3
  @@ -305,7 +305,7 @@
               // hyphenation points are located where interletter value is odd
               for (i = 0; i < len; i++) {
                   if (((il[i + 1] & 1) == 1) && i >= remainCharCount
  -                        && i < (len - pushCharCount)) {
  +                        && i <= (len - pushCharCount)) {
                       result[k++] = i;
                   }
               }
  
  
  

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

Reply via email to