From 31c92194560170ea22c7537736bbdf2ad5e5aaf6 Mon Sep 17 00:00:00 2001 From: Manuel Mall Date: Thu, 27 Apr 2006 14:37:38 +0000 Subject: [PATCH] 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 --- src/java/org/apache/fop/fo/XMLWhiteSpaceHandler.java | 3 +-- status.xml | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) 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 -- 2.39.5