Merge pull request #9062 from mozilla/no_high
Move char codes from high surrogate pair range into private use.
This commit is contained in:
commit
a5e3261b48
@ -467,6 +467,8 @@ var ProblematicCharRanges = new Int32Array([
|
|||||||
0x3164, 0x3165,
|
0x3164, 0x3165,
|
||||||
// Chars that is used in complex-script shaping.
|
// Chars that is used in complex-script shaping.
|
||||||
0xAA60, 0xAA80,
|
0xAA60, 0xAA80,
|
||||||
|
// Unicode high surrogates.
|
||||||
|
0xD800, 0xE000,
|
||||||
// Specials Unicode block.
|
// Specials Unicode block.
|
||||||
0xFFF0, 0x10000
|
0xFFF0, 0x10000
|
||||||
]);
|
]);
|
||||||
|
1
test/pdfs/.gitignore
vendored
1
test/pdfs/.gitignore
vendored
@ -222,6 +222,7 @@
|
|||||||
!bug1175962.pdf
|
!bug1175962.pdf
|
||||||
!bug1020226.pdf
|
!bug1020226.pdf
|
||||||
!basicapi.pdf
|
!basicapi.pdf
|
||||||
|
!issue2884_reduced.pdf
|
||||||
!mixedfonts.pdf
|
!mixedfonts.pdf
|
||||||
!shading_extend.pdf
|
!shading_extend.pdf
|
||||||
!noembed-identity.pdf
|
!noembed-identity.pdf
|
||||||
|
BIN
test/pdfs/issue2884_reduced.pdf
Normal file
BIN
test/pdfs/issue2884_reduced.pdf
Normal file
Binary file not shown.
@ -1337,6 +1337,14 @@
|
|||||||
"lastPage": 1,
|
"lastPage": 1,
|
||||||
"type": "eq"
|
"type": "eq"
|
||||||
},
|
},
|
||||||
|
{ "id": "issue2884_reduced",
|
||||||
|
"file": "pdfs/issue2884_reduced.pdf",
|
||||||
|
"md5": "18386542fc82affa2a5d3722549f8211",
|
||||||
|
"rounds": 1,
|
||||||
|
"link": false,
|
||||||
|
"lastPage": 1,
|
||||||
|
"type": "eq"
|
||||||
|
},
|
||||||
{ "id": "bug956965",
|
{ "id": "bug956965",
|
||||||
"file": "pdfs/bug956965.pdf",
|
"file": "pdfs/bug956965.pdf",
|
||||||
"md5": "9b2f1176c797ee84e989a507e745f89d",
|
"md5": "9b2f1176c797ee84e989a507e745f89d",
|
||||||
|
@ -83,7 +83,7 @@ var checkProblematicCharRanges = function checkProblematicCharRanges() {
|
|||||||
|
|
||||||
describe('Fonts', function() {
|
describe('Fonts', function() {
|
||||||
it('checkProblematicCharRanges', function() {
|
it('checkProblematicCharRanges', function() {
|
||||||
var EXPECTED_PERCENTAGE = 45;
|
var EXPECTED_PERCENTAGE = 100;
|
||||||
var result = checkProblematicCharRanges();
|
var result = checkProblematicCharRanges();
|
||||||
|
|
||||||
expect(result.percentage).toBeLessThan(EXPECTED_PERCENTAGE);
|
expect(result.percentage).toBeLessThan(EXPECTED_PERCENTAGE);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user