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