[
https://issues.apache.org/jira/browse/PDFBOX-4471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16776827#comment-16776827
]
Maruan Sahyoun commented on PDFBOX-4471:
----------------------------------------
Isn't a lot of the code we are working on because someone interpreted the spec
in one way or the other or even decided not to stick to it :-)
I have to admit that the appearance generation for form fields is not the best
part of PDFBox (and I have only limited time to help changing this). But cases
like this one help us improve the software. (I did some editing to the PDF 2.0
spec but wasn't able to get the changes for appearance generation I wanted in -
mainly because I was too late and didn't understand at that point in time how
to best approach the process - so some of the weardness is my mistake either by
putting it in or not being succesful in getting it clarified, removed).
So feel free to blame me for it :-) BTW. thank you very much for your
consistent input and help on SO.
> Different fields look alike if they have the same /AP/N before value change
> ---------------------------------------------------------------------------
>
> Key: PDFBOX-4471
> URL: https://issues.apache.org/jira/browse/PDFBOX-4471
> Project: PDFBox
> Issue Type: Bug
> Components: AcroForm
> Affects Versions: 2.0.13
> Reporter: Tilman Hausherr
> Priority: Major
> Attachments: csOnePage.pdf
>
>
> See attached SO answer - in the attached file, different fields point to the
> same /AP/N object. I think this could be fixed by changing
> {{AppearanceGeneratorHelper.setAppearanceValue()}} by removing the "if"
> segment in {{if (appearance != null && appearance.isStream())}} and keep the
> "else" part only.
> I'm wondering why we are reusing the existing appearance stream, is there are
> use case to this? I ran the tests after making the change and there was a
> difference but it was invisible.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]