DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36391>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36391

           Summary: [PATCH] reference-orientation and negative values
           Product: Fop
           Version: 1.0dev
          Platform: Other
        OS/Version: other
            Status: NEW
          Keywords: PatchAvailable
          Severity: normal
          Priority: P2
         Component: page-master/layout
        AssignedTo: fop-dev@xml.apache.org
        ReportedBy: [EMAIL PROTECTED]


Using -90, -180 and -270 as reference-orientation instead of 90, 180 and 270
results in content being drawn outside its block.

This is because the Coordinate Transformation Matrix does not contain a
translation in for negative values. The translation is added (in
CTM.getCTMandRelDims) for positive values but not negative.

I also added these negative values in CTM.rotate so that the CTM gets cleans
zeroes instead of approximate 1E-12 thingies.

I attached a simple test file to test the bug and its correction.

The result is still weird for 180 and -180 (and different from XEP), but I think
it could be quite a little bit harder to explain.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to