Merge pull request #453 from vingtetun/master

Fix for #451
This commit is contained in:
Andreas Gal 2011-09-07 10:24:21 -07:00
commit 909284df7b

View File

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