]> git.parisson.com Git - pdf.js.git/commitdiff
clean up
authorsbarman <sbarman@L3CWZ5T.(none)>
Wed, 29 Jun 2011 17:27:00 +0000 (10:27 -0700)
committersbarman <sbarman@L3CWZ5T.(none)>
Wed, 29 Jun 2011 17:27:00 +0000 (10:27 -0700)
pdf.js

diff --git a/pdf.js b/pdf.js
index a6681a6878be3804a4e8886526f679bbd4bdd7f2..a9d350555ae4646a4fe94f0a04f8aacc50497f01 100644 (file)
--- a/pdf.js
+++ b/pdf.js
@@ -3409,6 +3409,7 @@ var CanvasGraphics = (function() {
       
         translateFont: function(fontDict, xref, resources) {
             var fd = fontDict.get("FontDescriptor");
+            return;
             if (!fd)
                 // XXX deprecated "special treatment" for standard
                 // fonts?  What do we need to do here?
@@ -4440,18 +4441,6 @@ var ColorSpace = (function() {
                 var hiVal = cs[2];
                 var lookup = xref.fetchIfRef(cs[3]);
                 return new IndexedCS(base, hiVal, lookup);
-                 
-                    /*return new IndexedCS(stream);
-                      this.stream = stream;
-                      this.dict = stream.dict;
-                      var base = cs[1];
-                      var hival = cs[2];
-                      assertWellFormed(0 <= hival && hival <= 255, "hival in range");
-                      var lookupTable = cs[3];
-                      TODO("implement 'Indexed' color space");
-                      this.numComps = 3; // HACK
-                      break;
-                      */
             case "Lab":
             case "Seperation":
             case "DeviceN":