Merge pull request #9740 from pedrotp/replace-get-getArray
Use Dict.getArray, instead of Dict.get, when getting the 'Size' in constructSampled in src/core/function.js
This commit is contained in:
commit
36af85db92
@ -186,7 +186,7 @@ var PDFFunction = (function PDFFunctionClosure() {
|
||||
domain = toMultiArray(domain);
|
||||
range = toMultiArray(range);
|
||||
|
||||
var size = toNumberArray(dict.get('Size'));
|
||||
var size = toNumberArray(dict.getArray('Size'));
|
||||
var bps = dict.get('BitsPerSample');
|
||||
var order = dict.get('Order') || 1;
|
||||
if (order !== 1) {
|
||||
|
Loading…
Reference in New Issue
Block a user