[Poppler-bugs] [Bug 102640] [PATCH] Form and annotation borders are not drawn when field /S is not present in /BS

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Sep 24 07:50:49 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=102640

--- Comment #12 from Andrew Chen <andrew.chuanye.chen at gmail.com> ---
Created attachment 134452
  --> https://bugs.freedesktop.org/attachment.cgi?id=134452&action=edit
initial implementation

I separated the field Annot::border into two fields borderArray and borderBS.
That will allow both /Border and /BS to be retrieved by getters. getBorder()
returns borderBS if available, and borderArray.

There are still a few problems with this:
1. If both /Border and /BS are present in a pdf file, only /BS will be kept
when it is saved again.
2. borderArray and borderBS are not kept in sync, changes to one will not be
reflected in the other.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20170924/80641175/attachment.html>


More information about the Poppler-bugs mailing list