1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-21 07:38:07 +02:00

Merge pull request #9062 from mozilla/no_high

Move char codes from high surrogate pair range into private use.
This commit is contained in:
Jonas Jenwald 2017-12-08 12:31:22 +01:00 committed by GitHub
commit a5e3261b48
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 1 deletions

View file

@ -222,6 +222,7 @@
!bug1175962.pdf
!bug1020226.pdf
!basicapi.pdf
!issue2884_reduced.pdf
!mixedfonts.pdf
!shading_extend.pdf
!noembed-identity.pdf

Binary file not shown.

View file

@ -1337,6 +1337,14 @@
"lastPage": 1,
"type": "eq"
},
{ "id": "issue2884_reduced",
"file": "pdfs/issue2884_reduced.pdf",
"md5": "18386542fc82affa2a5d3722549f8211",
"rounds": 1,
"link": false,
"lastPage": 1,
"type": "eq"
},
{ "id": "bug956965",
"file": "pdfs/bug956965.pdf",
"md5": "9b2f1176c797ee84e989a507e745f89d",

View file

@ -83,7 +83,7 @@ var checkProblematicCharRanges = function checkProblematicCharRanges() {
describe('Fonts', function() {
it('checkProblematicCharRanges', function() {
var EXPECTED_PERCENTAGE = 45;
var EXPECTED_PERCENTAGE = 100;
var result = checkProblematicCharRanges();
expect(result.percentage).toBeLessThan(EXPECTED_PERCENTAGE);