Skip to content

A testcase highlighting a breakage between PSPDFKit 2023.4.6 and NutrientViewer 1.6.0

License

Notifications You must be signed in to change notification settings

xpand-io/nutrient-viewer-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup

  • npm install -g pnpm
  • pnpm install
  • npx http-server
  • Open http://localhost:8080

Details

  • Resizes the viewer div to be A4 size (#viewer width * Math.SQRT2)
  • Instantiates NutrientView (headless)
  • Looks for "[[signature]]" text in document
  • Calculates the redactions and signature fields needed
  • Applys the redactions
  • Applys the signature fields
  • Exports the PDF with redactions and signature fields
  • Unloads the NurtrientViewer
  • Instantiates the NutrientViewer

About

A testcase highlighting a breakage between PSPDFKit 2023.4.6 and NutrientViewer 1.6.0

Resources

License

Stars

Watchers

Forks