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

Try to skip mapping of missing TrueType glyphs

Also don't skip mapping of glyphs which are empty, if the corresponding charCode is included in toUnicode.
This commit is contained in:
Jonas Jenwald 2015-02-07 00:13:41 +01:00
parent 8174da61fb
commit 01e6565dd4
5 changed files with 32 additions and 5 deletions

View file

@ -59,6 +59,8 @@
!zerowidthline.pdf
!bug868745.pdf
!mmtype1.pdf
!issue5704.pdf
!bug893730.pdf
!bug864847.pdf
!issue1002.pdf
!issue925.pdf

BIN
test/pdfs/bug893730.pdf Normal file

Binary file not shown.

BIN
test/pdfs/issue5704.pdf Normal file

Binary file not shown.

View file

@ -1022,6 +1022,20 @@
"link": true,
"type": "eq"
},
{ "id": "issue5704",
"file": "pdfs/issue5704.pdf",
"md5": "6e0b62585feef24dff2d7e7687cd8128",
"rounds": 1,
"link": false,
"type": "eq"
},
{ "id": "bug893730",
"file": "pdfs/bug893730.pdf",
"md5": "2587379fb1b3bbff89c14f0863e78383",
"rounds": 1,
"link": false,
"type": "eq"
},
{ "id": "pdfkit_compressed",
"file": "pdfs/pdfkit_compressed.pdf",
"md5": "ffe9c571d0a1572e234253e6c7cdee6c",