10e20ee16Smrg#ifndef _XKBPRINT_H_
22f167a42Smrg#define _XKBPRINT_H_ 1
30e20ee16Smrg
40e20ee16Smrg/************************************************************
50e20ee16Smrg Copyright (c) 1995 by Silicon Graphics Computer Systems, Inc.
60e20ee16Smrg
70e20ee16Smrg Permission to use, copy, modify, and distribute this
80e20ee16Smrg software and its documentation for any purpose and without
90e20ee16Smrg fee is hereby granted, provided that the above copyright
100e20ee16Smrg notice appear in all copies and that both that copyright
110e20ee16Smrg notice and this permission notice appear in supporting
122f167a42Smrg documentation, and that the name of Silicon Graphics not be
132f167a42Smrg used in advertising or publicity pertaining to distribution
140e20ee16Smrg of the software without specific prior written permission.
152f167a42Smrg Silicon Graphics makes no representation about the suitability
160e20ee16Smrg of this software for any purpose. It is provided "as is"
170e20ee16Smrg without any express or implied warranty.
182f167a42Smrg
192f167a42Smrg SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
202f167a42Smrg SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
210e20ee16Smrg AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
222f167a42Smrg GRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
232f167a42Smrg DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
242f167a42Smrg DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
250e20ee16Smrg OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION  WITH
260e20ee16Smrg THE USE OR PERFORMANCE OF THIS SOFTWARE.
270e20ee16Smrg
280e20ee16Smrg ********************************************************/
290e20ee16Smrg
302f167a42Smrg#define LABEL_AUTO      -1
312f167a42Smrg#define LABEL_NONE      0
322f167a42Smrg#define LABEL_KEYNAME   1
332f167a42Smrg#define LABEL_KEYCODE   2
342f167a42Smrg#define LABEL_SYMBOLS   3
350e20ee16Smrg
362f167a42Smrg#define NO_SYMBOLS      0
372f167a42Smrg#define COMMON_SYMBOLS  1
382f167a42Smrg#define ALL_SYMBOLS     2
390e20ee16Smrg
400e20ee16Smrgtypedef struct _XKBPrintArgs {
412f167a42Smrg    int         copies;
422f167a42Smrg    int         grid;
432f167a42Smrg    int         label;
442f167a42Smrg    int         baseLabelGroup;
452f167a42Smrg    int         nLabelGroups;
462f167a42Smrg    int         nTotalGroups;
472f167a42Smrg    int         nKBPerPage;
482f167a42Smrg    int         labelLevel;
492f167a42Smrg    int         wantSymbols;
502f167a42Smrg    Bool        wantKeycodes;
512f167a42Smrg    Bool        wantDiffs;
522f167a42Smrg    Bool        scaleToFit;
532f167a42Smrg    Bool        wantColor;
542f167a42Smrg    Bool        level1;
552f167a42Smrg    Bool        wantEPS;
560e20ee16Smrg} XKBPrintArgs;
570e20ee16Smrg
580e20ee16Smrgextern Bool
590e20ee16SmrgDumpInternalFont(
602f167a42Smrg    FILE *       /* out */ ,
612f167a42Smrg    const char * /* fontName */
620e20ee16Smrg);
630e20ee16Smrg
640e20ee16Smrgextern Bool
650e20ee16SmrgGeometryToPostScript(
662f167a42Smrg    FILE *              /* out */ ,
672f167a42Smrg    XkbFileInfo *       /* result */ ,
682f167a42Smrg    XKBPrintArgs *      /* args */
690e20ee16Smrg);
700e20ee16Smrg
712f167a42Smrg#endif                          /* _XKBPRINT_H_ */
72