You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2010/03/23 19:48:27 UTC
[jira] Issue Comment Edited: (PDFBOX-632) Invalid page rendering
while printing a PDF with an image inside.
[ https://issues.apache.org/jira/browse/PDFBOX-632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12848844#action_12848844 ]
Andreas Lehmkühler edited comment on PDFBOX-632 at 3/23/10 6:48 PM:
--------------------------------------------------------------------
I've applied a patch with version 926714.
The patch ensures that the clipping path is never null. I'd already made a similar patch with PDFBOX-552, but obviously it wasn't good enough.
Thanks to Maruan for the testing and his conclusion. It was the hint which led me to the solution.
was (Author: lehmi):
I've applied a patch with version 926714.
The patch ensures that the clipping path is never null. I'd already made a similar patch with PDFBOX-552, but obviously it wasn't good enough.
> Invalid page rendering while printing a PDF with an image inside.
> -----------------------------------------------------------------
>
> Key: PDFBOX-632
> URL: https://issues.apache.org/jira/browse/PDFBOX-632
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 1.0.0
> Environment: Windows XP SP3 32 bit
> Sun JDK 1.6.0_18
> Reporter: Bertrand GILLIS
> Fix For: 1.1.0
>
> Attachments: PDFBOX-632.out.pdf, PDFBOX-632.out.win.pdf, PDFBOX-632.pdf, PDFBOX-632.xps
>
>
> As soon as an image is included inside a page, all pages after that page are rendered only within the boundary of this image !?!?!
> Steps to reproduce:
> - create a pdf with 2 pages
> - add an image on the first page (50px,50px) and centered on that page
> - add a text on the second page and centered on that page
> - print the pdf page throught org.apache.pdfbox.PrintPDF
> Attached, you will find a sample pdf to reproduce that bug.
> One more thing... if we use org.apache.pdfbox.PDFToImage instead, all pages are correctly rendered. That's kinda weird !
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.