summaryrefslogtreecommitdiff
path: root/source/fitz/writer.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2017-08-17 12:29:58 +0200
committerTor Andersson <tor.andersson@artifex.com>2017-08-17 16:09:07 +0200
commitc2ec2c5b4864eabe8ae96003610a4e989159476b (patch)
tree9490ff3ef0d5ecb9e003b9fad553a260da74716d /source/fitz/writer.c
parent90cdd8103c39d0568dd233beae0846e8656c745c (diff)
downloadmupdf-c2ec2c5b4864eabe8ae96003610a4e989159476b.tar.xz
Add PS document writer.
Diffstat (limited to 'source/fitz/writer.c')
-rw-r--r--source/fitz/writer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/fitz/writer.c b/source/fitz/writer.c
index ba7c16cf..caad6f7e 100644
--- a/source/fitz/writer.c
+++ b/source/fitz/writer.c
@@ -140,6 +140,8 @@ fz_new_document_writer(fz_context *ctx, const char *path, const char *format, co
if (!fz_strcasecmp(format, "pkm"))
return fz_new_pkm_pixmap_writer(ctx, path, options);
+ if (!fz_strcasecmp(format, "ps"))
+ return fz_new_ps_writer(ctx, path, options);
if (!fz_strcasecmp(format, "pcl"))
return fz_new_pcl_writer(ctx, path, options);
if (!fz_strcasecmp(format, "pwg"))