From 90a51a1e6557be153c7e0e7494886163f1463f2d Mon Sep 17 00:00:00 2001 From: attah Date: Tue, 29 Oct 2024 18:21:43 +0100 Subject: [PATCH] Update README.md --- README.md | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index fc41614..c17789e 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Takes a PDF document and makes it suitable for printing, by: - rotate and scale to fit as needed to a desired page size - convert to PDF 1.7¹, Postscript level 2 or PWG/URF raster -1. PDF 1.5 if using Cairo < 1.18. +1. PDF 1.5 if using Cairo < 1.17.6. ## baselinify Takes a JPEG and losslessly repacks it to the baseline ecoding profile, keeping only JFIF and Exif headers. @@ -41,6 +41,8 @@ Install dependencies: `sudo apt install libpoppler-dev libpoppler-glib-dev libcairo2-dev libglib2.0-dev libjpeg-dev libcurl4-openssl-dev zlib1g-dev` +These are the aggregate dependencies; **ippclient** needs all of them and e.g. **ppm2pwg** needs none of them. + Build: `make -j$(nproc)` @@ -52,15 +54,17 @@ Build: A bit of friendly comparison helps make sure the featureset is well-rounded and performance is on par. ### Basics -| | PDF renderer | Language | License | -| ------------------------------------------------------- | --------------- | ----------- | ------------------ | -| pdf2printable | Poppler | C++ | GPL3 | -| [ipptransform](https://github.com/OpenPrinting/libcups) | XPDF or Poppler | C | Apache 2.0 | -| [mutool](https://mupdf.com/) | MuPDF | C | AGPL or commercial | -| [jrender](https://github.com/HPInc/jipp) | Apache PDFBox | Java/Kotlin | MIT | +| | PDF renderer | Language | License | +| ------------------------------------------------------- | --------------------- | ----------- | ------------------ | +| pdf2printable | Poppler¹ | C++ | GPL3 | +| [ipptransform](https://github.com/OpenPrinting/libcups) | XPDF or Poppler¹ | C | Apache 2.0 | +| [mutool](https://mupdf.com/) | MuPDF | C | AGPL or commercial | +| [jrender](https://github.com/HPInc/jipp) | Apache PDFBox | Java/Kotlin | MIT | Not in the running: cups-filters (can't get them to run outside CUPS), Android/Apple built-ins and Google Cloud Print (not available standalone). +1. pdf2printable uses the Cairo backend in Poppler and ipptransform uses the Splash backend inhertited from XPDF. Cairo generally produces higher quality rasterization, but is slightly more prone to misrendering with unusual PDFs. + ### Format support | | PDF | Postscript | PWG | URF | PCLm¹ | PCL² |