1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

Merge branch 'master' of git://github.com/mozilla/pdf.js.git into progress-indeterminate

Conflicts:
	extensions/firefox/components/PdfStreamConverter.js
This commit is contained in:
Yury Delendik 2012-08-23 15:23:44 -05:00
commit 296b98f977
3 changed files with 84 additions and 65 deletions

View file

@ -4100,7 +4100,7 @@ Type1Font.prototype = {
// charstring changes size - can't cache .length in loop
for (var i = 0; i < charstring.length; i++) {
var command = charstring[i];
if (command.charAt) {
if (typeof command === 'string') {
var cmd = map[command];
assert(cmd, 'Unknow command: ' + command);