Skip to content

Commit 15a9ab3

Browse files
committed
Lower two common warnings to info.
1 parent 369b81b commit 15a9ab3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/canvas.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717
/* globals ColorSpace, DeviceCmykCS, DeviceGrayCS, DeviceRgbCS, error,
1818
FONT_IDENTITY_MATRIX, IDENTITY_MATRIX, ImageData, isArray, isNum,
19-
isString, Pattern, TilingPattern, TODO, Util, warn, assert */
19+
isString, Pattern, TilingPattern, TODO, Util, warn, assert, info */
2020

2121
'use strict';
2222

@@ -1401,7 +1401,7 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
14011401
// - remove background color:
14021402
// colorNew = color - alphaNew *colorBackdrop /(1 - alphaNew)
14031403
if (!group.isolated) {
1404-
TODO('Support non-isolated groups.');
1404+
info('TODO: Support non-isolated groups.');
14051405
}
14061406

14071407
// TODO knockout - supposedly possible with the clever use of compositing

src/evaluator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1341,7 +1341,7 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
13411341
var fontNameStr = fontName && fontName.name;
13421342
var baseFontStr = baseFont && baseFont.name;
13431343
if (fontNameStr !== baseFontStr) {
1344-
warn('The FontDescriptor\'s FontName is "' + fontNameStr +
1344+
info('The FontDescriptor\'s FontName is "' + fontNameStr +
13451345
'" but should be the same as the Font\'s BaseFont "' +
13461346
baseFontStr + '"');
13471347
}

0 commit comments

Comments
 (0)