freebsd-ports/print/ghostscript8/files/patch-Resource-Init-gs_statd.ps
Hiroki Sato 7942cfde78 Update to 8.70. Changes include:
- This release fixes a large number of issues with transparency,
  especially as it interacts with color space conversion, mask
  contexts and patterns. There have also been a number of
  significant fixes to font handling, especially when generating
  PDF. And there are numerous robustness, correctness and
  performance improvements.

- New generic Esc/Page devices, eplmono and eplcolor were added
  to the contrib directory. A new cdnj500 device was added to
  support the HP DesignJet 500.

- The licensing of the Free version of the core Ghostscript code
  has been changed to GPLv3 or later. Previously, the core code
  was GPLv2 only. Ghostscript can now be used with GPLv3
  applications, and can no longer be used with applications that
  are GPLv2-only.

- This release also includes security fixes addressing
  CVE-2009-0583 and CVE-2009-0792.

[Incompatible changes]

- The size of PostScript integers has been limited to 32
  bits. Previously they used the C long type resulting in 64 bits
  of precision on LP64 systems (like on x86_64). As of this
  release all platforms match the recommended implementation
  limits in the specification.
2009-12-19 18:16:40 +00:00

23 lines
1.1 KiB
PostScript

--- Resource/Init/gs_statd.ps.orig 2009-03-16 07:42:53.000000000 +0900
+++ Resource/Init/gs_statd.ps 2009-12-20 01:35:53.000000000 +0900
@@ -111,6 +111,12 @@
/pa4 {595 792 //.setpagesize exec} bind def
% Japanese postcard size, 100mm x 148mm
/hagaki {283 420 //.setpagesize exec} bind def
+ /postcard {284 419 //.setpagesize exec} bind def
+ /dbl_postcard {419 568 //.setpagesize exec} bind def
+ /Executive {522 756 //.setpagesize exec} bind def
+ /jenv_you4 {298 666 //.setpagesize exec} bind def
+ /jenv_you2 {324 460 //.setpagesize exec} bind def
+ /jenv_kaku2 {682 942 //.setpagesize exec} bind def
% /tabloid {792 1224 //.setpagesize exec} bind def % 11x17 portrait
% /csheet {1224 1584 //.setpagesize exec} bind def % ANSI C 17x22
% /dsheet {1584 2448 //.setpagesize exec} bind def % ANSI D 22x34
@@ -127,6 +133,7 @@
[ /letter /note %do not change this line, needed by 'setpagetype'
/legal /lettersmall
/11x17 /ledger
+ /postcard /dbl_postcard /Executive /hagaki /jenv_you4 /jenv_you2 /jenv_kaku2
/a4small /a3 /a4
STRICT { (%END SIZES) .skipeof } if
/a0 /a1 /a2 /a5 /a6 /a7 /a8 /a9 /a10