mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-25 17:48:07 +02:00
skip cached objects and has consistent font ids
This commit is contained in:
parent
b6edbb38c1
commit
cff6c8db08
3 changed files with 10 additions and 5 deletions
|
@ -489,6 +489,8 @@ var WorkerTransport = (function WorkerTransportClosure() {
|
|||
messageHandler.on('obj', function transportObj(data) {
|
||||
var id = data[0];
|
||||
var type = data[1];
|
||||
if (this.objs.hasData(id))
|
||||
return;
|
||||
|
||||
switch (type) {
|
||||
case 'JpegStream':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue