From ed7e18f730ac9198db81146f4e8c17bf050dcd64 Mon Sep 17 00:00:00 2001 From: sbarman Date: Wed, 29 Jun 2011 10:27:00 -0700 Subject: [PATCH] clean up --- pdf.js | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/pdf.js b/pdf.js index a6681a687..a9d350555 100644 --- 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":