[
https://issues.apache.org/jira/browse/PDFBOX-3718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maruan Sahyoun closed PDFBOX-3718.
----------------------------------
Resolution: Duplicate
Duplicate of PDFBOX-3687 - I added you as a watcher there. I also changed the
title there to better describe the issue.
> Incorrect Appearance on setting a field value and flattening a form
> -------------------------------------------------------------------
>
> Key: PDFBOX-3718
> URL: https://issues.apache.org/jira/browse/PDFBOX-3718
> Project: PDFBox
> Issue Type: Bug
> Components: AcroForm
> Affects Versions: 2.0.5
> Reporter: Hendrik Degener
>
> Consider the following abstract form tree:
> * Field F
> ** /FT /Tx
> ** /DA /Helv 9 Tf 0 g
> ** Kids
> *** Annot Kid1
> **** /DA /Helv 12 Tf 0 g
> *** Annot Kid2
> If you execute F.setValue("XY"), the default appearance font size of F is
> applied on all Annotations effectively overriding the font size of Kid1,
> which should be 12 after all.
> The same happens when you execute a form.flatten(field[], true), because the
> appearance characteristics are refreshed, but again only considering the
> field's DA and not the annotations' DA font size.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]