Merge pull request #20043 from yyliu12/popup-rotation-fix

Make Popup annotations always have noRotate flag set as true
This commit is contained in:
calixteman 2025-07-03 17:27:40 +02:00 committed by GitHub
commit 2d0ba7db08
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 10 additions and 0 deletions

View File

@ -615,6 +615,7 @@ class AnnotationElement {
borderStyle: 0,
id: `popup_${data.id}`,
rotation: data.rotation,
noRotate: true,
},
parent: this.parent,
elements: [this],

View File

@ -611,6 +611,7 @@
!bug1802888.pdf
!issue15759.pdf
!issue18823.pdf
!pr20043.pdf
!issue15753.pdf
!issue15789.pdf
!fields_order.pdf

BIN
test/pdfs/pr20043.pdf Normal file

Binary file not shown.

View File

@ -3758,6 +3758,14 @@
"link": true,
"type": "eq"
},
{
"id": "pr20043",
"file": "pdfs/pr20043.pdf",
"md5": "cdeb98b3229cd44c893c0feaaa3e490f",
"rounds": 1,
"type": "eq",
"annotations": true
},
{
"id": "issue1709",
"file": "pdfs/issue1709.pdf",