Bug 90234

Summary: API to disable rendering of annotation thumbnails
Product: poppler Reporter: Debarshi Ray <rishi.is>
Component: generalAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED MOVED QA Contact:
Severity: enhancement    
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Debarshi Ray 2015-04-29 12:31:13 UTC
Use case: https://bugzilla.gnome.org/show_bug.cgi?id=689900

The annotation thumbnails obstruct the underlying content, so it can be hard to read a document that has a lot of them. A way to hide or show them will be useful.
Comment 1 Jose Aliste 2015-04-29 22:56:39 UTC
I add some hints to help you implementing this. Backend poppler renders using Page->displaySlice. 

We call this from _page_poppler_render func in poppler-page.cc in poppler-glib frontend. If you see this code, you will see that when printing, we disable the rendering of the annotations. So you need to adapt this method to not set printing, but to disable the printing of annotations. Hope it helps.
Comment 2 GitLab Migration User 2018-08-21 11:04:00 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/494.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.