Bug 34705 - OCG support for Optional Content Usage Dictionary
Summary: OCG support for Optional Content Usage Dictionary
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
Depends on:
Reported: 2011-02-25 02:24 UTC by Marc Ruiter
Modified: 2018-08-20 21:35 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:

Example with OCG links (32.14 KB, application/pdf)
2011-02-25 02:24 UTC, Marc Ruiter

Description Marc Ruiter 2011-02-25 02:24:39 UTC
Created attachment 43786 [details]
Example with OCG links

The hyperref package for LaTeX has the option to mark hyperlinks as Optional Contents Groups (OCG) with /PrintState/OFF and /ViewState/ON. This enables having the links within a document in color on the screen, and black in print.

The documents generated with this feature print fine with Adobe Reader, but with evince/poppler the links still print in color. I have attached a simple pdf which illustrates this point.
Comment 1 Albert Astals Cid 2011-02-25 12:43:17 UTC
To fix that we need to parse the /AS entry of the catalog and obey it.
Comment 2 GitLab Migration User 2018-08-20 21:35:29 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/31.

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.