You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ma...@apache.org on 2006/04/27 16:37:41 UTC

svn commit: r397556 - in /xmlgraphics/fop/trunk: src/java/org/apache/fop/fo/XMLWhiteSpaceHandler.java status.xml

Author: manuel
Date: Thu Apr 27 07:37:38 2006
New Revision: 397556

URL: http://svn.apache.org/viewcvs?rev=397556&view=rev
Log:
Minor correction to whitespace handling to ensure non space whitespace is always converted to a space

Modified:
    xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/XMLWhiteSpaceHandler.java
    xmlgraphics/fop/trunk/status.xml

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/XMLWhiteSpaceHandler.java
URL: http://svn.apache.org/viewcvs/xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/XMLWhiteSpaceHandler.java?rev=397556&r1=397555&r2=397556&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/XMLWhiteSpaceHandler.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/XMLWhiteSpaceHandler.java Thu Apr 27 07:37:38 2006
@@ -213,8 +213,7 @@
                         } else {
                             // this is to retain a single space between words
                             inWhiteSpace = true;
-                            if (currentChar != '\u0020' 
-                                    && whiteSpaceTreatment == Constants.EN_PRESERVE) {
+                            if (currentChar != '\u0020') {
                                 charIter.replaceChar('\u0020');
                             }
                         }

Modified: xmlgraphics/fop/trunk/status.xml
URL: http://svn.apache.org/viewcvs/xmlgraphics/fop/trunk/status.xml?rev=397556&r1=397555&r2=397556&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/status.xml (original)
+++ xmlgraphics/fop/trunk/status.xml Thu Apr 27 07:37:38 2006
@@ -27,6 +27,9 @@
 
   <changes>
     <release version="FOP Trunk">
+      <action context="Code" dev="MM" type="fix">
+        Bugfix: TABs were not correctly replaced by spaces in some circumstances.
+      </action>
       <action context="Code" dev="JM" type="update">
         Content in block-containers makes better use of shrink to fit content vertically
         into the available area. This can be used indirectly to justify content vertically



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org