From: Manuel Mall Date: Thu, 27 Apr 2006 14:37:38 +0000 (+0000) Subject: Minor correction to whitespace handling to ensure non space whitespace is always... X-Git-Tag: fop-0_93~259 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=31c92194560170ea22c7537736bbdf2ad5e5aaf6;p=xmlgraphics-fop.git Minor correction to whitespace handling to ensure non space whitespace is always converted to a space git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@397556 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/fo/XMLWhiteSpaceHandler.java b/src/java/org/apache/fop/fo/XMLWhiteSpaceHandler.java index bef6659aa..ddfd023fe 100644 --- a/src/java/org/apache/fop/fo/XMLWhiteSpaceHandler.java +++ b/src/java/org/apache/fop/fo/XMLWhiteSpaceHandler.java @@ -213,8 +213,7 @@ public class XMLWhiteSpaceHandler { } 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'); } } diff --git a/status.xml b/status.xml index 1b1a00c27..dd7d23a41 100644 --- a/status.xml +++ b/status.xml @@ -27,6 +27,9 @@ + + Bugfix: TABs were not correctly replaced by spaces in some circumstances. + 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