Author: cbowditch
Date: Tue Dec 29 15:15:26 2009
New Revision: 894416
URL: http://svn.apache.org/viewvc?rev=894416&view=rev
Log:
Bugfix: 48456 AFP Renderer: Underline is incorrectly placed when
reference-orientation != 0
Modified:
xmlgraphics/fop/trunk/src/java/org/apache/fop/afp/AFPRectanglePainter.java
xmlgraphics/fop/trunk/status.xml
Modified:
xmlgraphics/fop/trunk/src/java/org/apache/fop/afp/AFPRectanglePainter.java
URL:
http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/afp/AFPRectanglePainter.java?rev=894416&r1=894415&r2=894416&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/afp/AFPRectanglePainter.java
(original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/afp/AFPRectanglePainter.java
Tue Dec 29 15:15:26 2009
@@ -76,7 +76,7 @@
case 270:
lineDataInfo.x1 = pageHeight -
Math.round((float)at.getTranslateY() - x);
lineDataInfo.y1 = lineDataInfo.y2 =
Math.round((float)at.getTranslateX() + y);
- lineDataInfo.x2 = lineDataInfo.x1 + Math.round(width - x);
+ lineDataInfo.x2 = pageHeight -
Math.round((float)at.getTranslateY() - x - width);
break;
}
dataStream.createLine(lineDataInfo);
Modified: xmlgraphics/fop/trunk/status.xml
URL:
http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/status.xml?rev=894416&r1=894415&r2=894416&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/status.xml (original)
+++ xmlgraphics/fop/trunk/status.xml Tue Dec 29 15:15:26 2009
@@ -58,6 +58,9 @@
documents. Example: the fix of marks layering will be such a case when
it's done.
-->
<release version="FOP Trunk" date="TBD">
+ <action context="Renderers" dev="CB" type="fix" fixes-bug="48456">
+ Bugfix: AFP Renderer: Underline is incorrectly placed when
reference-orientation != 0
+ </action>
<action context="Renderers" dev="CB" type="fix" fixes-bug="48453">
Bugfix: AFP Renderer: Page Segments not positioned correctly when
reference-orientation != 0
</action>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]