Bug 90234 - API to disable rendering of annotation thumbnails
Summary: API to disable rendering of annotation thumbnails
Status: RESOLVED MOVED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: All All
: medium enhancement
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-29 12:31 UTC by Debarshi Ray
Modified: 2018-08-21 11:04 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.