PDFDoc::sign paramter borderWidth has no effect
In poppler/PDFDoc.cc
the method PDFDoc::sign takes a parameter double borderWidth
, which is used to set the signature annotation widget's border:
std::unique_ptr<AnnotBorder> border(new AnnotBorderArray());
border->setWidth(borderWidth);
signatureAnnot->setBorder(std::move(border));
However, the call to signatureAnnot->generateFieldAppearance()
happens before the quoted lines and therefore the quoted lines have no effect.