1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

Merge pull request #14182 from calixteman/richtext

Support rich content in markup annotation
This commit is contained in:
Jonas Jenwald 2021-10-31 14:41:56 +01:00 committed by GitHub
commit 8c70258065
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 188 additions and 39 deletions

View file

@ -479,3 +479,4 @@
!pr12564.pdf
!pr12828.pdf
!secHandler.pdf
!rc_annotation.pdf

View file

@ -0,0 +1 @@
https://github.com/mozilla/pdf.js/files/7024938/2102.12353.pdf

BIN
test/pdfs/rc_annotation.pdf Normal file

Binary file not shown.

View file

@ -137,6 +137,24 @@
"type": "eq",
"annotations": true
},
{ "id": "issue2966",
"file": "pdfs/rc_annotation.pdf",
"md5": "7b978a8c2871b8902656adb67f7bd117",
"rounds": 1,
"lastPage": 1,
"type": "eq",
"annotations": true
},
{ "id": "issue13915",
"file": "pdfs/issue13915.pdf",
"md5": "fef3108733bbf80ea8551feedb427b1c",
"rounds": 1,
"firstPage": 51,
"lastPage": 51,
"link": true,
"type": "eq",
"annotations": true
},
{ "id": "bug946506",
"file": "pdfs/bug946506.pdf",
"md5": "c28911b5c31bdc337c2ce404c5971cfc",

View file

@ -46,7 +46,7 @@ describe("XFAParser", function () {
forbidden
</dynamicRender>
</acrobat7>
<autoSave>enabled</autoSave>
<autoSave>enabled</autoSave>
<submitUrl>
http://d.e.f
</submitUrl>
@ -414,7 +414,7 @@ describe("XFAParser", function () {
[
" The first line of this paragraph is indented a half-inch.\n",
" Successive lines are not indented.\n",
" This is the last line of the paragraph.\n \n",
" This is the last line of the paragraph.\n ",
].join("")
);
});