Why is the electronic seal hidden by default when using PDF.js

there is a code behind the electronic signature in pdf.worker.js
/ / Hide signatures because we cannot validate them.
if (data.fieldType = "Sig") {

 this.setFlags(AnnotationFlag.HIDDEN);

}
after being commented out, the electronic signature can be displayed. At that time, I didn"t quite understand the point of view, so I wanted to hide this thing

.

now there is a compatibility problem. Android 4.4 and ios11.1 on hand do not display electronic seals and will report font errors. Android 6 and ios11.4 are easy to use. no, no, no. No solution has been found yet

Jul.19,2021

isn't it written above, because it can't be verified, so it doesn't show
. The following are guesses, because I don't know much about electronic signatures.
according to reason, electronic signatures should rely on digital signature public and private key systems to verify, but js can't get root certificates trusted by this machine, and naturally can't verify


.

what project did you introduce pdf.js into

I am also introducing preview pdf in vue

is there any way to introduce npm


also encountered this problem, and the comments were not affected.
I don't know if you have dealt with sharpness. When you deal with the sharpness of canvas rendering, the position of this chapter will be inaccurate

.
Menu