Fix ColorSpace lookup in ColorSpace.parseToIR
This commit is contained in:
parent
ac32f6f426
commit
98b4c5bbfc
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…
x
Reference in New Issue
Block a user