From 3742f324a30750df6a6c69397d2501c82576ba7c Mon Sep 17 00:00:00 2001 From: Peter Herweg Date: Tue, 27 Dec 2005 22:17:47 +0000 Subject: [PATCH] RTF: Don't set \brsp at tables, because it makes them look quite broken. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@359302 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/fop/render/rtf/BorderAttributesConverter.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/java/org/apache/fop/render/rtf/BorderAttributesConverter.java b/src/java/org/apache/fop/render/rtf/BorderAttributesConverter.java index 53ac912d0..54119c09f 100644 --- a/src/java/org/apache/fop/render/rtf/BorderAttributesConverter.java +++ b/src/java/org/apache/fop/render/rtf/BorderAttributesConverter.java @@ -55,8 +55,10 @@ public class BorderAttributesConverter { //division by 50 to convert millipoints to twips attrs.set(IBorderAttributes.BORDER_WIDTH, border.getBorderWidth(side, false) / 50); attributes.set(controlWord, attrs); - attrs.setTwips(IBorderAttributes.BORDER_SPACE, border.getPadding(side, false, null)); - attributes.set(controlWord, attrs); + //Don't set BORDER_SPACE, because it makes the table look quite broken: + //vertical and horizontal borders don't meet at corners. + //attrs.setTwips(IBorderAttributes.BORDER_SPACE, border.getPadding(side, false, null)); + //attributes.set(controlWord, attrs); } else { // Here padding specified, but corresponding border is not available -- 2.39.5