1 2 Aladdin Free Public License 3 (Version 9, September 18, 2000) 4 5 Copyright (C) 1994, 1995, 1997, 1998, 1999, 2000 Aladdin Enterprises, 6 Menlo Park, California, U.S.A. All rights reserved. 7 8 NOTE: This License is not the same as any of the GNU Licenses 9 published by the Free Software Foundation. Its terms are 10 substantially different from those of the GNU Licenses. If you are 11 familiar with the GNU Licenses, please read this license with extra 12 care. 13 14 Aladdin Enterprises hereby grants to anyone the permission to apply 15 this License to their own work, as long as the entire License 16 (including the above notices and this paragraph) is copied with no 17 changes, additions, or deletions except for changing the first 18 paragraph of Section 0 to include a suitable description of the work 19 to which the license is being applied and of the person or entity that 20 holds the copyright in the work, and, if the License is being applied 21 to a work created in a country other than the United States, replacing 22 the first paragraph of Section 6 with an appropriate reference to the 23 laws of the appropriate country. 24 25 This License is not an Open Source license: among other things, it 26 places restrictions on distribution of the Program, specifically 27 including sale of the Program. While Aladdin Enterprises respects and 28 supports the philosophy of the Open Source Definition, and shares the 29 desire of the GNU project to keep licensed software freely 30 redistributable in both source and object form, we feel that Open 31 Source licenses unfairly prevent developers of useful software from 32 being compensated proportionately when others profit financially from 33 their work. This License attempts to ensure that those who receive, 34 redistribute, and contribute to the licensed Program according to the 35 Open Source and Free Software philosophies have the right to do so, 36 while retaining for the developer(s) of the Program the power to make 37 those who use the Program to enhance the value of commercial products 38 pay for the privilege of doing so. 39 400. Subject Matter 41 42 This License applies to the computer program known as "AFPL 43 Ghostscript." The "Program", below, refers to such program. The 44 Program is a copyrighted work whose copyright is held by artofcode 45 LLC, located in Benicia, California (the "Licensor"). Please note that 46 AFPL Ghostscript is neither the program known as "GPL Ghostscript" nor 47 the version of Ghostscript available for commercial licensing from 48 Artifex Software Inc. 49 50 A "work based on the Program" means either the Program or any 51 derivative work of the Program, as defined in the United States 52 Copyright Act of 1976, such as a translation or a modification. 53 54 BY MODIFYING OR DISTRIBUTING THE PROGRAM (OR ANY WORK BASED ON THE 55 PROGRAM), YOU INDICATE YOUR ACCEPTANCE OF THIS LICENSE TO DO SO, AND 56 ALL ITS TERMS AND CONDITIONS FOR COPYING, DISTRIBUTING OR MODIFYING 57 THE PROGRAM OR WORKS BASED ON IT. NOTHING OTHER THAN THIS LICENSE 58 GRANTS YOU PERMISSION TO MODIFY OR DISTRIBUTE THE PROGRAM OR ITS 59 DERIVATIVE WORKS. THESE ACTIONS ARE PROHIBITED BY LAW. IF YOU DO NOT 60 ACCEPT THESE TERMS AND CONDITIONS, DO NOT MODIFY OR DISTRIBUTE THE 61 PROGRAM. 62 631. Licenses. 64 65 Licensor hereby grants you the following rights, provided that you 66 comply with all of the restrictions set forth in this License and 67 provided, further, that you distribute an unmodified copy of this 68 License with the Program: 69 (a) 70 You may copy and distribute literal (i.e., verbatim) copies of 71 the Program's source code as you receive it throughout the 72 world, in any medium. 73 (b) 74 You may modify the Program, create works based on the Program 75 and distribute copies of such throughout the world, in any 76 medium. 77 782. Restrictions. 79 80 This license is subject to the following restrictions: 81 (a) 82 Distribution of the Program or any work based on the Program by 83 a commercial organization to any third party is prohibited if 84 any payment is made in connection with such distribution, 85 whether directly (as in payment for a copy of the Program) or 86 indirectly (as in payment for some service related to the 87 Program, or payment for some product or service that includes a 88 copy of the Program "without charge"; these are only examples, 89 and not an exhaustive enumeration of prohibited activities). 90 The following methods of distribution involving payment shall 91 not in and of themselves be a violation of this restriction: 92 (i) 93 Posting the Program on a public access information storage 94 and retrieval service for which a fee is received for 95 retrieving information (such as an on-line service), 96 provided that the fee is not content-dependent (i.e., the 97 fee would be the same for retrieving the same volume of 98 information consisting of random data) and that access to 99 the service and to the Program is available independent of 100 any other product or service. An example of a service that 101 does not fall under this section is an on-line service 102 that is operated by a company and that is only available 103 to customers of that company. (This is not an exhaustive 104 enumeration.) 105 (ii) 106 Distributing the Program on removable computer-readable 107 media, provided that the files containing the Program are 108 reproduced entirely and verbatim on such media, that all 109 information on such media be redistributable for 110 non-commercial purposes without charge, and that such 111 media are distributed by themselves (except for 112 accompanying documentation) independent of any other 113 product or service. Examples of such media include CD-ROM, 114 magnetic tape, and optical storage media. (This is not 115 intended to be an exhaustive list.) An example of a 116 distribution that does not fall under this section is a 117 CD-ROM included in a book or magazine. (This is not an 118 exhaustive enumeration.) 119 (b) 120 Activities other than copying, distribution and modification of 121 the Program are not subject to this License and they are 122 outside its scope. Functional use (running) of the Program is 123 not restricted, and any output produced through the use of the 124 Program is subject to this license only if its contents 125 constitute a work based on the Program (independent of having 126 been made by running the Program). 127 (c) 128 You must meet all of the following conditions with respect to 129 any work that you distribute or publish that in whole or in 130 part contains or is derived from the Program or any part 131 thereof ("the Work"): 132 (i) 133 If you have modified the Program, you must cause the Work 134 to carry prominent notices stating that you have modified 135 the Program's files and the date of any change. In each 136 source file that you have modified, you must include a 137 prominent notice that you have modified the file, 138 including your name, your e-mail address (if any), and the 139 date and purpose of the change; 140 (ii) 141 You must cause the Work to be licensed as a whole and at 142 no charge to all third parties under the terms of this 143 License; 144 (iii) 145 If the Work normally reads commands interactively when 146 run, you must cause it, at each time the Work commences 147 operation, to print or display an announcement including 148 an appropriate copyright notice and a notice that there is 149 no warranty (or else, saying that you provide a warranty). 150 Such notice must also state that users may redistribute 151 the Work only under the conditions of this License and 152 tell the user how to view the copy of this License 153 included with the Work. (Exceptions: if the Program is 154 interactive but normally prints or displays such an 155 announcement only at the request of a user, such as in an 156 "About box", the Work is required to print or display the 157 notice only under the same circumstances; if the Program 158 itself is interactive but does not normally print such an 159 announcement, the Work is not required to print an 160 announcement.); 161 (iv) 162 You must accompany the Work with the complete 163 corresponding machine-readable source code, delivered on a 164 medium customarily used for software interchange. The 165 source code for a work means the preferred form of the 166 work for making modifications to it. For an executable 167 work, complete source code means all the source code for 168 all modules it contains, plus any associated interface 169 definition files, plus the scripts used to control 170 compilation and installation of the executable code. If 171 you distribute with the Work any component that is 172 normally distributed (in either source or binary form) 173 with the major components (compiler, kernel, and so on) of 174 the operating system on which the executable runs, you 175 must also distribute the source code of that component if 176 you have it and are allowed to do so; 177 (v) 178 If you distribute any written or printed material at all 179 with the Work, such material must include either a written 180 copy of this License, or a prominent written indication 181 that the Work is covered by this License and written 182 instructions for printing and/or displaying the copy of 183 the License on the distribution medium; 184 (vi) 185 You may not impose any further restrictions on the 186 recipient's exercise of the rights granted herein. 187 188 If distribution of executable or object code is made by offering the 189 equivalent ability to copy from a designated place, then offering 190 equivalent ability to copy the source code from the same place counts 191 as distribution of the source code, even though third parties are not 192 compelled to copy the source code along with the object code. 193 194 3. Reservation of Rights. 195 196 No rights are granted to the Program except as expressly set forth 197 herein. You may not copy, modify, sublicense, or distribute the 198 Program except as expressly provided under this License. Any attempt 199 otherwise to copy, modify, sublicense or distribute the Program is 200 void, and will automatically terminate your rights under this License. 201 However, parties who have received copies, or rights, from you under 202 this License will not have their licenses terminated so long as such 203 parties remain in full compliance. 204 205 4. Other Restrictions. 206 207 If the distribution and/or use of the Program is restricted in certain 208 countries for any reason, Licensor may add an explicit geographical 209 distribution limitation excluding those countries, so that 210 distribution is permitted only in or among countries not thus 211 excluded. In such case, this License incorporates the limitation as if 212 written in the body of this License. 213 214 5. Limitations. 215 216 THE PROGRAM IS PROVIDED TO YOU "AS IS," WITHOUT WARRANTY. THERE IS NO 217 WARRANTY FOR THE PROGRAM, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT 218 NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 219 FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. 220 THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS 221 WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 222 ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 223 224 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 225 WILL LICENSOR, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE 226 THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 227 INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES 228 ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT 229 NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR 230 LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM 231 TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER 232 PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 233 234 6. General. 235 236 This License is governed by the laws of the State of California, 237 U.S.A., excluding choice of law rules. 238 239 If any part of this License is found to be in conflict with the law, 240 that part shall be interpreted in its broadest meaning consistent with 241 the law, and no other parts of the License shall be affected. 242 243 For United States Government users, the Program is provided with 244 RESTRICTED RIGHTS. If you are a unit or agency of the United States 245 Government or are acquiring the Program for any such unit or agency, 246 the following apply: 247 248 If the unit or agency is the Department of Defense ("DOD"), the 249 Program and its documentation are classified as "commercial 250 computer software" and "commercial computer software documentation" 251 respectively and, pursuant to DFAR Section 227.7202, the Government 252 is acquiring the Program and its documentation in accordance with 253 the terms of this License. If the unit or agency is other than DOD, 254 the Program and its documentation are classified as "commercial 255 computer software" and "commercial computer software documentation" 256 respectively and, pursuant to FAR Section 12.212, the Government is 257 acquiring the Program and its documentation in accordance with the 258 terms of this License. 259