From: sbarman Date: Thu, 7 Jul 2011 18:13:39 +0000 (-0700) Subject: changed name from TintCS to SeparationCS X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=54ae4fc6cba5a346a204c2720d09ac93ab2ea746;p=pdf.js.git changed name from TintCS to SeparationCS --- diff --git a/pdf.js b/pdf.js index c2760b5..02efa39 100644 --- a/pdf.js +++ b/pdf.js @@ -4620,7 +4620,7 @@ var ColorSpace = (function() { var name = cs[1]; var alt = ColorSpace.parse(cs[2], xref, res); var tintFn = new PDFFunction(xref, xref.fetchIfRef(cs[3])); - return new TintCS("Separation", alt, tintFn); + return new SeparationCS(alt, tintFn); break; case 'Lab': case 'DeviceN': @@ -4635,11 +4635,11 @@ var ColorSpace = (function() { return constructor; })(); -var TintCS = (function() { - function constructor(name, base, tintFn) { - this.name = name; +var SeparationCS = (function() { + function constructor(base, tintFn) { + this.name = "Separation"; this.numComps = 1; - this.defaultColor = [0]; + this.defaultColor = [1]; this.base = base; this.tintFn = tintFn;