Details
-
Bug
-
Status: Resolved
-
Resolution: Fixed
-
1.0
-
None
-
Operating System: Linux
Platform: PC
-
50429
Description
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?