[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 17 00:14:47 UTC 2017


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

--- Comment #7 from Andrew Chen <andrew.chuanye.chen at gmail.com> ---
Created attachment 134284
  --> https://bugs.freedesktop.org/attachment.cgi?id=134284&action=edit
acrobat-screenshot.png

Interestingly enough, adobe acrobat just ignores /Border when /BS is present,
so it draws a 1px border. The pdf specs allows /Border to be ignored in favor
of /BS.

I don't consider this to be a regression, rather the original implementation is
bugged. In fact the original implementation also ignored /Border, it just
assumed there is no border because /W is missing in /BS, instead of using the
default value of a 1px border.

Snippet from pdf file:
>  /A <<
>    /S /URI
>    /URI (http://www.ti.com/wireless)
>  >>
>  /BS <<
>    /Type /Border
>  >>
>  /Border [
>    0
>    0
>    0
>  ]

-- 
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/20170917/e049ddbf/attachment-0001.html>


More information about the Poppler-bugs mailing list