| 1 |
/* Copyright (c) 1987, 1989, 2012 University of Maryland Department of |
| 2 |
Computer Science. |
| 3 |
|
| 4 |
Permission is hereby granted, free of charge, to any person obtaining |
| 5 |
a copy of this software and associated documentation files (the |
| 6 |
"Software"), to deal in the Software without restriction, including |
| 7 |
without limitation, the rights to use, copy, modify, merge, publish, |
| 8 |
distribute, sublicense, and/or sell copies of the Software, and to |
| 9 |
permit persons to whom the Software is furnished to do so, subject to |
| 10 |
the following conditions: The above copyright notice, this permission |
| 11 |
notice and the disclaimer statement shall be included in all copies |
| 12 |
or substantial portions of the Software. |
| 13 |
|
| 14 |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
| 15 |
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 16 |
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
| 17 |
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY |
| 18 |
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
| 19 |
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
| 20 |
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 21 |
*/ |
| 22 |
|
| 23 |
#include "font.h" /* for struct font */ |
| 24 |
|
| 25 |
extern const char *DVIFileName; |
| 26 |
|
| 27 |
/* |
| 28 |
* Declarations for the various gripes. |
| 29 |
*/ |
| 30 |
|
| 31 |
void GripeOutOfMemory(int n, const char *why); |
| 32 |
void GripeCannotGetFont(const char *name, i32 mag, i32 dsz, const char *dev, const char *fullname); |
| 33 |
void GripeDifferentChecksums(const char *font, i32 tfmsum, i32 fontsum); |
| 34 |
void GripeMissingFontsPreventOutput(int n); |
| 35 |
void GripeNoSuchFont(i32 n); |
| 36 |
void GripeFontAlreadyDefined(i32 n); |
| 37 |
void GripeUnexpectedDVIEOF(void); |
| 38 |
void GripeUnexpectedOp(const char *s); |
| 39 |
void GripeMissingOp(const char *s); |
| 40 |
void GripeCannotFindPostamble(void); |
| 41 |
void GripeMismatchedValue(const char *s); |
| 42 |
void GripeUndefinedOp(int n); |
| 43 |
void GripeBadGlyph(i32 c, struct font *f); |