1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 07:08:08 +02:00
pdf.js/src
Jonas Jenwald a1fe2cb443 Don't directly access the private map in setGState, and ensure that we avoid indirect objects
*This patch is based on something I noticed while debugging some of the PDF files in issue 6931.*

In a number of the cases in `setGState`, we're implicitly assuming that we're not dealing with indirect objects (i.e. `Ref`s). See e.g. the 'Font' case, or the various cases where we simply do `gStateObj.push([key, value]);` (since the code in `canvas.js` won't be able to deal with a `Ref` for those cases).

The reason that I didn't use `Dict_forEach` instead, is that it would re-introduce the unncessary closures that PR 5205 removed.
2016-02-03 17:13:42 +01:00
..
core Don't directly access the private map in setGState, and ensure that we avoid indirect objects 2016-02-03 17:13:42 +01:00
display Merge pull request #6915 from yurydelendik/lookuptables 2016-01-28 15:01:06 -06:00
images Vectorize the logo. 2012-10-29 14:08:52 -04:00
shared Merge pull request #6921 from Snuffleupagus/mandatory-deprecated 2016-01-29 12:12:08 +01:00
doc_helper.js Creates make.js code to build jsdoc. 2014-04-13 15:54:24 -05:00
frameworks.js Adds UMD header to pdf.js and pdf.worker.js files. 2015-12-29 18:15:14 -06:00
main_loader.js Adds pdfjs/main_loader module to better mirror pdfjs-dist/build/pdf. 2015-12-30 13:28:57 -06:00
pdf.js Adds pdfjs/main_loader module to better mirror pdfjs-dist/build/pdf. 2015-12-30 13:28:57 -06:00
worker_loader.js Adds RequireJS to worker. 2015-12-29 09:20:52 -06:00