Merge pull request #3086 from brendandahl/less-warn

Lower two common warnings to info.
This commit is contained in:
Yury Delendik 2013-04-29 10:21:23 -07:00
commit bc57221b9f
2 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@
*/ */
/* globals ColorSpace, DeviceCmykCS, DeviceGrayCS, DeviceRgbCS, error, /* globals ColorSpace, DeviceCmykCS, DeviceGrayCS, DeviceRgbCS, error,
FONT_IDENTITY_MATRIX, IDENTITY_MATRIX, ImageData, isArray, isNum, 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'; 'use strict';
@ -1401,7 +1401,7 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
// - remove background color: // - remove background color:
// colorNew = color - alphaNew *colorBackdrop /(1 - alphaNew) // colorNew = color - alphaNew *colorBackdrop /(1 - alphaNew)
if (!group.isolated) { if (!group.isolated) {
TODO('Support non-isolated groups.'); info('TODO: Support non-isolated groups.');
} }
// TODO knockout - supposedly possible with the clever use of compositing // TODO knockout - supposedly possible with the clever use of compositing

View File

@ -1532,7 +1532,7 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
var fontNameStr = fontName && fontName.name; var fontNameStr = fontName && fontName.name;
var baseFontStr = baseFont && baseFont.name; var baseFontStr = baseFont && baseFont.name;
if (fontNameStr !== baseFontStr) { 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 "' + '" but should be the same as the Font\'s BaseFont "' +
baseFontStr + '"'); baseFontStr + '"');
} }