File: 0004-add-DALLOWPSTRANSPARENCY-to-gs-calls.patch

package info (click to toggle)
sketch 1%3A0.3.7-13
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,676 kB
  • sloc: ansic: 6,847; lex: 434; yacc: 361; xml: 161; perl: 152; makefile: 148; sh: 45
file content (25 lines) | stat: -rw-r--r-- 1,139 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: David Bremner <bremner@debian.org>
Date: Fri, 6 Nov 2020 22:34:24 -0400
Subject: add -DALLOWPSTRANSPARENCY to gs calls

Apparently this is a GhostScript extension to the postscript
language.
---
 Doc/make.pl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Doc/make.pl b/Doc/make.pl
index d1c9868..35459d1 100644
--- a/Doc/make.pl
+++ b/Doc/make.pl
@@ -40,8 +40,8 @@ sub make_example {
     open(F, "> $ex.txt") or die "$!";
     print F "Image $ex omitted in text version of this document.";
     close F;
-    system("$GS -q -dQUIET -dNOPAUSE -dBATCH -dEPSCrop -sDEVICE=pdfwrite -sOutputFile=$ex.pdf -r120 $ex.eps") == 0 or die "$!";
-    system("$GS -q -dQUIET -dNOPAUSE -dBATCH -dEPSCrop -sDEVICE=png256   -sOutputFile=$ex.png -r120 $ex.eps") == 0 or die "$!";
+    system("$GS -q -dALLOWPSTRANSPARENCY -dQUIET -dNOPAUSE -dBATCH -dEPSCrop -sDEVICE=pdfwrite -sOutputFile=$ex.pdf -r120 $ex.eps") == 0 or die "$!";
+    system("$GS -q -dALLOWPSTRANSPARENCY -dQUIET -dNOPAUSE -dBATCH -dEPSCrop -sDEVICE=png256   -sOutputFile=$ex.png -r120 $ex.eps") == 0 or die "$!";
     unlink <$ex-tmp.*>;
   }
 }