parent
06aef89502
commit
e0b843d991
@ -3684,6 +3684,10 @@ class LinkAnnotation extends Annotation {
|
||||
const { dict, annotationGlobals } = params;
|
||||
this.data.annotationType = AnnotationType.LINK;
|
||||
|
||||
// A link is never rendered on the main canvas so we must render its HTML
|
||||
// version.
|
||||
this.data.noHTML = false;
|
||||
|
||||
const quadPoints = getQuadPoints(dict, this.rectangle);
|
||||
if (quadPoints) {
|
||||
this.data.quadPoints = quadPoints;
|
||||
|
1
test/pdfs/.gitignore
vendored
1
test/pdfs/.gitignore
vendored
@ -632,3 +632,4 @@
|
||||
!bug1669097.pdf
|
||||
!issue17671.pdf
|
||||
!bug1868759.pdf
|
||||
!issue17730.pdf
|
||||
|
BIN
test/pdfs/issue17730.pdf
Normal file
BIN
test/pdfs/issue17730.pdf
Normal file
Binary file not shown.
@ -9746,5 +9746,13 @@
|
||||
"firstPage": 2,
|
||||
"lastPage": 2,
|
||||
"type": "eq"
|
||||
},
|
||||
{
|
||||
"id": "issue17730",
|
||||
"file": "pdfs/issue17730.pdf",
|
||||
"md5": "ac9a14a75457468bde78204ca75701d6",
|
||||
"rounds": 1,
|
||||
"annotations": true,
|
||||
"type": "eq"
|
||||
}
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user