Skip to content

Commit bc57221

Browse files
committed
Merge pull request mozilla#3086 from brendandahl/less-warn
Lower two common warnings to info.
2 parents 341d37e + 15a9ab3 commit bc57221

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
@@ -1532,7 +1532,7 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
15321532
var fontNameStr = fontName && fontName.name;
15331533
var baseFontStr = baseFont && baseFont.name;
15341534
if (fontNameStr !== baseFontStr) {
1535-
warn('The FontDescriptor\'s FontName is "' + fontNameStr +
1535+
info('The FontDescriptor\'s FontName is "' + fontNameStr +
15361536
'" but should be the same as the Font\'s BaseFont "' +
15371537
baseFontStr + '"');
15381538
}

0 commit comments

Comments
 (0)