You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (Jira)" <ji...@apache.org> on 2020/09/11 14:58:00 UTC

[jira] [Commented] (PDFBOX-4955) Flattened form-fields are rendered at the bottom of the page

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

Tilman Hausherr commented on PDFBOX-4955:
-----------------------------------------

This is related to PDFBOX-3396 and the {{resolveNeedsTranslation()}} method. That method looks for Form XObjects in the /AP/N dictionary. This PDF has them. However they are not used. Maybe we need to analyse the content stream for that.

> Flattened form-fields are rendered at the bottom of the page
> ------------------------------------------------------------
>
>                 Key: PDFBOX-4955
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4955
>             Project: PDFBox
>          Issue Type: Bug
>          Components: AcroForm, Rendering
>    Affects Versions: 2.0.21
>            Reporter: Ben Sedee
>            Priority: Major
>              Labels: regression
>             Fix For: 3.0.0 PDFBox, 2.0.22
>
>         Attachments: DEA_certificaat_Theoriekennis_test.odg, DEA_certificaat_Theoriekennis_test.pdf
>
>
> When flattening the form, all form-fields are put at the bottom of the file, overlapping eachother.
>  When I just look at the file however, without flattening, everything seems to be ok.
>  Workarounds so far is to reset all BBox-es for PDFormXObjects to start rendering at (0, 0) before we flatten the file.
>  We've also tried setting the form-fields to 'read-only', which also visually left the PDF in tact but is not a real substitute for flattening.
> Attached are a PDF with the issue present and the OpenOffice-Drawing that was used to create the PDF



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org