Fix ColorSpace lookup in ColorSpace.parseToIR
This commit is contained in:
parent
ac32f6f426
commit
98b4c5bbfc
1 changed files with 1 additions and 1 deletions
2
pdf.js
2
pdf.js
|
@ -6458,7 +6458,7 @@ var ColorSpace = (function colorSpaceColorSpace() {
|
|||
|
||||
constructor.parseToIR = function colorspace_parse(cs, xref, res, parseOnly) {
|
||||
if (isName(cs)) {
|
||||
var colorSpaces = res.get('ColorSpace');
|
||||
var colorSpaces = xref.fetchIfRef(res.get('ColorSpace'));
|
||||
if (isDict(colorSpaces)) {
|
||||
var refcs = colorSpaces.get(cs.name);
|
||||
if (refcs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue