Fixing getting of the "Filter" attribute
This commit is contained in:
parent
612151d1bc
commit
8c727860dd
@ -196,8 +196,9 @@ var Parser = (function ParserClosure() {
|
|||||||
return stream;
|
return stream;
|
||||||
},
|
},
|
||||||
filter: function parserFilter(stream, dict, length) {
|
filter: function parserFilter(stream, dict, length) {
|
||||||
var filter = dict.get('Filter', 'F');
|
var xref = this.xref;
|
||||||
var params = dict.get('DecodeParms', 'DP');
|
var filter = xref.fetchIfRef(dict.get('Filter', 'F'));
|
||||||
|
var params = xref.fetchIfRef(dict.get('DecodeParms', 'DP'));
|
||||||
if (isName(filter))
|
if (isName(filter))
|
||||||
return this.makeFilter(stream, filter.name, length, params);
|
return this.makeFilter(stream, filter.name, length, params);
|
||||||
if (isArray(filter)) {
|
if (isArray(filter)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user