]> git.ipfire.org Git - thirdparty/cups-filters.git/commitdiff
gstoraster, gstopdf: Use "-dPDFSETTINGS=/default" for PDF output
authorTill Kamppeter <till.kamppeter@gmail.com>
Tue, 4 Aug 2020 21:52:49 +0000 (23:52 +0200)
committerTill Kamppeter <till.kamppeter@gmail.com>
Tue, 4 Aug 2020 21:52:49 +0000 (23:52 +0200)
NEWS
filter/gstoraster.c

diff --git a/NEWS b/NEWS
index bc8a4ec7b80be6e52b9d186e7cfd66404e52d828..07b2029543b5680b26695826be73c93fa6b8194a 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,11 @@ NEWS - OpenPrinting CUPS Filters v1.27.5 - 2020-06-05
 
 CHANGES IN V2.0.0
 
+       - gstoraster, gstopdf: When converting PostScript to PDF use
+         the "pdfwrite" output device with "-dPDFSETTINGS=/default"
+         instead of with "-dPDFSETTINGS=/printer". This reproduces
+         bitmaps in the PostScript file with their original image
+         quality (Issue #272).
        - pdftops: Replaced the external program call of CUPS' pstops
          filter by the pstops() filter function of libcupsfilters.
        - lincupsfilters: Added the filter functions concept and added
index 0c83180b908ef126998d3a1cedad031b05d1fafb..bc2ddcd33b8469e5efd91fef0b8bb1c9ec58c853 100644 (file)
@@ -849,7 +849,7 @@ main (int argc, char **argv, char *envp[])
     cupsArrayAdd(gs_args, strdup("-dAutoFilterColorImages=false"));
     cupsArrayAdd(gs_args, strdup("-dNOPLATFONTS"));
     cupsArrayAdd(gs_args, strdup("-dColorImageFilter=/FlateEncode"));
-    cupsArrayAdd(gs_args, strdup("-dPDFSETTINGS=/printer"));
+    cupsArrayAdd(gs_args, strdup("-dPDFSETTINGS=/default"));
     cupsArrayAdd(gs_args, strdup("-dColorConversionStrategy=/LeaveColorUnchanged"));
   }