From 51e46fa1a79ce69bb48be5d8b047e7213e22482c Mon Sep 17 00:00:00 2001 From: Jonas Jenwald <jonas.jenwald@gmail.com> Date: Sat, 9 Jul 2016 12:00:52 +0200 Subject: [PATCH] Change the `warn` to `info` in `recoverGlyphName` to reduce the console spam After PR 7441, where `recoverGlyphName` is used a lot more than before, many PDF files will generate a lot of warnings the console. For normal usage, compared to debugging/development, this is probably more annoying than helpful. --- src/core/fonts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/fonts.js b/src/core/fonts.js index b32dc4193..d24cb0a6b 100644 --- a/src/core/fonts.js +++ b/src/core/fonts.js @@ -200,7 +200,7 @@ function recoverGlyphName(name, glyphsUnicodeMap) { } } } - warn('Unable to recover a standard glyph name for: ' + name); + info('Unable to recover a standard glyph name for: ' + name); return name; }