home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mega CD-ROM 1
/
megacd_rom_1.zip
/
megacd_rom_1
/
POSTSCRI
/
GS23A.ZIP
/
UNPROT.PS
< prev
next >
Wrap
Text File
|
1991-05-20
|
2KB
|
38 lines
% Copyright (C) 1991 Aladdin Enterprises. All rights reserved.
% Distributed by Free Software Foundation, Inc.
%
% This file is part of Ghostscript.
%
% Ghostscript is distributed in the hope that it will be useful, but
% WITHOUT ANY WARRANTY. No author or distributor accepts responsibility
% to anyone for the consequences of using it or for whether it serves any
% particular purpose or works at all, unless he says so in writing. Refer
% to the Ghostscript General Public License for full details.
%
% Everyone is granted permission to copy, modify and redistribute
% Ghostscript, but only under the conditions described in the Ghostscript
% General Public License. A copy of this license is supposed to have been
% given to you along with Ghostscript so you can know your rights and
% responsibilities. It should be in a file named COPYING. Among other
% things, the copyright notice and this notice must be preserved on all
% copies.
% Disable all access checks. This is useful for printing out
% eexec-encrypted Type 1 fonts, and similar purposes.
% This code can be defeated, but why would anyone bother?
userdict begin
% Disable the obvious checks.
/readonly { } odef
/executeonly { } odef
/noaccess { } odef
% Redefine begin and end so that if anyone pushes systemdict,
% they also wind up pushing userdict.
/begin { dup systemdict eq exch begin { userdict begin } if } bind odef
/end { end currentdict systemdict eq { end } if } bind odef
% Redefine eexec with the new begin/end.
/eexec { 55665 exch type1decryptfile
cvx systemdict begin stopped end
$error /newerror get and { handleerror } if } bind odef
end