From: = <=> Date: Tue, 4 Oct 2011 16:06:51 +0000 (-0700) Subject: Address pull request feedback. X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=b24bec27ca496698b527f91c37e6a05317098a1a;p=pdf.js.git Address pull request feedback. --- diff --git a/pdf.js b/pdf.js index e79b3e5..1aa1f3e 100644 --- a/pdf.js +++ b/pdf.js @@ -4858,7 +4858,7 @@ var PartialEvaluator = (function partialEvaluator() { }; properties.glyphs = this.extractEncoding(dict, xref, properties); - if (type.name == 'Type3') { + if (type.name === 'Type3') { properties.coded = true; var charProcs = xref.fetchIfRef(dict.get('CharProcs')); var fontResources = xref.fetchIfRef(dict.get('Resources')) || resources; @@ -5421,7 +5421,7 @@ var CanvasGraphics = (function canvasGraphics() { lly, urx, ury) { - // TODO? According the spec we're also suppose to ignore any operators + // TODO According to the spec we're also suppose to ignore any operators // that set color or include images while processing this type3 font. this.rectangle(llx, lly, urx - llx, ury - lly); this.clip(); diff --git a/test/test_manifest.json b/test/test_manifest.json index 3bf8df6..b45c9ac 100644 --- a/test/test_manifest.json +++ b/test/test_manifest.json @@ -181,6 +181,6 @@ "file": "pdfs/simpletype3font.pdf", "link": false, "rounds": 1, - "type": "load" + "type": "eq" } ]