| 1 | /* |
| 2 | * licence.c: licence text |
| 3 | */ |
| 4 | |
| 5 | #include <stdio.h> |
| 6 | |
| 7 | static const char *const licencetext[] = { |
| 8 | "Halibut is copyright (c) 1999-2007 Simon Tatham.", |
| 9 | "", |
| 10 | "Permission is hereby granted, free of charge, to any person", |
| 11 | "obtaining a copy of this software and associated documentation files", |
| 12 | "(the \"Software\"), to deal in the Software without restriction,", |
| 13 | "including without limitation the rights to use, copy, modify, merge,", |
| 14 | "publish, distribute, sublicense, and/or sell copies of the Software,", |
| 15 | "and to permit persons to whom the Software is furnished to do so,", |
| 16 | "subject to the following conditions:", |
| 17 | "", |
| 18 | "The above copyright notice and this permission notice shall be", |
| 19 | "included in all copies or substantial portions of the Software.", |
| 20 | "", |
| 21 | "THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,", |
| 22 | "EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF", |
| 23 | "MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND", |
| 24 | "NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS", |
| 25 | "BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN", |
| 26 | "ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN", |
| 27 | "CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE", |
| 28 | "SOFTWARE.", |
| 29 | "", |
| 30 | "Halibut contains font metrics derived from the \"Font Metrics for PDF", |
| 31 | "Core 14 Fonts\", which carry the following copyright notice and licence:", |
| 32 | "", |
| 33 | " Copyright (c) 1985, 1987, 1989, 1990, 1991, 1992, 1993, 1997", |
| 34 | " Adobe Systems Incorporated. All Rights Reserved.", |
| 35 | "", |
| 36 | " This file and the 14 PostScript(R) AFM files it accompanies may be", |
| 37 | " used, copied, and distributed for any purpose and without charge,", |
| 38 | " with or without modification, provided that all copyright notices", |
| 39 | " are retained; that the AFM files are not distributed without this", |
| 40 | " file; that all modifications to this file or any of the AFM files", |
| 41 | " are prominently noted in the modified file(s); and that this", |
| 42 | " paragraph is not modified. Adobe Systems has no responsibility or", |
| 43 | " obligation to support the use of the AFM files.", |
| 44 | NULL |
| 45 | }; |
| 46 | |
| 47 | void licence(void) { |
| 48 | const char *const *p; |
| 49 | for (p = licencetext; *p; p++) |
| 50 | puts(*p); |
| 51 | } |