diff --git a/src/display/annotation_layer.js b/src/display/annotation_layer.js index ff0d638e5..41020534f 100644 --- a/src/display/annotation_layer.js +++ b/src/display/annotation_layer.js @@ -615,6 +615,7 @@ class AnnotationElement { borderStyle: 0, id: `popup_${data.id}`, rotation: data.rotation, + noRotate: true, }, parent: this.parent, elements: [this], diff --git a/test/pdfs/.gitignore b/test/pdfs/.gitignore index a49073cd4..a50c36e9b 100644 --- a/test/pdfs/.gitignore +++ b/test/pdfs/.gitignore @@ -611,6 +611,7 @@ !bug1802888.pdf !issue15759.pdf !issue18823.pdf +!pr20043.pdf !issue15753.pdf !issue15789.pdf !fields_order.pdf diff --git a/test/pdfs/pr20043.pdf b/test/pdfs/pr20043.pdf new file mode 100644 index 000000000..19d89bb08 Binary files /dev/null and b/test/pdfs/pr20043.pdf differ diff --git a/test/test_manifest.json b/test/test_manifest.json index 8449ae71a..7e2b18a75 100644 --- a/test/test_manifest.json +++ b/test/test_manifest.json @@ -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",