]> Sergey Matveev's repositories - dotfiles.git/commitdiff
MuPDF suggests to stop using linearisation
authorSergey Matveev <stargrave@stargrave.org>
Sat, 3 May 2025 14:27:25 +0000 (17:27 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sat, 3 May 2025 14:27:25 +0000 (17:27 +0300)
bin/bin/my-ps2pdf

index 01e37bd7e9f393d01786161003d61715ae7df66f..2d9d901ce038b327836c01a41c77697932c8f69d 100755 (executable)
@@ -41,6 +41,5 @@ exiftool -zip -overwrite_original -quiet \
     -tagsFromFile $1 -Creator\<Producer $1.pdf
 exiftool -zip -overwrite_original -quiet \
     -tagsFromFile $1 -Producer\>Creator ${=toremove} $1.pdf
-[[ -z $LINEARIZE ]] || LINEARIZE=--linearize
-qpdf $LINEARIZE --compress-streams=y $1.pdf $1.pdf.pdf
+qpdf --compress-streams=y $1.pdf $1.pdf.pdf
 mv $1.pdf.pdf $1.pdf