[ 
https://issues.apache.org/jira/browse/PDFBOX-1892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13893780#comment-13893780
 ] 

John Hewson commented on PDFBOX-1892:
-------------------------------------

Confirmed. The problem is that there are nested Form XObjects which are being 
handled incorrectly. The problem code is this:

{{code}}
// find some optional resources, instead of using the current resources
PDResources pdResources = form.getResources();
{{code}}

The call to {{form.getResources()}} returns the resources for the form only, 
and not any parent resources. This seems to be the wrong thing to do.

Does anybody have any insight into why {{form.getResources()}} behaves as it 
does? Will a fix break something else?

> Empty pages after rendering images: 
> org.apache.pdfbox.util.operator.pagedrawer.Invoke
> -------------------------------------------------------------------------------------
>
>                 Key: PDFBOX-1892
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1892
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 2.0.0
>         Environment: Windows 7 x64, Java 7
>            Reporter: Lukas Vasek
>            Priority: Blocker
>              Labels: noimage, pdfbox, print
>         Attachments: test.pdf, test2.pdf
>
>
> Hello, 
> I'm printing file (test.pdf) which has on each page generated number with 
> another font. I'm using PDDocument.loadNonSeq() to load data. In logs I can 
> see 
> Feb 6, 2014 3:25:26 PM org.apache.pdfbox.util.operator.pagedrawer.Invoke 
> process
> WARNING: Can't find the XObject for 'Xf1' 
> and no data except that generated numbers are printed.
> I've seen in some old bug that imageIo library was needed, but now in 
> dependencies I don't see it (http://pdfbox.apache.org/dependencies.html)
> Please can you fix this?
> Thanks



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to