Merge pull request #377 from vingtetun/master

Fix issue #373
This commit is contained in:
Andreas Gal 2011-08-25 17:41:41 -07:00
commit 114a57456d

2
pdf.js
View File

@ -5233,7 +5233,7 @@ var ColorSpace = (function() {
constructor.parse = function colorspace_parse(cs, xref, res) {
if (IsName(cs)) {
var colorSpaces = res.get('ColorSpace');
if (colorSpaces) {
if (IsDict(colorSpaces)) {
var refcs = colorSpaces.get(cs.name);
if (refcs)
cs = refcs;