]> git.parisson.com Git - pdf.js.git/commitdiff
Address pull request feedback.
author= <=>
Tue, 4 Oct 2011 16:06:51 +0000 (09:06 -0700)
committer= <=>
Tue, 4 Oct 2011 16:06:51 +0000 (09:06 -0700)
pdf.js
test/test_manifest.json

diff --git a/pdf.js b/pdf.js
index e79b3e59555909314593a71c301715da21aefcee..1aa1f3e60c3d04c5437eaad69ae329e3759e55f3 100644 (file)
--- 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();
index 3bf8df6a06e44116fcf06566c6081be2ceb7281d..b45c9ac5c5f58cffb16e643d3fdfea4b54e718bd 100644 (file)
        "file": "pdfs/simpletype3font.pdf",
        "link": false,
        "rounds": 1,
-       "type": "load"
+       "type": "eq"
     }
 ]