1#ifndef _XKBPRINT_H_
2#define _XKBPRINT_H_ 1
3
4/************************************************************
5 Copyright (c) 1995 by Silicon Graphics Computer Systems, Inc.
6
7 Permission to use, copy, modify, and distribute this
8 software and its documentation for any purpose and without
9 fee is hereby granted, provided that the above copyright
10 notice appear in all copies and that both that copyright
11 notice and this permission notice appear in supporting
12 documentation, and that the name of Silicon Graphics not be
13 used in advertising or publicity pertaining to distribution
14 of the software without specific prior written permission.
15 Silicon Graphics makes no representation about the suitability
16 of this software for any purpose. It is provided "as is"
17 without any express or implied warranty.
18
19 SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
20 SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
21 AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
22 GRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
23 DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
24 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
25 OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION  WITH
26 THE USE OR PERFORMANCE OF THIS SOFTWARE.
27
28 ********************************************************/
29
30#define LABEL_AUTO      -1
31#define LABEL_NONE      0
32#define LABEL_KEYNAME   1
33#define LABEL_KEYCODE   2
34#define LABEL_SYMBOLS   3
35
36#define NO_SYMBOLS      0
37#define COMMON_SYMBOLS  1
38#define ALL_SYMBOLS     2
39
40typedef struct _XKBPrintArgs {
41    int         copies;
42    int         grid;
43    int         label;
44    int         baseLabelGroup;
45    int         nLabelGroups;
46    int         nTotalGroups;
47    int         nKBPerPage;
48    int         labelLevel;
49    int         wantSymbols;
50    Bool        wantKeycodes;
51    Bool        wantDiffs;
52    Bool        scaleToFit;
53    Bool        wantColor;
54    Bool        level1;
55    Bool        wantEPS;
56} XKBPrintArgs;
57
58extern Bool
59DumpInternalFont(
60    FILE *       /* out */ ,
61    const char * /* fontName */
62);
63
64extern Bool
65GeometryToPostScript(
66    FILE *              /* out */ ,
67    XkbFileInfo *       /* result */ ,
68    XKBPrintArgs *      /* args */
69);
70
71#endif                          /* _XKBPRINT_H_ */
72