[ 
https://issues.apache.org/jira/browse/PDFBOX-2788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tilman Hausherr resolved PDFBOX-2788.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.8.10

I tested your code and it works now, see attached file. Thanks for an excellent 
bug report. Get a new pdfbox.jar here within a few hours:
https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox/1.8.10-SNAPSHOT/

(No fix for 2.0 needed, getResources() already searches up the hierarchy)

> Seemingly good document gets semi-corrupted
> -------------------------------------------
>
>                 Key: PDFBOX-2788
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2788
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 1.8.9
>         Environment: Ubuntu Linux 14.04, Java SE 7
>            Reporter: Are Husby
>            Assignee: Tilman Hausherr
>             Fix For: 1.8.10
>
>         Attachments: Reproduce possible bug in PdfBox.zip, 
> output_1430933423628-better.pdf
>
>
> I use PdfBox to insert a little bit of text at the top of my PDF-documents. I 
> have found one case (one input document)  where the resulting document 
> appears to become semi-corrupted by PdfBox.
> I will try to attach to this Jira issue a zip file with the PDF document in 
> case and a small, self-contained Java application that allows you to easily 
> reproduce the problem.
> The text I try to insert is inserted okay and is not the problem. The problem 
> is that other parts of the documents seem to get destroyed. You see this by 
> comparing the original document with the processed document in a PDF document 
> viewer.
> The problem manifests itself in different ways depending on which PDF 
> document viewer application I use. I have tried Evince (comes as default on 
> Ubuntu Linux 14.04), Firefox (also as default in Ubuntu), Google Chrome, and 
> Adobe Acrobat Reader v.11 (both on Windows 7 Enterprise and in Ubuntu with 
> Wine, the Windows emulator).
> I you use for example Adobe ACrobat Reader, look in particular for the logo 
> image in the upper right corner of both pages, the fonts and the formatting 
> of the line on the second page near the bottom that says "Fakturasum: 2 
> 572,50".



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to