[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
Mon Sep 18 06:43:37 UTC 2017


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

--- Comment #9 from Andrew Chen <andrew.chuanye.chen at gmail.com> ---
I apologize if my previous comment has offended you.

The reason I don't want to call it a regression is because I don't see any
definitive standard we can adhere to in this case. So it is worth discussing
this instead of blindly following what the original behavior is.

I can see two possible courses of action:
1. Follow acrobat: ignore /Border when /BS is present. This leads to a
(default) 1px border rendered in your pdf.
2. Preferentially use values from /BS but also use values from /Border if the
corresponding values are not present in /BS. This would cause no border to be
rendered in your pdf.

The second one seems like the more logical thing to do but the first option
makes for better compatibility.

I personally think maintaining compatibility with acrobat is the better option,
but I can also see why it would be a good idea to just try make the most sense
of of the pdf.

-- 
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/20170918/518c5a1d/attachment.html>


More information about the Poppler-bugs mailing list