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 je...@apache.org on 2005/12/01 17:05:07 UTC
svn commit: r350269 - in /xmlgraphics/fop/trunk:
src/java/org/apache/fop/render/AbstractPathOrientedRenderer.java status.xml
Author: jeremias
Date: Thu Dec 1 08:05:00 2005
New Revision: 350269
URL: http://svn.apache.org/viewcvs?rev=350269&view=rev
Log:
Bugfix: Relatively positioned BlockViewports (from block-containers) caused the paint cursor not be be properly advanced when space-before or space-after were present.
Modified:
xmlgraphics/fop/trunk/src/java/org/apache/fop/render/AbstractPathOrientedRenderer.java
xmlgraphics/fop/trunk/status.xml
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/AbstractPathOrientedRenderer.java
URL: http://svn.apache.org/viewcvs/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/AbstractPathOrientedRenderer.java?rev=350269&r1=350268&r2=350269&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/AbstractPathOrientedRenderer.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/AbstractPathOrientedRenderer.java Thu Dec 1 08:05:00 2005
@@ -534,15 +534,7 @@
currentIPPosition = saveIP;
currentBPPosition = saveBP;
- //Adjust BP position (alloc BPD + spaces)
- if (spaceBefore != null) {
- currentBPPosition += spaceBefore.intValue();
- }
currentBPPosition += (int)(bv.getAllocBPD());
- Integer spaceAfter = (Integer)bv.getTrait(Trait.SPACE_AFTER);
- if (spaceAfter != null) {
- currentBPPosition += spaceAfter.intValue();
- }
}
//currentFontName = saveFontName;
}
Modified: xmlgraphics/fop/trunk/status.xml
URL: http://svn.apache.org/viewcvs/xmlgraphics/fop/trunk/status.xml?rev=350269&r1=350268&r2=350269&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/status.xml (original)
+++ xmlgraphics/fop/trunk/status.xml Thu Dec 1 08:05:00 2005
@@ -28,10 +28,14 @@
<changes>
<release version="FOP Trunk">
<action context="Code" dev="JM" type="fix">
+ Bugfix: Relatively positioned BlockViewports (from block-containers) caused the paint
+ cursor not be be properly advanced when space-before or space-after were present.
+ </action>
+ <action context="Code" dev="JM" type="fix">
Bugfix: Space resolution was incomplete for content in table-cells. Conditional elements
didn't get removed.
</action>
- <action contexn="Code" dev="JM" type="fix">
+ <action context="Code" dev="JM" type="fix">
The validation check for non-zero borders and padding on a region-* is now turned off
when relaxed validation is active to improve compatibility with FO documents written
for other FO implementations.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org