diff options
author | Tor Andersson <tor@ghostscript.com> | 2010-06-21 16:24:30 +0200 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2010-06-21 16:24:30 +0200 |
commit | 57a151c204fed4935a11aa3fb2340df359d9c115 (patch) | |
tree | 2bce2a8148ad9a0d3a912f26d6debfd5b235185b | |
parent | 17d2a8b03562410e644d55c0452c63c142d9b333 (diff) | |
download | mupdf-57a151c204fed4935a11aa3fb2340df359d9c115.tar.xz |
Ignore PostScript style XObjects instead of bailing.
-rw-r--r-- | mupdf/pdf_interpret.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mupdf/pdf_interpret.c b/mupdf/pdf_interpret.c index 8ee794cd..63516572 100644 --- a/mupdf/pdf_interpret.c +++ b/mupdf/pdf_interpret.c @@ -578,6 +578,11 @@ Lsetcolorspace: pdf_dropimage(img); } + else if (!strcmp(fz_toname(subtype), "PS")) + { + fz_warn("ignoring XObject with subtype PS"); + } + else { return fz_throw("unknown XObject subtype: %s", fz_toname(subtype)); |