1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-24 09:08:07 +02:00

Reset all the canvas states after rendering each annotations (#14105)

- each annotation must be rendered independently of the others. So
  after having rendered each annotation, the canvas states are reset
  in order to have something clean to render the next one.
This commit is contained in:
Calixte Denizet 2022-06-06 17:24:38 +02:00
parent 135b9fbcfb
commit 96d0d22d66
3 changed files with 30 additions and 12 deletions

View file

@ -0,0 +1,2 @@
https://github.com/mozilla/pdf.js/files/7291567/Stamp_Problem.pdf

View file

@ -6545,5 +6545,13 @@
"link": true,
"type": "eq",
"annotations": true
},
{ "id": "issue14105",
"file": "pdfs/issue14105.pdf",
"md5": "554174cd461180cbe46c137e846dd527",
"rounds": 1,
"link": true,
"type": "eq",
"annotations": true
}
]