summaryrefslogtreecommitdiff
path: root/print/ghostscript-gnu/files/patch-lib:gs_setpd.ps
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2003-06-08 20:02:23 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2003-06-08 20:02:23 +0000
commit152a500379e595e87d74156ace175e58d3cb63d2 (patch)
treec31c0280db36dab0abf59b52de1ddeafe9419374 /print/ghostscript-gnu/files/patch-lib:gs_setpd.ps
parentUpdate to 1.2.0 (diff)
Update to version 7.07.
PR: 52480 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=82548
Diffstat (limited to 'print/ghostscript-gnu/files/patch-lib:gs_setpd.ps')
-rw-r--r--print/ghostscript-gnu/files/patch-lib:gs_setpd.ps59
1 files changed, 59 insertions, 0 deletions
diff --git a/print/ghostscript-gnu/files/patch-lib:gs_setpd.ps b/print/ghostscript-gnu/files/patch-lib:gs_setpd.ps
new file mode 100644
index 000000000000..1e0cf12559a7
--- /dev/null
+++ b/print/ghostscript-gnu/files/patch-lib:gs_setpd.ps
@@ -0,0 +1,59 @@
+--- lib/gs_setpd.ps.orig Mon Mar 31 22:02:22 2003
++++ lib/gs_setpd.ps Sat May 17 06:57:49 2003
+@@ -323,21 +323,42 @@
+ } bind
+ .dicttomark readonly def
+
+-% Define the keys used in input attribute matching.
+-/.inputattrkeys [
+- /PageSize /MediaColor /MediaWeight /MediaType /InsertSheet
+- % The following are documented in Adobe's supplement for v2017.
+- /LeadingEdge /MediaClass
+-] readonly def
+-% Define other keys used in media selection.
+-/.inputselectionkeys [
+- /MediaPosition /Orientation
+-] readonly def
++% M. Sweet, Easy Software Products:
++%
++% Define NOMEDIAATTRS to turn the default (but unimplementable) media
++% selection policies for setpagedevice. This is used by CUPS to
++% support the standard Adobe media attributes.
++currentdict /NOMEDIAATTRS known {
++ % Define the keys used in input attribute matching.
++ /.inputattrkeys [
++ /PageSize /MediaColor /MediaWeight /MediaType /InsertSheet
++ % The following are documented in Adobe's supplement for v2017.
++ /LeadingEdge /MediaClass
++ ] readonly def
++ % Define other keys used in media selection.
++ /.inputselectionkeys [
++ /MediaPosition /Orientation
++ ] readonly def
+
+-% Define the keys used in output attribute matching.
+-/.outputattrkeys [
+- /OutputType
+-] readonly def
++ % Define the keys used in output attribute matching.
++ /.outputattrkeys [
++ /OutputType
++ ] readonly def
++} {
++ % Define only PageSize for input attribute matching.
++ /.inputattrkeys [
++ /PageSize
++ ] readonly def
++ % Define no other keys used in media selection.
++ /.inputselectionkeys [
++ /noInputSelectionsKeys
++ ] readonly def
++
++ % Define no keys used in output attribute matching.
++ /.outputattrkeys [
++ /noOutputAttrKeys
++ ] readonly def
++} ifelse
+
+ % Define all the parameters that should always be copied to the merged
+ % dictionary.