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

Maruan Sahyoun commented on PDFBOX-3587:
----------------------------------------

I grabbed the files and compare the rendering before and after flattening the 
form. The current state as a baseline is:

- Testformular1.pdf -> small differences, not visible wo direct comparison
- TestFax_56972.pdf  -> invisible differences possibly only background color
- FormI-9-English.pdf -> identical
- testPDF_acroForm.pdf -> very small difference. Only thickness of a single 
checkmark differs
- test.pdf -> identical
- mypdf.pdf -> invisible differences possibly only background color
- Signed-Document-1.pdf -> identical
- Signed-Document-2.pdf -> identical
- Signed-Document-3.pdf -> images of handwritten signatures are missing 
- Signed-Document-4.pdf -> images of handwritten signatures are missing 
- OpenOfficeForm.pdf -> identical
- OpenOfficeForm_filled.pdf -> text shifted to bottom left


> Flatten not working on attached pdf form
> ----------------------------------------
>
>                 Key: PDFBOX-3587
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3587
>             Project: PDFBox
>          Issue Type: Bug
>          Components: AcroForm
>    Affects Versions: 2.0.3
>            Reporter: rumburak
>            Assignee: Maruan Sahyoun
>             Fix For: 2.0.4, 2.1.0
>
>         Attachments: OpenOfficeForm.pdf, OpenOfficeForm_filled.pdf, 
> OpenOfficeForm_filled_flattened.pdf, 
> OpenOfficeForm_filled_flattened_workaround.pdf, flattenissue.zip
>
>
> Please see attached FlattenIssue.java. This code populates form fields in the 
> OpenOfficeForm.pdf form and then it flattens the form. However the output 
> OpenOfficeForm_filled_flattened.pdf is not correct. The values of the fields 
> are incorrectly moved in left down corner.
> I have found a way how to workaround the issue please see 
> FlattenIssueWorkaround.java which generates correct 
> OpenOfficeForm_filled_flattened_workaround.pdf
> Attaching whole eclipse java project



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