mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-24 09:08:07 +02:00
Skip bogus d1
operators in Type3-glyphs (issue 14953)
In the `src/display/canvas.js` code the `d1` operator will be used to set the clipping region, and it obviously cannot be empty since that prevents the Type3-glyph from rendering. Also, the patch removes an outdated comment; refer to PR 12718.
This commit is contained in:
parent
61012b931c
commit
5a2899c57e
5 changed files with 20 additions and 6 deletions
1
test/pdfs/.gitignore
vendored
1
test/pdfs/.gitignore
vendored
|
@ -49,6 +49,7 @@
|
|||
!issue7426.pdf
|
||||
!issue7439.pdf
|
||||
!issue7847_radial.pdf
|
||||
!issue14953.pdf
|
||||
!issue7446.pdf
|
||||
!issue7492.pdf
|
||||
!issue7544.pdf
|
||||
|
|
BIN
test/pdfs/issue14953.pdf
Normal file
BIN
test/pdfs/issue14953.pdf
Normal file
Binary file not shown.
|
@ -2058,6 +2058,12 @@
|
|||
"rounds": 1,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "issue14953",
|
||||
"file": "pdfs/issue14953.pdf",
|
||||
"md5": "dd7d6cb92e58d75a0eb8c0476a3bc64a",
|
||||
"rounds": 1,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "extgstate-text",
|
||||
"file": "pdfs/extgstate.pdf",
|
||||
"md5": "001bb4ec04463a01d93aad748361f049",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue