Hi,

Am 02.12.2011 08:50, schrieb Frick, Jörg (Wilken Entire AG):
Hello,

I’m using pdfbox 1.6.0.

When I resize the PDFReader frame the PDF is painted over the upper, lower and
right margin.

Having a look at the code, I found the problem.

In all relevant methods of PDFDrawer I removed
graphics.setClip(getGraphicsState().getCurrentClippingPath());

Now the PDF is rendered within the right margins.
All setClip-calls are there for a reason, therefore I guess it's obvious that your solution can only be a workaround, but it's a good pointer where to look at.

Please open an issue on JIRA [1] and attach the pdf in question to it.

Regards

Jörg

Thanks in advance
Andreas Lehmkühler

[1] https://issues.apache.org/jira/browse/PDFBOX

Reply via email to