Fix jsdoc comment; remove resources dict from type3 properties

This commit is contained in:
Yury Delendik 2012-04-14 17:52:49 -07:00
parent 4953e0fecc
commit 6bf640260f
3 changed files with 6 additions and 3 deletions

View File

@ -193,7 +193,7 @@ var PDFPageProxy = (function PDFPageProxyClosure() {
* canvasContext(required): A 2D context of a DOM Canvas object.,
* textLayer(optional): An object that has beginLayout, endLayout, and
* appendText functions.
* }
* }.
* @return {Promise} A promise that is resolved when the page finishes
* rendering.
*/
@ -415,6 +415,11 @@ var WorkerTransport = (function WorkerTransportClosure() {
var fakeWorker = {
postMessage: function WorkerTransport_postMessage(obj) {
fakeWorker.onmessage({data: obj});
try {
testF.contentWindow.postMessage(obj, "*");
} catch(e) {
debugger;
}
},
terminate: function WorkerTransport_terminate() {}
};

View File

@ -862,7 +862,6 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
properties.coded = true;
var charProcs = dict.get('CharProcs').getAll();
var fontResources = dict.get('Resources') || resources;
properties.resources = fontResources;
properties.charProcOperatorList = {};
for (var key in charProcs) {
var glyphStream = charProcs[key];

View File

@ -766,7 +766,6 @@ var Font = (function FontClosure() {
this.name = name;
this.coded = properties.coded;
this.charProcOperatorList = properties.charProcOperatorList;
this.resources = properties.resources;
this.sizes = [];
var names = name.split('+');