[PATCH] Form and annotation borders are not drawn when field /S is not present in /BS
Submitted by Andrew Chen
Assigned to poppler-bugs
Border width should not be forced to 0 when /W and/or /S are not present in /BS
Commit 28967940 introduced the behavior: "Avoid drawing borders unless /W and /S are specified in /BS" as a work around for acroread 8. This is not compliant with the pdf specs, and the latest versions of Adobe Acrobat (2017) don't requires both fields to be present, and does not emit the /S field when not necessary.
User visible impact: form and annotation borders are not generated properly when saving pdfs after editing.