Merge pull request #504 from notmasteryet/tree-21

Trivial fixes
This commit is contained in:
Chris Jones 2011-09-20 18:12:13 -07:00
commit 7751b83821

4
pdf.js
View File

@ -2415,7 +2415,7 @@ var Lexer = (function() {
}
constructor.isSpace = function(ch) {
return ch == ' ' || ch == '\t' || ch == '\x0d';
return ch == ' ' || ch == '\t' || ch == '\x0d' || ch == '\x0a';
};
// A '1' in this array means the character is white space. A '1' or
@ -4184,7 +4184,7 @@ var PartialEvaluator = (function() {
if (typeNum == 1) {
patternName.code = this.evaluate(pattern, xref,
dict.get('Resources'),
fonts);
fonts, images);
}
}
}