Lower two common warnings to info.
This commit is contained in:
parent
369b81b63f
commit
15a9ab34d3
@ -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
|
||||||
|
@ -1341,7 +1341,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 + '"');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user