diff --git a/fonts.js b/fonts.js index c345cd21e..e76451a9f 100755 --- a/fonts.js +++ b/fonts.js @@ -1597,7 +1597,7 @@ var Type1Parser = function() { } else if (!command) { break; } else if (command == -1) { - error('Support for Type1 command ' + value + + warn('Support for Type1 command ' + value + ' (' + escape + ') is not implemented in charstring: ' + charstring); } @@ -1641,7 +1641,8 @@ var Type1Parser = function() { }; function readNumber(str, index) { - while (str[index++] == ' '); + while (str[index] == ' ') + index++; var start = index;