From 66c26e84e6e154f0466db6fce4f3f36d445c579a Mon Sep 17 00:00:00 2001 From: tonikitoo Date: Tue, 16 Aug 2016 13:34:35 -0700 Subject: Hidden annotations should not be drawn Now that PDFium supports drawing of more annotation types, it should also respect the "hidden" flag that annotations might feature. For instance, in IE/Acroread if an annotation is flagged as "hidden" it does not get drawn. CL adds a check for the specific "hidden" flag, not drawing annotation that are flagged with it, in order to match IE + acrobat reader behavior. The "flags" definition can be seen by looking at "/F {value}" syntax in a PDF file source, where {value} is an predefined integer value. Test: PDF files being added in [1]. [1] https://codereview.chromium.org/2239713003/ BUG=62625 Review-Url: https://codereview.chromium.org/2239853002 --- testing/SUPPRESSIONS | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'testing/SUPPRESSIONS') diff --git a/testing/SUPPRESSIONS b/testing/SUPPRESSIONS index 3717f75c3a..f97e38c532 100644 --- a/testing/SUPPRESSIONS +++ b/testing/SUPPRESSIONS @@ -436,12 +436,18 @@ new_signature2.pdf mac * * new_stamp4.pdf mac * * new_stamp5.pdf mac * * new_textmarkup1.pdf mac * * +new_textmarkup1_hidden.pdf mac * * new_textmarkup2.pdf mac * * +new_textmarkup2_hidden.pdf mac * * new_textmarkup4.pdf mac * * +new_textmarkup4_hidden.pdf mac * * new_textmarkup5.pdf mac * * +new_textmarkup5_hidden.pdf mac * * new_textmarkup6.pdf mac * * new_textmarkup7.pdf mac * * +new_textmarkup7_hidden.pdf mac * * new_textmarkup8.pdf mac * * +new_textmarkup8_hidden.pdf mac * * number.pdf * * * octest.pdf mac * * open_a_weblink.pdf mac * * -- cgit v1.2.3