mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-25 01:28:06 +02:00
cleanup
This commit is contained in:
parent
dc913b989d
commit
82f40dd2e5
1 changed files with 3 additions and 0 deletions
3
pdf.js
3
pdf.js
|
@ -5370,6 +5370,9 @@ var PDFFunction = (function() {
|
|||
var c1 = dict.get('C1') || [1];
|
||||
var n = dict.get('N');
|
||||
|
||||
if (!IsArray(c0) || !IsArray(c1))
|
||||
error('Illegal dictionary for interpolated function');
|
||||
|
||||
var length = c0.length;
|
||||
var diff = [];
|
||||
for (var i = 0; i < length; ++i)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue