Fix jsdoc comment; remove resources dict from type3 properties
This commit is contained in:
parent
4953e0fecc
commit
6bf640260f
@ -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() {}
|
||||
};
|
||||
|
@ -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];
|
||||
|
@ -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('+');
|
||||
|
Loading…
Reference in New Issue
Block a user