aa201165c6d81ce0fba408be205abee67051de15
[oweals/cde.git] / cde / programs / dtudcfonted / include / uxpfontstruct.h
1 /*
2  * CDE - Common Desktop Environment
3  *
4  * Copyright (c) 1993-2012, The Open Group. All rights reserved.
5  *
6  * These libraries and programs are free software; you can
7  * redistribute them and/or modify them under the terms of the GNU
8  * Lesser General Public License as published by the Free Software
9  * Foundation; either version 2 of the License, or (at your option)
10  * any later version.
11  *
12  * These libraries and programs are distributed in the hope that
13  * they will be useful, but WITHOUT ANY WARRANTY; without even the
14  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15  * PURPOSE. See the GNU Lesser General Public License for more
16  * details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with these librararies and programs; if not, write
20  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21  * Floor, Boston, MA 02110-1301 USA
22  */
23 /* $XConsortium: uxpfontstruct.h /main/1 1995/09/14 20:52:27 cde-fuj2 $ */
24 /*
25  *  All Rights Reserved, Copyright (c) FUJITSU LIMITED 1995
26  *
27  *  This is unpublished proprietary source code of FUJITSU LIMITED
28  *
29  *  Authors: Seiya Miyazaki     FUJITSU LIMITED
30  *           Hiroyuki Chiba     FUJITSU LIMITED
31  *
32  */
33
34 #ifndef FEFONTSTRUCT_H
35 #define FEFONTSTRUCT_H 1
36
37 /* 
38  * for use in version
39  */
40
41 #define FE_PREFIXS      "FEF/"
42 #define FE_PREFIXL      4
43
44
45 /*
46  * for use in permission.
47  */
48
49 #define FE_DISPLAY_FONT 0x01
50 #define FE_PRINTER_FONT 0x02
51
52 /*
53  * uxp Extended Font Structure
54  */
55
56 typedef struct _FeFontInfo {
57     char                version[32];    /* version */
58     char                copyright[64];  /* Copyright */
59     unsigned int        permission;     /* purpose for use */ 
60     char                reserve[24];
61     int                 privatesize;    /* size of private area */
62 } FeFontInfoRec;
63
64 typedef struct _FeFontInfo *FeFontInfoPtr;
65
66 #endif /* FEFONTSTRUCT_H */