1
0
Fork 0
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:
Yury Delendik 2012-04-16 18:44:51 -05:00
parent b6edbb38c1
commit cff6c8db08
3 changed files with 10 additions and 5 deletions

View file

@ -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':