mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Check that TrueType (3, 0) cmap tables, for symbolic fonts, are sorted correctly (issue 13626)
According to a comment in `readCmapTable`, we're assuming that the cmap tables (when more than one exist) are sorted in ascending order. If that's not the case, keep checking the following cmap tables in order to fix the referenced issue.
This commit is contained in:
parent
dc7faa213e
commit
185be678ec
3 changed files with 20 additions and 1 deletions
1
test/pdfs/issue13626.pdf.link
Normal file
1
test/pdfs/issue13626.pdf.link
Normal file
|
@ -0,0 +1 @@
|
|||
https://github.com/mozilla/pdf.js/files/6715502/test.pdf
|
|
@ -1635,6 +1635,13 @@
|
|||
"rounds": 1,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "issue13626",
|
||||
"file": "pdfs/issue13626.pdf",
|
||||
"md5": "68bc1c2459d56e8c33f5a12a88c9df7d",
|
||||
"link": true,
|
||||
"rounds": 1,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "simpletype3font-text",
|
||||
"file": "pdfs/simpletype3font.pdf",
|
||||
"md5": "b374c7543920840c61999e9e86939f99",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue