mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-21 07:38:07 +02:00
Cache built-in binary CMap files in the worker (issue 4794)
This commit is contained in:
parent
769c1450b7
commit
111419a64a
4 changed files with 29 additions and 9 deletions
|
@ -34,11 +34,13 @@ describe('document', function () {
|
|||
var page1 = new Page(/* pdfManager = */ { }, /* xref = */ null,
|
||||
/* pageIndex = */ 0,
|
||||
/* pageDict = */ null, /* ref = */ null,
|
||||
/* fontCache = */ null);
|
||||
/* fontCache = */ null,
|
||||
/* builtInCMapCache = */ null);
|
||||
var page2 = new Page(/* pdfManager = */ { }, /* xref = */ null,
|
||||
/* pageIndex = */ 1,
|
||||
/* pageDict = */ null, /* ref = */ null,
|
||||
/* fontCache = */ null);
|
||||
/* fontCache = */ null,
|
||||
/* builtInCMapCache = */ null);
|
||||
|
||||
var idFactory1 = page1.idFactory, idFactory2 = page2.idFactory;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue