1 /* $XConsortium: fontfcn.h,v 1.3 92/03/26 16:42:23 eswu Exp $ */
2 /* Copyright International Business Machines,Corp. 1991
5 * License to use, copy, modify, and distribute this software
6 * and its documentation for any purpose and without fee is
7 * hereby granted, provided that the above copyright notice
8 * appear in all copies and that both that copyright notice and
9 * this permission notice appear in supporting documentation,
10 * and that the name of IBM not be used in advertising or
11 * publicity pertaining to distribution of the software without
12 * specific, written prior permission.
14 * IBM PROVIDES THIS SOFTWARE "AS IS", WITHOUT ANY WARRANTIES
15 * OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT
16 * LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT OF
18 * THIRD PARTY RIGHTS. THE ENTIRE RISK AS TO THE QUALITY AND
19 * PERFORMANCE OF THE SOFTWARE, INCLUDING ANY DUTY TO SUPPORT
20 * OR MAINTAIN, BELONGS TO THE LICENSEE. SHOULD ANY PORTION OF
21 * THE SOFTWARE PROVE DEFECTIVE, THE LICENSEE (NOT IBM) ASSUMES
22 * THE ENTIRE COST OF ALL SERVICING, REPAIR AND CORRECTION. IN
23 * NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR
24 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
25 * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF
26 * CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
27 * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
30 /* Definition of a PostScript FONT */
31 typedef struct ps_font {
38 struct blues_struct *BluesP;
40 /***================================================================***/
41 /* Routines in scan_font */
42 /***================================================================***/
44 extern boolean Init_StdEnc();
45 extern int scan_font();
46 extern int GetFontInfo();
47 /***================================================================***/
48 /* Return codes from scan_font */
49 /***================================================================***/
51 #define SCAN_FILE_EOF -1
53 #define SCAN_OUT_OF_MEMORY -3
54 #define SCAN_FILE_OPEN_ERROR -4
59 /***================================================================***/
60 /* Name of FontInfo fields */
61 /***================================================================***/
75 #define ITALICANGLE 13
76 #define ISFIXEDPITCH 14
77 #define UNDERLINEPOSITION 15
78 #define UNDERLINETHICKNESS 16
80 /***================================================================***/
81 /* Name of Private values */
82 /***================================================================***/
86 #define FAMILYOTHERBLUES 4
95 #define LANGUAGEGROUP 13
98 #define EXPANSIONFACTOR 16