Extract all the text of text annotations
This commit is contained in:
parent
8d5da54cd5
commit
35a58ed987
@ -614,7 +614,12 @@ class Page {
|
||||
|
||||
textContentPromises.push(
|
||||
annotation
|
||||
.extractTextContent(partialEvaluator, task, this.view)
|
||||
.extractTextContent(partialEvaluator, task, [
|
||||
-Infinity,
|
||||
-Infinity,
|
||||
Infinity,
|
||||
Infinity,
|
||||
])
|
||||
.catch(function (reason) {
|
||||
warn(
|
||||
`getAnnotationsData - ignoring textContent during "${task.name}" task: "${reason}".`
|
||||
|
1
test/pdfs/issue16471.pdf.link
Normal file
1
test/pdfs/issue16471.pdf.link
Normal file
@ -0,0 +1 @@
|
||||
https://github.com/mozilla/pdf.js/files/11568812/test2.pdf
|
@ -7667,5 +7667,14 @@
|
||||
"link": true,
|
||||
"print": true,
|
||||
"type": "eq"
|
||||
},
|
||||
{
|
||||
"id": "issue16471",
|
||||
"file": "pdfs/issue16471.pdf",
|
||||
"md5": "8ac3720d6d3ddcc58e2eadab477fd81e",
|
||||
"rounds": 1,
|
||||
"link": true,
|
||||
"forms": true,
|
||||
"type": "eq"
|
||||
}
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user