From 15a9ab34d3f499024c1ba34000e3bda3be9defc6 Mon Sep 17 00:00:00 2001 From: Brendan Dahl Date: Tue, 16 Apr 2013 15:45:29 -0700 Subject: [PATCH] Lower two common warnings to info. --- src/canvas.js | 4 ++-- src/evaluator.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/canvas.js b/src/canvas.js index 6dd5b2b03..49bc62d52 100644 --- a/src/canvas.js +++ b/src/canvas.js @@ -16,7 +16,7 @@ */ /* globals ColorSpace, DeviceCmykCS, DeviceGrayCS, DeviceRgbCS, error, FONT_IDENTITY_MATRIX, IDENTITY_MATRIX, ImageData, isArray, isNum, - isString, Pattern, TilingPattern, TODO, Util, warn, assert */ + isString, Pattern, TilingPattern, TODO, Util, warn, assert, info */ 'use strict'; @@ -1401,7 +1401,7 @@ var CanvasGraphics = (function CanvasGraphicsClosure() { // - remove background color: // colorNew = color - alphaNew *colorBackdrop /(1 - alphaNew) if (!group.isolated) { - TODO('Support non-isolated groups.'); + info('TODO: Support non-isolated groups.'); } // TODO knockout - supposedly possible with the clever use of compositing diff --git a/src/evaluator.js b/src/evaluator.js index 2f94f41d0..acbfb8357 100644 --- a/src/evaluator.js +++ b/src/evaluator.js @@ -1341,7 +1341,7 @@ var PartialEvaluator = (function PartialEvaluatorClosure() { var fontNameStr = fontName && fontName.name; var baseFontStr = baseFont && baseFont.name; if (fontNameStr !== baseFontStr) { - warn('The FontDescriptor\'s FontName is "' + fontNameStr + + info('The FontDescriptor\'s FontName is "' + fontNameStr + '" but should be the same as the Font\'s BaseFont "' + baseFontStr + '"'); }