Skip to content

Commit

Permalink
FOP-3182: Add alt text to PDF signature
Browse files Browse the repository at this point in the history
  • Loading branch information
simonsteiner1984 committed Jun 4, 2024
1 parent ac12662 commit d8645e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ static class SigField extends PDFDictionary {
put("Subtype", new PDFName("Widget"));
put("F", 132);
put("T", "Signature1");
put("TU", "Signature1");
put("Rect", new PDFRectangle(0, 0, 0, 0));
put("V", perms.docMDP);
put("P", new PDFReference(page));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ public void textFO() throws Exception {
+ " /Subtype /Widget\n"
+ " /F 132\n"
+ " /T (Signature1)\n"
+ " /TU (Signature1)\n"
+ " /Rect [0 0 0 0]"));
}

Expand Down

0 comments on commit d8645e1

Please sign in to comment.