Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • P poppler
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 664
    • Issues 664
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 46
    • Merge requests 46
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • poppler
  • poppler
  • Issues
  • #839
Closed
Open
Issue created Nov 10, 2019 by Tobias Deiminger@haxtibalGuest

Annotations not shown in some other readers because we don't save appearance streams

PDF 2.0 requires annotations to be saved along with an appearance stream (a pre-generated visual representation). This was optional in PDF 1.7. Poppler doesn't write them and also doesn't claim (yet) to produce PDF 2.0, so it's fine from that perspective. But a consequence in practice is that some wide spread readers like PDF.js don't show our annotations.

To be more precise, poppler actually generates appearance streams quite well for a lot of annotations types, but it keeps them in memory and doesn't save them to the document.

This is related to

  • Okular bug 410642
  • Okular bug 413819
  • #522 (closed), it is/was about generating in-memory appearance streams so that poppler can render /AP-less annotations. #839 is about saving those in-memory appearances back into the file so that other readers are unburdened from generating their own in-memory /AP.
Edited Nov 10, 2019 by Tobias Deiminger
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking