You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Maruan Sahyoun (JIRA)" <ji...@apache.org> on 2010/03/23 16:59:27 UTC

[jira] Updated: (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:all-tabpanel ]

Maruan Sahyoun updated PDFBOX-632:
----------------------------------

    Attachment: PDFBOX-632.out.win.pdf
                PDFBOX-632.out.pdf

the issues also occurs using the latest trunk but on Windows only (see PDFBOX-632.out.win.pdf). Mac and Linux work fine (see PDFBOX-632.out.pdf). Printing the pages individually on Windows produces the expected results. What's also visible from the result on Windows is that the box on the first pages seems to be used as a clipping path for the text on the second page.

> 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
>         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.