diff --git a/bower.json b/bower.json index cebd75ba5..1f157657b 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.1.218", + "version": "1.1.220", "main": [ "build/pdf.js", "build/pdf.worker.js" diff --git a/build/pdf.combined.js b/build/pdf.combined.js index 454a77ba5..40ba8106a 100644 --- a/build/pdf.combined.js +++ b/build/pdf.combined.js @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.1.218'; -PDFJS.build = '99415a7'; +PDFJS.version = '1.1.220'; +PDFJS.build = 'd504cde'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -13208,7 +13208,7 @@ var ColorSpace = (function ColorSpaceClosure() { } break; case 'Pattern': - var basePatternCS = xref.fetchIfRef(cs[1]) || null; + var basePatternCS = cs[1] || null; if (basePatternCS) { basePatternCS = ColorSpace.parseToIR(basePatternCS, xref, res); } @@ -13216,7 +13216,7 @@ var ColorSpace = (function ColorSpaceClosure() { case 'Indexed': case 'I': var baseIndexedCS = ColorSpace.parseToIR(cs[1], xref, res); - var hiVal = cs[2] + 1; + var hiVal = xref.fetchIfRef(cs[2]) + 1; var lookup = xref.fetchIfRef(cs[3]); if (isStream(lookup)) { lookup = lookup.getBytes(); @@ -13224,7 +13224,7 @@ var ColorSpace = (function ColorSpaceClosure() { return ['IndexedCS', baseIndexedCS, hiVal, lookup]; case 'Separation': case 'DeviceN': - var name = cs[1]; + var name = xref.fetchIfRef(cs[1]); numComps = 1; if (isName(name)) { numComps = 1; diff --git a/build/pdf.js b/build/pdf.js index 7f24ae5d1..f380a0217 100644 --- a/build/pdf.js +++ b/build/pdf.js @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.1.218'; -PDFJS.build = '99415a7'; +PDFJS.version = '1.1.220'; +PDFJS.build = 'd504cde'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it diff --git a/build/pdf.worker.js b/build/pdf.worker.js index 1d72e91c0..26abf0f8f 100644 --- a/build/pdf.worker.js +++ b/build/pdf.worker.js @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.1.218'; -PDFJS.build = '99415a7'; +PDFJS.version = '1.1.220'; +PDFJS.build = 'd504cde'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -6854,7 +6854,7 @@ var ColorSpace = (function ColorSpaceClosure() { } break; case 'Pattern': - var basePatternCS = xref.fetchIfRef(cs[1]) || null; + var basePatternCS = cs[1] || null; if (basePatternCS) { basePatternCS = ColorSpace.parseToIR(basePatternCS, xref, res); } @@ -6862,7 +6862,7 @@ var ColorSpace = (function ColorSpaceClosure() { case 'Indexed': case 'I': var baseIndexedCS = ColorSpace.parseToIR(cs[1], xref, res); - var hiVal = cs[2] + 1; + var hiVal = xref.fetchIfRef(cs[2]) + 1; var lookup = xref.fetchIfRef(cs[3]); if (isStream(lookup)) { lookup = lookup.getBytes(); @@ -6870,7 +6870,7 @@ var ColorSpace = (function ColorSpaceClosure() { return ['IndexedCS', baseIndexedCS, hiVal, lookup]; case 'Separation': case 'DeviceN': - var name = cs[1]; + var name = xref.fetchIfRef(cs[1]); numComps = 1; if (isName(name)) { numComps = 1; diff --git a/package.json b/package.json index 9102475f5..f0a12f79f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.1.218", + "version": "1.1.220", "description": "Generic build of Mozilla's PDF.js library.", "keywords": [ "Mozilla",