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

Ignore Square/Circle-annnotations with a zero borderWidth when creating a fallback appearance stream (issue 14164)

Trying to render these Annotation-types, when the borderWidth is `0`, causes a "hairline" border to appear. If these Annotations included an appearance stream, as they are supposed to, this wouldn't have happened and the simplest solution here seem to be to just ignore these particular Annotations.
This commit is contained in:
Jonas Jenwald 2021-10-19 15:13:04 +02:00
parent bbb64369f1
commit 68e6622c57
3 changed files with 19 additions and 0 deletions

View file

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

View file

@ -973,6 +973,14 @@
"enableXfa": true,
"type": "eq"
},
{ "id": "issue14164",
"file": "pdfs/issue14164.pdf",
"md5": "feb444c716b0337efff8094b156def32",
"rounds": 1,
"link": true,
"lastPage": 1,
"type": "eq"
},
{ "id": "xfa_filled_imm1344e",
"file": "pdfs/xfa_filled_imm1344e.pdf",
"md5": "0576d16692fcd8ef2366cb48bf296e81",