diff options
author | Sebastian Rasmussen <sebras@hotmail.com> | 2009-07-12 21:18:40 +0200 |
---|---|---|
committer | Sebastian Rasmussen <sebras@hotmail.com> | 2009-07-12 21:18:40 +0200 |
commit | 0a94fbd3312b56587387fdb49bfe168c96bd6d30 (patch) | |
tree | b5e153247513430f656808c5afd2c04f7dc4acae | |
parent | 1be67e99b3232fbdcf02f0f24c1bf380f9874ebf (diff) | |
download | mupdf-0a94fbd3312b56587387fdb49bfe168c96bd6d30.tar.xz |
Silence warning when parsing identity transfer function.
-rw-r--r-- | mupdf/pdf_interpret.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mupdf/pdf_interpret.c b/mupdf/pdf_interpret.c index 1bddd0b3..377d7334 100644 --- a/mupdf/pdf_interpret.c +++ b/mupdf/pdf_interpret.c @@ -385,7 +385,8 @@ runextgstate(pdf_gstate *gstate, pdf_xref *xref, fz_obj *extgstate) else if (!strcmp(s, "TR")) { - fz_warn("ignoring transfer function"); + if (fz_isname(val) && strcmp(fz_toname(val), "Identity")) + fz_warn("ignoring transfer function"); } } |