https://issues.apache.org/bugzilla/show_bug.cgi?id=50429

           Summary: External document is clipped when rotated
           Product: Fop
           Version: 1.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: pdf
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: krister.wicks...@zert.se


When I use fox:external-document and a reference-orientation of 90 degrees the
content is clipped to width of the page. The external document is A4 landscape
so I rotate it to get it as portrait. So the document is rotated and the page
size is correct but the content of the page is clipped and don't fill the whole
height.

I have traced the problem to ExternalDocumentLayoutManager.createPage(...).
I think the line:
RegionViewport rv = new RegionViewport(referenceRect);
should be replaced by:
RegionViewport rv = new RegionViewport(new Rectangle(0, 0, imageSize.width,
imageSize.height));
Is this correct?

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

Reply via email to