page: fix pdf prolog for ghostscript >= 9.27 (#296)
Ghostscript 9.27 removed GS_PDF_ProcSet and pdfdict due to a security issue (see https://security-tracker.debian.org/tracker/CVE-2019-3839). This fix was contributed by @onyxperidot (see #279). Fixes #279
This commit is contained in:
parent
3d08a066b1
commit
01a29ffe9d
2 changed files with 2 additions and 4 deletions
|
|
@ -16,5 +16,4 @@
|
||||||
" } if\n"
|
" } if\n"
|
||||||
"} bind def\n"
|
"} bind def\n"
|
||||||
"\n"
|
"\n"
|
||||||
"GS_PDF_ProcSet begin\n"
|
"runpdfbegin\n"
|
||||||
"pdfdict begin\n"
|
|
||||||
|
|
|
||||||
|
|
@ -16,5 +16,4 @@
|
||||||
} if
|
} if
|
||||||
} bind def
|
} bind def
|
||||||
|
|
||||||
GS_PDF_ProcSet begin
|
runpdfbegin
|
||||||
pdfdict begin
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue