Skip to content

GitLab

  • Menu
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 656
    • Issues 656
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 42
    • Merge requests 42
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • poppler
  • poppler
  • Issues
  • #1199

Closed
Open
Created Jan 08, 2022 by Martin@martin-btsContributor

PDF signatures with background image, if provided

As a consumer of Poppler, I use PDFDoc::sign to digitally sign a PDF document. PDFDoc::sign takes many parameters, i.e.

  • a std::string parameter imagePath, a background image to used for the signature widget
  • a GooString parameter signatureLeftText, text to be rendered into the signature widget

Calling PDFDoc::sign ultimately invokes AnnotAppearanceBuilder::drawSignatureFieldText which will only draw the background image identified by imagePath, if signatureLeftText is an empty string. This is neither obvious nor intuitive. Currently, PDFDoc::sign does not allow me to have both: non-empty signatureLeftText and a background image.

As a consumer of PDFDoc::sign I want it to draw a background image, if I provide one when calling the method.

Edited Jan 08, 2022 by Martin
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking